22 : _name(
name), _fill_name(mat_name), _region(region)
28 : _name(
name), _fill_name(univ->getName()), _region(region), _fill_universe(univ)
56 const auto fill_type_eq =
58 if (name_eq && region_eq && fill_type_eq)
74 return !(*
this == other);
std::string name(const ElemQuality q)
const CSGUniverse & getFillUniverse() const
Get the cell fill if fill type is UNIVERSE.
const std::string & getName() const
Get the cell name.
const std::string getFillType() const
Get the type of fill for the cell.
MooseEnum _fill_type
An enum for type of fill for cell region.
CSGRegions creates an internal representation of a CSG region, which can refer to an intersection...
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
CSGUniverse creates an internal representation of a Constructive Solid Geometry (CSG) universe...
const std::string & getFillName() const
Get the name of the fill, regardless of its type.
CSGCell(const std::string &name, const CSGRegion ®ion)
Constructor for void cell.
CSGCell creates an internal representation of a Constructive Solid Geometry (CSG) cell...
bool operator!=(const CSGCell &other) const
Operator overload for checking if two CSGCell objects are not equal.
std::string _fill_name
name of the fill object
const CSGRegion & getRegion() const
Get the cell region.
const CSGUniverse * _fill_universe
Fill object if fill is CSGUniverse.
const std::string & getFillMaterial() const
Get the cell fill material name if fill fype is CSG_MATERIAL.
bool operator==(const CSGCell &other) const
Operator overload for checking if two CSGCell objects are equal.