Class RCCLogicalVolume

Inheritance Relationships

Base Type

Class Documentation

class RCCLogicalVolume : public opensn::LogicalVolume

Right Circular Cylinder (RCC) logical volume.

Determining whether a point is within an RCC is tricky.

Public Functions

explicit RCCLogicalVolume(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<RCCLogicalVolume> Create(const ParameterBlock &params)

Protected Attributes

double r_
double x0_
double y0_
double z0_
double vx_
double vy_
double vz_