DataTransferKit - Multiphysics Solution Transfer Services
2.0
|
Nodal shape function implementation for STK mesh. More...
#include <DTK_STKMeshNodalShapeFunction.hpp>
Public Member Functions | |
STKMeshNodalShapeFunction (const Teuchos::RCP< stk::mesh::BulkData > &bulk_data) | |
Constructor. More... | |
void | entitySupportIds (const Entity &entity, Teuchos::Array< SupportId > &support_ids) const override |
Given an entity, get the ids of the support locations. More... | |
void | evaluateValue (const Entity &entity, const Teuchos::ArrayView< const double > &reference_point, Teuchos::Array< double > &values) const override |
Given an entity and a reference point, evaluate the shape function of the entity at that point. More... | |
void | evaluateGradient (const Entity &entity, const Teuchos::ArrayView< const double > &reference_point, Teuchos::Array< Teuchos::Array< double >> &gradients) const override |
Given an entity and a reference point, evaluate the gradient of the shape function of the entity at that point. More... | |
Public Member Functions inherited from DataTransferKit::EntityShapeFunction | |
EntityShapeFunction () | |
Constructor. More... | |
virtual | ~EntityShapeFunction () |
Destructor. More... | |
Nodal shape function implementation for STK mesh.
STKMeshNodalShapeFunction provides a shape function for node-centered quantities with shape functions evaluated in an element supported by nodes. The node ids serve as the support ids for these shape functions. A corresponding field vector indexed via node ids should be produced to match this shape function.
Definition at line 67 of file DTK_STKMeshNodalShapeFunction.hpp.
DataTransferKit::STKMeshNodalShapeFunction::STKMeshNodalShapeFunction | ( | const Teuchos::RCP< stk::mesh::BulkData > & | bulk_data | ) |
Constructor.
Definition at line 51 of file DTK_STKMeshNodalShapeFunction.cpp.
|
overridevirtual |
Given an entity, get the ids of the support locations.
entity | Get the degrees of freedom for this entity. |
support_ids | Return the ids of the support locations for the given entity in this array. |
Implements DataTransferKit::EntityShapeFunction.
Definition at line 60 of file DTK_STKMeshNodalShapeFunction.cpp.
|
overridevirtual |
Given an entity and a reference point, evaluate the shape function of the entity at that point.
entity | Evaluate the shape function of this entity. |
reference_point | Evaluate the shape function at this point given in reference coordinates. |
values | Entity shape function evaluated at the reference point. |
Implements DataTransferKit::EntityShapeFunction.
Definition at line 94 of file DTK_STKMeshNodalShapeFunction.cpp.
|
overridevirtual |
Given an entity and a reference point, evaluate the gradient of the shape function of the entity at that point.
entity | Evaluate the shape function of this entity. |
reference_point | Evaluate the shape function at this point given in reference coordinates. |
gradients | Entity shape function gradients evaluated at the reference point. Return these ordered with respect to those return by getSupportIds() such that gradients[N][D] gives the gradient value of the Nth support location in the Dth spatial dimension. |
Reimplemented from DataTransferKit::EntityShapeFunction.
Definition at line 111 of file DTK_STKMeshNodalShapeFunction.cpp.