Class RPPLogicalVolume

Inheritance Relationships

Base Type

Class Documentation

class RPPLogicalVolume : public opensn::LogicalVolume

Rectangular Parallel Piped (RPP) logical volume.

Public Functions

explicit RPPLogicalVolume(const InputParameters &params)
virtual bool Inside(const Vector3 &point) const override

Logical operation for surface mesh.

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

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()
static std::shared_ptr<RPPLogicalVolume> Create(const ParameterBlock &params)

Protected Attributes

double xmin_
double xmax_
double ymin_
double ymax_
double zmin_
double zmax_
bool infx_
bool infy_
bool infz_