41 #ifndef DTK_BASICGEOMETRYENTITYIMPL_HPP 42 #define DTK_BASICGEOMETRYENTITYIMPL_HPP 46 #include "DTK_BasicGeometryExtraData.hpp" 47 #include "DTK_EntityImpl.hpp" 49 #include <Teuchos_Array.hpp> 50 #include <Teuchos_ArrayView.hpp> 51 #include <Teuchos_Tuple.hpp> 88 virtual int ownerRank()
const override = 0;
110 boundingBox( Teuchos::Tuple<double, 6> &bounds )
const override = 0;
115 virtual bool inBlock(
const int block_id )
const override = 0;
120 virtual bool onBoundary(
const int boundary_id )
const override = 0;
125 virtual Teuchos::RCP<EntityExtraData>
extraData()
const override 133 virtual std::string
description()
const override = 0;
139 describe( Teuchos::FancyOStream &out,
140 const Teuchos::EVerbosityLevel verb_level )
const override = 0;
146 virtual double measure()
const = 0;
150 centroid(
const Teuchos::ArrayView<double> ¢roid )
const = 0;
154 virtual bool mapToReferenceFrame(
155 const Teuchos::ArrayView<const double> &point,
156 const Teuchos::ArrayView<double> &reference_point )
const = 0;
160 virtual bool checkPointInclusion(
161 const double tolerance,
162 const Teuchos::ArrayView<const double> &reference_point )
const = 0;
166 mapToPhysicalFrame(
const Teuchos::ArrayView<const double> &reference_point,
167 const Teuchos::ArrayView<double> &point )
const = 0;
175 #endif // end DTK_BASICGEOMETRYENTITYIMPL_HPP virtual double measure() const =0
BasicGeometryEntityImpl interface.
virtual bool inBlock(const int block_id) const override=0
Determine if an entity is in the block with the given id.
virtual Teuchos::RCP< EntityExtraData > extraData() const override
Get the extra data on the entity.
virtual EntityId id() const override=0
EntityImpl interface.
BasicGeometryEntityImpl interface.
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verb_level) const override=0
Provide a verbose description of the object.
virtual bool onBoundary(const int boundary_id) const override=0
Determine if an entity is on the boundary with the given id.
virtual std::string description() const override=0
Provide a one line description of the object.
unsigned long int EntityId
Entity id type.
virtual int ownerRank() const override=0
Get the parallel rank that owns the entity.
virtual int topologicalDimension() const override=0
Return the topological dimension of the entity.
virtual int physicalDimension() const override=0
Return the physical dimension of the entity.
virtual void boundingBox(Teuchos::Tuple< double, 6 > &bounds) const override=0
Return the Cartesian bounding box around an entity.
Geometric entity implementation definition.