41 #ifndef DTK_STKMESHENTITYLOCALMAP_HPP 42 #define DTK_STKMESHENTITYLOCALMAP_HPP 44 #include "DTK_EntityLocalMap.hpp" 47 #include <Teuchos_ArrayView.hpp> 48 #include <Teuchos_ParameterList.hpp> 49 #include <Teuchos_RCP.hpp> 51 #include <Shards_CellTopology.hpp> 53 #include <Intrepid_FieldContainer.hpp> 55 #include <stk_mesh/base/BulkData.hpp> 77 void setParameters(
const Teuchos::ParameterList ¶meters )
override;
93 const Teuchos::ArrayView<double> &
centroid )
const override;
107 const Teuchos::ArrayView<const double> &physical_point )
const override;
122 const Teuchos::ArrayView<const double> &physical_point,
123 const Teuchos::ArrayView<double> &reference_point )
const override;
135 const Teuchos::ArrayView<const double>
136 &reference_point )
const override;
149 const Teuchos::ArrayView<const double> &reference_point,
150 const Teuchos::ArrayView<double> &physical_point )
const override;
166 const Teuchos::ArrayView<const double> &reference_point,
167 const Teuchos::ArrayView<double> &normal )
const override;
171 Teuchos::RCP<stk::mesh::BulkData> d_bulk_data;
174 double d_inclusion_tol;
181 #endif // end DTK_STKMESHENTITYLOCALMAP_HPP Geometric entity interface definition.
Entity forward and reverse local map interface definition.
STK mesh forward and reverse local map implementation.
void mapToPhysicalFrame(const Entity &entity, const Teuchos::ArrayView< const double > &reference_point, const Teuchos::ArrayView< double > &physical_point) const override
(Forward Map) Map a reference point to the physical space of an entity.
bool checkPointInclusion(const Entity &entity, const Teuchos::ArrayView< const double > &reference_point) const override
Determine if a reference point is in the parameterized space of an entity.
bool isSafeToMapToReferenceFrame(const Entity &entity, const Teuchos::ArrayView< const double > &physical_point) const override
(Safeguard the reverse map) Perform a safeguard check for mapping a point to the reference space of a...
double measure(const Entity &entity) const override
Return the entity measure with respect to the parameteric dimension (volume for a 3D entity...
void centroid(const Entity &entity, const Teuchos::ArrayView< double > ¢roid) const override
Return the centroid of the entity.
void normalAtReferencePoint(const Entity &entity, const Entity &parent_entity, const Teuchos::ArrayView< const double > &reference_point, const Teuchos::ArrayView< double > &normal) const override
Compute the normal on a face (3D) or edge (2D) at a given reference point. A default implementation i...
Manager for Intrepid cell-level operations.
STKMeshEntityLocalMap(const Teuchos::RCP< stk::mesh::BulkData > &bulk_data)
Constructor.
bool mapToReferenceFrame(const Entity &entity, const Teuchos::ArrayView< const double > &physical_point, const Teuchos::ArrayView< double > &reference_point) const override
(Reverse Map) Map a point to the reference space of an entity. Return the parameterized point...