Flow123d
release_2.2.0-34-g18a8075
|
#include <generic_field.hh>
Public Types | |
typedef FieldValue< spacedim >::Integer | IntegerScalar |
Index value type. More... | |
typedef Field< spacedim, IntegerScalar > | IndexField |
Index valued field. More... | |
Static Public Member Functions | |
static auto | region_id (Mesh &mesh) -> IndexField |
static auto | subdomain (Mesh &mesh) -> IndexField |
Definition at line 36 of file generic_field.hh.
typedef Field<spacedim, IntegerScalar> GenericField< spacedim >::IndexField |
Index valued field.
Definition at line 42 of file generic_field.hh.
typedef FieldValue<spacedim>::Integer GenericField< spacedim >::IntegerScalar |
Index value type.
Definition at line 40 of file generic_field.hh.
|
static |
Returns an instance of a scalar integer field that provides ID's of regions.
Definition at line 28 of file generic_field.impl.hh.
|
static |
Returns an instance of a scalar integer field that provides ID's of subdomains used for domain decomposition.
TODO: FieldElementwise just use provided data pointer (unsafe solution), so currently we store the data into a mesh. Which is safe as long as we have one mesh for whol calculation. After we have FieldFE that use some sort of Vector class with own memory management, we should use these to pass the data in safe way.
Definition at line 47 of file generic_field.impl.hh.