DataTransferKit - Multiphysics Solution Transfer Services
2.0
|
Entity-centered shape function. More...
#include <DTK_EntityCenteredShapeFunction.hpp>
Public Member Functions | |
void | entitySupportIds (const Entity &entity, Teuchos::Array< SupportId > &support_ids) const override |
Given an entity, get the ids of the degrees of freedom in the vector space supporting its shape function. 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... | |
Entity-centered shape function.
EntityCenteredShapeFunction provides a shape function for entity-centered quantities. For example, a cell-averaged quantity can be defined with this shape function as well as quantities attached to nodes.
Definition at line 61 of file DTK_EntityCenteredShapeFunction.hpp.
|
overridevirtual |
Given an entity, get the ids of the degrees of freedom in the vector space supporting its shape function.
entity | Get the degrees of freedom for this entity. |
support_ids | Return the ids of the degrees of freedom in the parallel vector space supporting the entities. |
Implements DataTransferKit::EntityShapeFunction.
Definition at line 49 of file DTK_EntityCenteredShapeFunction.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 60 of file DTK_EntityCenteredShapeFunction.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 in the Dth spatial dimension. |
Reimplemented from DataTransferKit::EntityShapeFunction.
Definition at line 72 of file DTK_EntityCenteredShapeFunction.cpp.