41 #ifndef DTK_CYLINDERGEOMETRY_HPP 42 #define DTK_CYLINDERGEOMETRY_HPP 46 #include <Teuchos_ArrayView.hpp> 47 #include <Teuchos_Tuple.hpp> 70 const int block_id,
const double length,
71 const double radius,
const double centroid_x,
72 const double centroid_y,
const double centroid_z );
81 double measure()
const override;
89 const Teuchos::ArrayView<const double> &point,
90 const Teuchos::ArrayView<double> &reference_point )
const override;
95 const Teuchos::ArrayView<const double>
96 &reference_point )
const override;
100 const Teuchos::ArrayView<const double> &reference_point,
101 const Teuchos::ArrayView<double> &point )
const override;
114 #endif // end DTK_CYLINDERGEOMETRY_HPP BasicGeometryEntity declaration.
std::ostream & operator<<(std::ostream &os, const DataTransferKit::BoxGeometry &b)
Print the box description to an ostream.
Z-axis-aligned Cartesian cylinder container.
BasicGeometryEntity interface.
bool mapToReferenceFrame(const Teuchos::ArrayView< const double > &point, const Teuchos::ArrayView< double > &reference_point) const override
Map a point to the reference space of an entity. Return the.
unsigned long int EntityId
Entity id type.
void mapToPhysicalFrame(const Teuchos::ArrayView< const double > &reference_point, const Teuchos::ArrayView< double > &point) const override
Map a reference point to the physical space of an entity.
CylinderGeometry()
Default constructor.
bool checkPointInclusion(const double tolerance, const Teuchos::ArrayView< const double > &reference_point) const override
Determine if a reference point is in the parameterized space of an entity.
double length() const
Get the length of the cylinder.
double measure() const override
Compute the measure of the box.
void centroid(const Teuchos::ArrayView< double > ¢roid) const override
Get the centroid of the box.
double radius() const
Get the radius of the cylinder.