#include <cl_Mesh_Field.hpp>
Public Member Functions | |
| Field (Mesh &aParent, const string &aLabel, const index_t &aIndex, const id_t &aID, const EntityType aEntityType=EntityType::NODE, const FieldType aFieldType=FieldType::SCALAR) | |
| virtual | ~Field ()=default |
| const string & | label () const |
| const EntityType & | entity_type () |
| const FieldType & | field_type () |
| Vector< real > & | data () |
| const id_t & | id () const |
| real & | value (const index_t aIndex) |
| const index_t & | index () const |
| returns the index of the field on the mesh | |
| void | fill (const id_t aID, const real aValue) |
| reset a field based on a sideset or block id | |
| void | fill (const Vector< id_t > &aIDs, const real aValue) |
| reset a field based on a sideset or block ids | |
| bool | write_field_to_file () const |
| void | set_write_to_file_flag (const bool aFlag) |
| size_t | memory () const |
Protected Attributes | |
| Mesh & | mParent |
| string | mLabel |
| const index_t | mIndex |
| const id_t | mID |
| const EntityType | mEntityType |
| const FieldType | mFieldType |
| Vector< real > | mData |
| bool | mWriteToFile = true |
| belfem::mesh::Field::Field | ( | Mesh & | aParent, |
| const string & | aLabel, | ||
| const index_t & | aIndex, | ||
| const id_t & | aID, | ||
| const EntityType | aEntityType = EntityType::NODE, | ||
| const FieldType | aFieldType = FieldType::SCALAR ) |
|
virtualdefault |
| const EntityType & belfem::mesh::Field::entity_type | ( | ) |
| const FieldType & belfem::mesh::Field::field_type | ( | ) |
reset a field based on a sideset or block id
reset a field based on a sideset or block ids
| const id_t & belfem::mesh::Field::id | ( | ) | const |
|
inline |
returns the index of the field on the mesh
| const string & belfem::mesh::Field::label | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |