41 #ifndef DTK_ENTITYIMPL_HPP 42 #define DTK_ENTITYIMPL_HPP 44 #include "DTK_EntityExtraData.hpp" 45 #include "DTK_Types.hpp" 47 #include <Teuchos_ArrayView.hpp> 48 #include <Teuchos_ParameterList.hpp> 107 virtual void boundingBox( Teuchos::Tuple<double, 6> &bounds )
const = 0;
112 virtual bool inBlock(
const int block_id )
const = 0;
117 virtual bool onBoundary(
const int boundary_id )
const = 0;
124 return Teuchos::null;
132 return std::string(
"DataTransferKit::EntityImpl" );
139 const Teuchos::EVerbosityLevel )
const 141 out <<
"DataTransferKit::EntityImpl" << std::endl;
151 #endif // end DTK_ENTITYIMPL_HPP virtual void boundingBox(Teuchos::Tuple< double, 6 > &bounds) const =0
Return the Cartesian bounding box around an entity.
virtual bool onBoundary(const int boundary_id) const =0
Determine if an entity is on the boundary with the given id.
virtual bool inBlock(const int block_id) const =0
Determine if an entity is in the block with the given id.
virtual ~EntityImpl()
Destructor.
virtual EntityId id() const =0
Get the unique global identifier for the entity.
virtual Teuchos::RCP< EntityExtraData > extraData() const
Get the extra data on the entity.
virtual int physicalDimension() const =0
Return the physical dimension of the entity.
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel) const
Provide a verbose description of the object.
virtual int ownerRank() const =0
Get the parallel rank that owns the entity.
virtual std::string description() const
Provide a one line description of the object.
unsigned long int EntityId
Entity id type.
virtual int topologicalDimension() const =0
Return the topological dimension of the entity.
Geometric entity implementation definition.