41 #ifndef DTK_ENTITY_HPP 42 #define DTK_ENTITY_HPP 44 #include "DTK_EntityExtraData.hpp" 45 #include "DTK_EntityImpl.hpp" 46 #include "DTK_Types.hpp" 48 #include <Teuchos_ArrayView.hpp> 49 #include <Teuchos_Describable.hpp> 50 #include <Teuchos_RCP.hpp> 51 #include <Teuchos_Tuple.hpp> 61 class Entity :
public Teuchos::Describable
135 void boundingBox( Teuchos::Tuple<double, 6> &bounds )
const;
140 bool inBlock(
const int block_id )
const;
145 bool onBoundary(
const int boundary_id )
const;
151 Teuchos::RCP<EntityExtraData>
extraData()
const;
164 void describe( Teuchos::FancyOStream &out,
165 const Teuchos::EVerbosityLevel verb_level =
166 Teuchos::Describable::verbLevel_default )
const override;
171 Teuchos::RCP<EntityImpl> b_entity_impl;
180 #endif // end DTK_ENTITY_HPP Entity & operator=(const Entity &rhs)
Copy assignment operator.
Geometric entity interface definition.
virtual ~Entity()
Destructor.
void boundingBox(Teuchos::Tuple< double, 6 > &bounds) const
Return the Cartesian bounding box around an entity.
int ownerRank() const
Get the parallel rank that owns the entity.
bool inBlock(const int block_id) const
Determine if an entity is in the block with the given id.
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verb_level=Teuchos::Describable::verbLevel_default) const override
Provide a verbose description of the object.
Teuchos::RCP< EntityExtraData > extraData() const
Get the extra data on the entity. This is a convenient helper for implementing the other interfaces...
int physicalDimension() const
Return the physical dimension of the entity.
unsigned long int EntityId
Entity id type.
int topologicalDimension() const
Return the topological dimension of the entity.
std::string description() const override
Teuchos::Describable interface.
bool onBoundary(const int boundary_id) const
Determine if an entity is on the boundary with the given id.
EntityId id() const
Client interface.