41 #ifndef DTK_ENTITYLOCALMAP_HPP 42 #define DTK_ENTITYLOCALMAP_HPP 44 #include "DTK_Entity.hpp" 45 #include "DTK_Types.hpp" 47 #include <Teuchos_ArrayView.hpp> 48 #include <Teuchos_ParameterList.hpp> 49 #include <Teuchos_RCP.hpp> 81 virtual void setParameters(
const Teuchos::ParameterList ¶meters ) = 0;
102 const Teuchos::ArrayView<double> &
centroid )
const = 0;
137 const Teuchos::ArrayView<const double> &physical_point )
const;
157 const Teuchos::ArrayView<const double> &physical_point,
158 const Teuchos::ArrayView<double> &reference_point )
const = 0;
175 const Teuchos::ArrayView<const double> &reference_point )
const = 0;
191 const Teuchos::ArrayView<const double> &reference_point,
192 const Teuchos::ArrayView<double> &physical_point )
const = 0;
215 const Teuchos::ArrayView<const double> &reference_point,
216 const Teuchos::ArrayView<double> &normal )
const;
223 #endif // end DTK_ENTITYLOCALMAP_HPP Geometric entity interface definition.
Entity forward and reverse local map interface definition.
virtual bool isSafeToMapToReferenceFrame(const Entity &entity, const Teuchos::ArrayView< const double > &physical_point) const
(Safeguard the reverse map) Perform a safeguard check for mapping a point to the reference space of a...
virtual bool checkPointInclusion(const Entity &entity, const Teuchos::ArrayView< const double > &reference_point) const =0
Determine if a reference point is in the parameterized space of an entity.
EntityLocalMap()
Constructor.
virtual double measure(const Entity &entity) const =0
Return the entity measure in the physical frame with respect to the parameteric dimension (volume for...
virtual void normalAtReferencePoint(const Entity &entity, const Entity &parent_entity, const Teuchos::ArrayView< const double > &reference_point, const Teuchos::ArrayView< double > &normal) const
Compute the normal on a face (3D) or edge (2D) at a given reference point. A default implementation i...
virtual void centroid(const Entity &entity, const Teuchos::ArrayView< double > ¢roid) const =0
Return the centroid of the entity in the physical frame.
virtual ~EntityLocalMap()
Destructor.
virtual bool mapToReferenceFrame(const Entity &entity, const Teuchos::ArrayView< const double > &physical_point, const Teuchos::ArrayView< double > &reference_point) const =0
(Reverse Map) Map a point to the reference space of an entity. Return the parameterized point...
virtual void mapToPhysicalFrame(const Entity &entity, const Teuchos::ArrayView< const double > &reference_point, const Teuchos::ArrayView< double > &physical_point) const =0
(Forward Map) Map a reference point to the physical space of an entity.