Class LogicalVolume

Inheritance Relationships

Derived Types

Class Documentation

class LogicalVolume

Class for defining base logical volumes.

Subclassed by opensn::BooleanLogicalVolume, opensn::RCCLogicalVolume, opensn::RPPLogicalVolume, opensn::SphereLogicalVolume, opensn::SurfaceMeshLogicalVolume

Public Functions

virtual ~LogicalVolume() = default
inline virtual bool Inside(const Vector3 &point) const

Logical operation for surface mesh.

inline virtual bool GetBoundingBox(Vector3 &lo, Vector3 &hi) const

Gets an axis-aligned box [lo, hi] that contains every point for which Inside() is true, so that callers can skip points outside it.

A bound may be infinite. Returns false, and leaves lo and hi unchanged, when the volume does not provide a box.

Public Static Functions

static InputParameters GetInputParameters()

Protected Functions

explicit LogicalVolume() = default
explicit LogicalVolume(const InputParameters &parameters)