const Elem & elem() const
Getter for the underlying element.
Ball computeBoundingBall() const
Compute a bounding ball for this boundary element.
bool intersect(const LineSegment &line_segment) const
Check if the given line segment intersects this boundary element.
Base class for SBM boundary elements.
unsigned int expectedEmbeddingMeshDim() const
Getter of expected embedding solving mesh dimension Because the boundary element is a face of the emb...
Real getProjectedBoundingBoxDiagonal(const Point &normal_dir) const
Compute the length of the element bounding-box diagonal projected onto a plane orthogonal to a given ...
const Point & normal() const
Getter for the normal vector.
virtual ~SBMBndElementBase()=default
Virtual destructor to ensure proper cleanup in derived classes.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Elem * _elem
< Pointer to the libMesh element representing this boundary face.
virtual Point distanceFrom(const Point &pt) const
Compute the distance vector from an arbitrary point to this boundary element.
SBMBndElementBase(const Elem *elem, const Point &normal)
Constructor takes a pointer to a boundary element and its precomputed unit normal.