12 #ifdef MOOSE_UNIT_TEST 13 #include "gtest/gtest.h" 162 std::map<std::string, std::reference_wrapper<const CSGSurface>> & identical_surface_refs);
193 #ifdef MOOSE_UNIT_TEST std::string name(const ElemQuality q)
const CSGLattice & getFillLattice() const
Get the cell fill if fill type is LATTICE.
void updateCellRegionSurfaces(std::map< std::string, std::reference_wrapper< const CSGSurface >> &identical_surface_refs)
Update surface references of cell region based on map of input surface references.
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)
void updateCellFill(const std::string &mat_name)
Set the cell fill to a material name.
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)
std::string _name
Name of surface.
CSGUniverse creates an internal representation of a Constructive Solid Geometry (CSG) universe...
void resetCellFill()
Reset the cell fill to void.
const std::string & getFillName() const
Get the name of the fill, regardless of its type.
CSGRegion _region
Cell region, represented as a CSGRegion object.
CSGLattice is the abstract class for defining lattices.
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.
const CSGLattice * _fill_lattice
Fill object if fill is CSGLattice.
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 for CSG_MATERIAL fills
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.
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.