Flow123d
JS_before_hm-978-gf0793cd
|
#include <generic_field.hh>
Public Types | |
typedef FieldValue< spacedim >::Scalar | DoubleScalar |
Index value type. More... | |
typedef Field< spacedim, DoubleScalar > | 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 37 of file generic_field.hh.
typedef FieldValue<spacedim>::Scalar GenericField< spacedim >::DoubleScalar |
Index value type.
Definition at line 41 of file generic_field.hh.
typedef Field<spacedim, DoubleScalar> GenericField< spacedim >::IndexField |
Index valued field.
Definition at line 43 of file generic_field.hh.
|
static |
Returns an instance of a scalar integer field that provides ID's of regions.
Definition at line 38 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: FieldFE 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 57 of file generic_field.impl.hh.