73 const int owner_rank,
const int block_id,
75 const double centroid_x,
76 const double centroid_y,
77 const double centroid_z )
80 global_id, owner_rank, block_id, length, radius, centroid_x, centroid_y,
111 this->b_entity_impl )
122 const Teuchos::ArrayView<double> &
centroid )
const 133 const Teuchos::ArrayView<const double> &point,
134 const Teuchos::ArrayView<double> &reference_point )
const 137 this->b_entity_impl )
147 const double tolerance,
148 const Teuchos::ArrayView<const double> &reference_point )
const 151 this->b_entity_impl )
160 const Teuchos::ArrayView<const double> &reference_point,
161 const Teuchos::ArrayView<double> &point )
const 176 Teuchos::Array<double>
centroid( 3 );
178 os <<
"CylinderGeometry: length=" << c.
length() <<
",radius=" << c.
radius()
179 <<
", centroid=(" << centroid[0] <<
"," << centroid[1] <<
"," 180 << centroid[2] <<
")";
CylinderGeometry implementation.
Z-axis-aligned Cartesian cylinder container implementation.
std::ostream & operator<<(std::ostream &os, const DataTransferKit::BoxGeometry &b)
Print the box description to an ostream.
Z-axis-aligned Cartesian cylinder container.
Assertions and Design-by-Contract for error handling.
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.