Flow123d
DF_patch_fe_mechanics-c13f069
src
fields
bc_field.hh
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file bc_field.hh
15
* @brief
16
*/
17
18
#ifndef BC_FIELD_HH_
19
#define BC_FIELD_HH_
20
21
22
#include "
field.hh
"
23
24
25
/**
26
* Same as Field<...> but for boundary regions.
27
*
28
* Definition of BCField must be in separate file.
29
* In other case source file field.cc is too big and compiler can throw compile error.
30
*
31
* TODO: get rid of BCField and BCMultiField as separate class
32
* - From version 4.0.0 we should distinguish betwean a field as a representation of
33
* a space-time function and the field evaluation domain dictated by a particular assembly.
34
* The definition domain of the generic field is not restricted to either bulk or boundary, in fact
35
* Most of the fields can be evaluated on both type of regions the only exception is the FieldFE
36
* so newly the boundary domain flag is only attribute of the FieldFE.
37
*/
38
template
<
int
spacedim,
class
Value>
39
class
BCField
:
public
Field
<spacedim, Value> {
40
public
:
41
BCField
() :
Field
<spacedim,
Value
>(
"anonymous_bc"
) {}
42
};
43
44
#endif
/* BC_FIELD_HH_ */
BCField
Definition:
bc_field.hh:39
BCField::BCField
BCField()
Definition:
bc_field.hh:41
Field
Class template representing a field with values dependent on: point, element, and region.
Definition:
field.hh:92
field.hh
Value
@ Value
Definition:
finite_element.hh:45
Generated by
1.9.1