DataTransferKit - Multiphysics Solution Transfer Services  2.0
Public Member Functions | List of all members
DataTransferKit::EntityCenteredShapeFunction Class Reference

Entity-centered shape function. More...

#include <DTK_EntityCenteredShapeFunction.hpp>

Inheritance diagram for DataTransferKit::EntityCenteredShapeFunction:
DataTransferKit::EntityShapeFunction

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...
 

Detailed Description

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.

Member Function Documentation

void DataTransferKit::EntityCenteredShapeFunction::entitySupportIds ( const Entity entity,
Teuchos::Array< SupportId > &  support_ids 
) const
overridevirtual

Given an entity, get the ids of the degrees of freedom in the vector space supporting its shape function.

Parameters
entityGet the degrees of freedom for this entity.
support_idsReturn 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.

void DataTransferKit::EntityCenteredShapeFunction::evaluateValue ( const Entity entity,
const Teuchos::ArrayView< const double > &  reference_point,
Teuchos::Array< double > &  values 
) const
overridevirtual

Given an entity and a reference point, evaluate the shape function of the entity at that point.

Parameters
entityEvaluate the shape function of this entity.
reference_pointEvaluate the shape function at this point given in reference coordinates.
valuesEntity shape function evaluated at the reference point.

Implements DataTransferKit::EntityShapeFunction.

Definition at line 60 of file DTK_EntityCenteredShapeFunction.cpp.

void DataTransferKit::EntityCenteredShapeFunction::evaluateGradient ( const Entity entity,
const Teuchos::ArrayView< const double > &  reference_point,
Teuchos::Array< Teuchos::Array< double >> &  gradients 
) const
overridevirtual

Given an entity and a reference point, evaluate the gradient of the shape function of the entity at that point.

Parameters
entityEvaluate the shape function of this entity.
reference_pointEvaluate the shape function at this point given in reference coordinates.
gradientsEntity 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.


The documentation for this class was generated from the following files: