PinUniverseEngUnit is a CSGUniverseEngUnit that represents a 2D pin universe (concentric cylinders surrounded by an outer region) using basic engineering-scale attrbutes, including ring radii and fill material names for each radial region of the pin structure. More...
#include <PinUniverseEngUnit.h>
Public Member Functions | |
| PinUniverseEngUnit (const std::string &name, const std::vector< Real > &ring_radii, const std::vector< std::string > &fill_mats) | |
| Constructor for PinUniverseEngUnit. | |
| std::unordered_map< std::string, AttributeVariant > | getAttributes () const override |
| Return the pin engineering unit attributes for this object. | |
| const std::string & | getName () const override |
| bool | isEngUnit () const override |
| bool | operator== (const CSGUniverseEngUnit &other) const |
| bool | operator== (const CSGUniverse &other) const |
| bool | operator== (const CSGEngUnit &other) const |
| bool | operator!= (const CSGUniverseEngUnit &other) const |
| bool | operator!= (const CSGUniverse &other) const |
| bool | operator!= (const CSGEngUnit &other) const |
| const std::vector< std::pair< TransformationType, std::tuple< Real, Real, Real > > > & | getTransformations () const override |
| std::vector< std::pair< std::string, std::tuple< Real, Real, Real > > > | getTransformationsAsStrings () const override |
| const CSGCell & | getCell (const std::string &name) |
| bool | hasCell (const std::string &name) const |
| const std::vector< std::reference_wrapper< const CSGCell > > & | getAllCells () const |
| bool | isRoot () const |
| const std::string | getBehavior () const |
| const std::string | getUnitType () const |
Static Public Member Functions | |
| static bool | isValidTransformationValue (TransformationType type, const std::tuple< Real, Real, Real > &values) |
| static std::string | getTransformationTypeString (TransformationType type) |
Protected Member Functions | |
| std::unique_ptr< CSGUniverseEngUnit > | clone () const override |
| Return a deep copy of this unit. | |
| void | expandUnit () override |
| Represent the pin cell as a single universe that contains cells that define each region of the pin cell structure. | |
| const CSGUniverse & | getExpandedUniverse () const |
| void | removeCell (const std::string &name) |
| void | removeAllCells () |
| void | setName (const std::string &name) |
| void | addTransformation (TransformationType type, const std::tuple< Real, Real, Real > &values) |
| Point | applyReverseTransformsToPoint (Point p) const |
| CSGBase & | getBase () |
| std::unique_ptr< CSGBase > | releaseBase () |
| void | addCell (const CSGCell &)=delete |
| void | addCell (const CSGCell &)=delete |
| FRIEND_TEST (CSGUniverseTest, testGetCell) | |
| FRIEND_TEST (CSGUniverseTest, testAddCell) | |
| FRIEND_TEST (CSGUniverseTest, testRemoveCell) | |
| FRIEND_TEST (CSGUniverseTest, testRemoveAllCells) | |
| FRIEND_TEST (CSGUniverseTest, testSetName) | |
| FRIEND_TEST (CSGUniverseTest, testUniverseEquality) | |
| FRIEND_TEST (CSGSurfaceTest, testHalfspaceWithTransform) | |
| FRIEND_TEST (CSGSurfaceTest, testHalfspaceWithNullTransform) | |
| FRIEND_TEST (CSGEngUnitTest, testEngUnitEqual) | |
| FRIEND_TEST (CSGUniverseTest, testGetCell) | |
| FRIEND_TEST (CSGUniverseTest, testAddCell) | |
| FRIEND_TEST (CSGUniverseTest, testRemoveCell) | |
| FRIEND_TEST (CSGUniverseTest, testRemoveAllCells) | |
| FRIEND_TEST (CSGUniverseTest, testSetName) | |
| FRIEND_TEST (CSGUniverseTest, testUniverseEquality) | |
| FRIEND_TEST (CSGSurfaceTest, testHalfspaceWithTransform) | |
| FRIEND_TEST (CSGSurfaceTest, testHalfspaceWithNullTransform) | |
| FRIEND_TEST (CSGEngUnitTest, testEngUnitEqual) | |
Protected Attributes | |
| std::string | _name |
| std::vector< std::reference_wrapper< const CSGCell > > | _cells |
| bool | _is_root |
| std::vector< std::pair< TransformationType, std::tuple< Real, Real, Real > > > | _transformations |
| std::unique_ptr< CSGBase > | _internal_base |
| MooseEnum | _behavior |
Private Attributes | |
| const std::vector< Real > | _ring_radii |
| List of ring radii of pin cell. | |
| std::vector< std::string > | _fill_mats |
| Region IDs of pin cell. | |
PinUniverseEngUnit is a CSGUniverseEngUnit that represents a 2D pin universe (concentric cylinders surrounded by an outer region) using basic engineering-scale attrbutes, including ring radii and fill material names for each radial region of the pin structure.
Implements:
Definition at line 29 of file PinUniverseEngUnit.h.
| CSG::PinUniverseEngUnit::PinUniverseEngUnit | ( | const std::string & | name, |
| const std::vector< Real > & | ring_radii, | ||
| const std::vector< std::string > & | fill_mats | ||
| ) |
Constructor for PinUniverseEngUnit.
| name | unique name of the unit |
| ring_radii | list of ring radii of cylindrical pin regions, which need to be in ascending order |
| fill_mats | Vector of material names that represent the fill of each radial region |
Definition at line 17 of file PinUniverseEngUnit.C.
|
overrideprotectedvirtual |
Return a deep copy of this unit.
Implements CSG::CSGUniverseEngUnit.
Definition at line 44 of file PinUniverseEngUnit.C.
|
overrideprotectedvirtual |
Represent the pin cell as a single universe that contains cells that define each region of the pin cell structure.
Implements CSG::CSGUniverseEngUnit.
Definition at line 50 of file PinUniverseEngUnit.C.
|
overridevirtual |
Return the pin engineering unit attributes for this object.
Implements CSG::CSGUniverseEngUnit.
Definition at line 38 of file PinUniverseEngUnit.C.
|
private |
Region IDs of pin cell.
Definition at line 74 of file PinUniverseEngUnit.h.
Referenced by clone(), expandUnit(), getAttributes(), and PinUniverseEngUnit().
|
private |
List of ring radii of pin cell.
Definition at line 71 of file PinUniverseEngUnit.h.
Referenced by clone(), expandUnit(), getAttributes(), and PinUniverseEngUnit().