12 #ifdef MOOSE_UNIT_TEST 13 #include "gtest/gtest.h" 144 #ifdef MOOSE_UNIT_TEST 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.
void updateRegion(const CSGRegion ®ion)
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...
CSGCellList creates a container for CSGCell objects to pass to CSGBase object.
void setName(const std::string &name)
const std::string & toString() const
gets the string representation of the region
std::string _name
Name of surface.
CSGUniverse creates an internal representation of a Constructive Solid Geometry (CSG) universe...
CSGRegion _region
Cell region, represented as a CSGRegion object.
const std::string & getFillName() const
Get the name of the fill, regardless of its type.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
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
virtual ~CSGCell()=default
Destructor.
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.
FRIEND_TEST(CSGCellTest, testSetName)
Friends for unit testing.
const std::string & getRegionAsString() const
Get the string representation of the cell region.
CSGBase creates an internal representation of a Constructive Solid Geometry (CSG) model...
bool operator==(const CSGCell &other) const
Operator overload for checking if two CSGCell objects are equal.