41 #ifndef DTK_STKMESHENTITYIMPL_HPP 42 #define DTK_STKMESHENTITYIMPL_HPP 44 #include "DTK_EntityImpl.hpp" 45 #include "DTK_STKMeshEntityExtraData.hpp" 46 #include "DTK_Types.hpp" 48 #include <Teuchos_ArrayView.hpp> 49 #include <Teuchos_ParameterList.hpp> 51 #include <stk_mesh/base/BulkData.hpp> 52 #include <stk_mesh/base/Entity.hpp> 69 const Teuchos::Ptr<stk::mesh::BulkData> &bulk_data );
103 void boundingBox( Teuchos::Tuple<double, 6> &bounds )
const override;
108 bool inBlock(
const int block_id )
const override;
113 bool onBoundary(
const int boundary_id )
const override;
118 Teuchos::RCP<EntityExtraData>
extraData()
const override;
125 return std::string(
"STK Mesh Entity" );
131 void describe( Teuchos::FancyOStream &out,
132 const Teuchos::EVerbosityLevel verb_level )
const override;
136 Teuchos::RCP<STKMeshEntityExtraData> d_extra_data;
139 Teuchos::Ptr<stk::mesh::BulkData> d_bulk_data;
148 #endif // end DTK_STKMESHENTITYIMPL_HPP void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verb_level) const override
Provide a verbose description of the object.
Geometric entity implementation definition.
int ownerRank() const override
Get the parallel rank that owns the entity.
bool inBlock(const int block_id) const override
Determine if an entity is in the block with the given id.
bool onBoundary(const int boundary_id) const override
Determine if an entity is on the boundary with the given id.
STKMeshEntityImpl(const stk::mesh::Entity &stk_entity, const Teuchos::Ptr< stk::mesh::BulkData > &bulk_data)
Constructor.
EntityId id() const override
Get the unique global identifier for the entity.
int topologicalDimension() const override
Return the topological dimension of the entity.
unsigned long int EntityId
Entity id type.
std::string description() const override
Provide a one line description of the object.
Geometric entity implementation definition.
Teuchos::RCP< EntityExtraData > extraData() const override
Get the extra data on the entity.
int physicalDimension() const override
Return the physical dimension of the entity.
void boundingBox(Teuchos::Tuple< double, 6 > &bounds) const override
Return the Cartesian bounding box around an entity.