41 #ifndef DTK_SHAPEFUNCTION_HPP 42 #define DTK_SHAPEFUNCTION_HPP 44 #include "DTK_Entity.hpp" 46 #include <Teuchos_Array.hpp> 47 #include <Teuchos_RCP.hpp> 83 Teuchos::Array<SupportId> &support_ids )
const = 0;
101 const Teuchos::ArrayView<const double> &reference_point,
102 Teuchos::Array<double> &values )
const = 0;
121 const Teuchos::ArrayView<const double> &reference_point,
122 Teuchos::Array<Teuchos::Array<double>> &gradients )
const;
131 #endif // end DTK_SHAPEFUNCTION_HPP virtual void entitySupportIds(const Entity &entity, Teuchos::Array< SupportId > &support_ids) const =0
Given an entity, get the ids of its support locations.
Geometric entity interface definition.
virtual void evaluateValue(const Entity &entity, const Teuchos::ArrayView< const double > &reference_point, Teuchos::Array< double > &values) const =0
Given an entity and a reference point, evaluate shape functions of the entity at that point...
virtual void evaluateGradient(const Entity &entity, const Teuchos::ArrayView< const double > &reference_point, Teuchos::Array< Teuchos::Array< double >> &gradients) const
Given an entity and a reference point, evaluate the gradient of the shape function of the entity at t...
virtual ~EntityShapeFunction()
Destructor.
Shape function interface.
EntityShapeFunction()
Constructor.