DataTransferKit - Multiphysics Solution Transfer Services
2.0
|
Field data access for STK mesh. More...
#include <DTK_STKMeshField.hpp>
Public Member Functions | |
STKMeshField (const Teuchos::RCP< stk::mesh::BulkData > &bulk_data, const Teuchos::Ptr< FieldType > &field, const int field_dim) | |
Constructor. More... | |
int | dimension () const override |
Get the dimension of the field. More... | |
Teuchos::ArrayView< const SupportId > | getLocalSupportIds () const override |
Get the locally-owned entity support location ids of the field. More... | |
double | readFieldData (const SupportId support_id, const int dimension) const override |
Given a local support id and a dimension, read data from the application field. More... | |
void | writeFieldData (const SupportId support_id, const int dimension, const double data) override |
Given a local support id, dimension, and field value, write data into the application field. More... | |
void | finalizeAfterWrite () override |
Finalize a field after writing into it. More... | |
Public Member Functions inherited from DataTransferKit::Field | |
Field () | |
Constructor. More... | |
virtual | ~Field () |
Destructor. More... | |
Field data access for STK mesh.
Definition at line 68 of file DTK_STKMeshField.hpp.
DataTransferKit::STKMeshField< Scalar, FieldType >::STKMeshField | ( | const Teuchos::RCP< stk::mesh::BulkData > & | bulk_data, |
const Teuchos::Ptr< FieldType > & | field, | ||
const int | field_dim | ||
) |
Constructor.
Definition at line 61 of file DTK_STKMeshField_impl.hpp.
|
overridevirtual |
Get the dimension of the field.
Implements DataTransferKit::Field.
Definition at line 109 of file DTK_STKMeshField_impl.hpp.
|
overridevirtual |
Get the locally-owned entity support location ids of the field.
Implements DataTransferKit::Field.
Definition at line 118 of file DTK_STKMeshField_impl.hpp.
|
overridevirtual |
Given a local support id and a dimension, read data from the application field.
Implements DataTransferKit::Field.
Definition at line 128 of file DTK_STKMeshField_impl.hpp.
|
overridevirtual |
Given a local support id, dimension, and field value, write data into the application field.
Implements DataTransferKit::Field.
Definition at line 141 of file DTK_STKMeshField_impl.hpp.
|
overridevirtual |
Finalize a field after writing into it.
Reimplemented from DataTransferKit::Field.
Definition at line 153 of file DTK_STKMeshField_impl.hpp.