41 #include "DTK_EntityCenteredShapeFunction.hpp" 50 const Entity &entity, Teuchos::Array<SupportId> &support_ids )
const 54 support_ids.assign( 1, Teuchos::as<SupportId>( entity.
id() ) );
62 const Teuchos::ArrayView<const double> &reference_point,
63 Teuchos::Array<double> &values )
const 66 values.assign( 1, 1.0 );
74 const Teuchos::ArrayView<const double> &reference_point,
75 Teuchos::Array<Teuchos::Array<double>> &gradients )
const 81 gradients.assign( 1, Teuchos::Array<double>( 1, 0.0 ) );
Geometric entity interface definition.
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 t...
Assertions and Design-by-Contract for error handling.
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...
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 funct...
EntityId id() const
Client interface.