Divides the mesh based on a hexagonal grid. More...
#include <HexagonalGridDivision.h>
Public Types | |
| typedef DataFileName | DataFileParameterType |
Public Member Functions | |
| HexagonalGridDivision (const InputParameters ¶meters) | |
| virtual void | initialize () override |
| virtual unsigned int | divisionIndex (const Point &pt) const override |
| virtual unsigned int | divisionIndex (const Elem &elem) const override |
| unsigned int | getNumDivisions () const |
| bool | coversEntireMesh () const |
| virtual void | meshChanged () override |
| virtual bool | enabled () const |
| std::shared_ptr< MooseObject > | getSharedPtr () |
| std::shared_ptr< const MooseObject > | getSharedPtr () const |
| bool | isKokkosObject (IsKokkosObjectKey &&) const |
| MooseApp & | getMooseApp () const |
| const std::string & | type () const |
| const std::string & | name () const |
| std::string | typeAndName () const |
| MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
| MooseObjectName | uniqueName () const |
| const InputParameters & | parameters () const |
| const hit::Node * | getHitNode () const |
| bool | hasBase () const |
| const std::string & | getBase () const |
| const T & | getParam (const std::string &name) const |
| std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
| const T * | queryParam (const std::string &name) const |
| const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
| T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
| bool | isParamValid (const std::string &name) const |
| bool | isParamSetByUser (const std::string &name) const |
| void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
| void | paramError (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramInfo (const std::string ¶m, Args... args) const |
| std::string | messagePrefix (const bool hit_prefix=true) const |
| std::string | errorPrefix (const std::string &) const |
| void | mooseError (Args &&... args) const |
| void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
| void | mooseErrorNonPrefixed (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseInfo (Args &&... args) const |
| void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr) const |
| std::string | getDataFileName (const std::string ¶m) const |
| std::string | getDataFileNameByName (const std::string &relative_path) const |
| std::string | getDataFilePath (const std::string &relative_path) const |
| virtual void | initialSetup () |
| virtual void | timestepSetup () |
| virtual void | jacobianSetup () |
| virtual void | residualSetup () |
| virtual void | subdomainSetup () |
| virtual void | customSetup (const ExecFlagType &) |
| const ExecFlagEnum & | getExecuteOnEnum () const |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
Static Public Member Functions | |
| static InputParameters | validParams () |
| static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node) |
Public Attributes | |
| usingCombinedWarningSolutionWarnings | |
| const ConsoleStream | _console |
Static Public Attributes | |
| static const std::string | type_param |
| static const std::string | name_param |
| static const std::string | unique_name_param |
| static const std::string | app_param |
| static const std::string | moose_base_param |
| static const std::string | kokkos_object_param |
Protected Member Functions | |
| void | setNumDivisions (const unsigned int ndivs) |
| void | flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const |
| InvalidSolutionID | registerInvalidSolutionInternal (const std::string &message, const bool warning) const |
Protected Attributes | |
| const Point | _center |
| Center of the lattice (single lattice) More... | |
| const Positions * | _center_positions |
| Centers of the lattices (lattices centered around positions) More... | |
| const Real | _lattice_flat_to_flat |
| Distance from one side to the one facing it of the lattice. More... | |
| const Real | _pin_pitch |
| Pitch between fuel pins. More... | |
| const MooseEnum | _z_axis_index |
| Axial component for the Z axis. More... | |
| const Real | _min_z |
| Minimal axial coordinate. More... | |
| const Real | _max_z |
| Maximal axial coordinate. More... | |
| const unsigned int | _nr |
| Number of rings in the radial direction. More... | |
| const unsigned int | _nz |
| Number of divisions in the Z direction. More... | |
| const bool | _outside_grid_counts_as_border |
| Whether to map outside the grid onto the corner. More... | |
| std::unique_ptr< HexagonalLatticeUtils > | _hex_latt |
| Hexagonal lattice utility object. More... | |
| const FEProblemBase *const | _fe_problem |
| const MooseMesh & | _mesh |
| bool | _mesh_fully_indexed |
| const bool & | _enabled |
| MooseApp & | _app |
| Factory & | _factory |
| ActionFactory & | _action_factory |
| const std::string & | _type |
| const std::string & | _name |
| const InputParameters & | _pars |
| const ExecFlagEnum & | _execute_enum |
| const ExecFlagType & | _current_execute_flag |
| FEProblemBase & | _mci_feproblem |
| const Parallel::Communicator & | _communicator |
Divides the mesh based on a hexagonal grid.
Definition at line 20 of file HexagonalGridDivision.h.
| HexagonalGridDivision::HexagonalGridDivision | ( | const InputParameters & | parameters | ) |
Definition at line 53 of file HexagonalGridDivision.C.
|
overridevirtual |
Implements MeshDivision.
Definition at line 121 of file HexagonalGridDivision.C.
Referenced by divisionIndex().
|
overridevirtual |
Implements MeshDivision.
Definition at line 115 of file HexagonalGridDivision.C.
|
overridevirtual |
Reimplemented from MeshDivision.
Definition at line 80 of file HexagonalGridDivision.C.
Referenced by HexagonalGridDivision().
|
static |
Definition at line 20 of file HexagonalGridDivision.C.
|
protected |
Center of the lattice (single lattice)
Definition at line 33 of file HexagonalGridDivision.h.
Referenced by divisionIndex().
|
protected |
Centers of the lattices (lattices centered around positions)
Definition at line 35 of file HexagonalGridDivision.h.
Referenced by divisionIndex(), HexagonalGridDivision(), and initialize().
|
protected |
Hexagonal lattice utility object.
Definition at line 59 of file HexagonalGridDivision.h.
Referenced by divisionIndex(), and initialize().
|
protected |
Distance from one side to the one facing it of the lattice.
Definition at line 39 of file HexagonalGridDivision.h.
Referenced by HexagonalGridDivision(), and initialize().
|
protected |
Maximal axial coordinate.
Definition at line 49 of file HexagonalGridDivision.h.
Referenced by divisionIndex(), and HexagonalGridDivision().
|
protected |
Minimal axial coordinate.
Definition at line 47 of file HexagonalGridDivision.h.
Referenced by divisionIndex(), and HexagonalGridDivision().
|
protected |
Number of rings in the radial direction.
Definition at line 52 of file HexagonalGridDivision.h.
Referenced by divisionIndex(), and initialize().
|
protected |
Number of divisions in the Z direction.
Definition at line 54 of file HexagonalGridDivision.h.
Referenced by divisionIndex(), HexagonalGridDivision(), and initialize().
|
protected |
Whether to map outside the grid onto the corner.
Definition at line 56 of file HexagonalGridDivision.h.
Referenced by divisionIndex().
|
protected |
Pitch between fuel pins.
Definition at line 41 of file HexagonalGridDivision.h.
Referenced by HexagonalGridDivision(), and initialize().
|
protected |
Axial component for the Z axis.
Definition at line 44 of file HexagonalGridDivision.h.
Referenced by divisionIndex(), and initialize().
1.8.14