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 |
MooseApp & | getMooseApp () const |
const std::string & | type () const |
virtual const std::string & | name () const |
std::string | typeAndName () const |
std::string | errorPrefix (const std::string &error_type) const |
void | callMooseError (std::string msg, const bool with_prefix) const |
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
const InputParameters & | parameters () const |
MooseObjectName | uniqueName () 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 &nm) const |
void | paramError (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 |
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
void | mooseError (Args &&... args) const |
void | mooseErrorNonPrefixed (Args &&... args) const |
void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
void | mooseWarning (Args &&... args) const |
void | mooseWarningNonPrefixed (Args &&... args) const |
void | mooseDeprecated (Args &&... args) const |
void | mooseInfo (Args &&... args) 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 () |
Public Attributes | |
const ConsoleStream | _console |
Protected Member Functions | |
void | setNumDivisions (const unsigned int ndivs) |
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 |
const std::string | _type |
const std::string | _name |
const InputParameters & | _pars |
Factory & | _factory |
ActionFactory & | _action_factory |
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 50 of file HexagonalGridDivision.C.
|
overridevirtual |
Implements MeshDivision.
Definition at line 112 of file HexagonalGridDivision.C.
Referenced by divisionIndex().
|
overridevirtual |
Implements MeshDivision.
Definition at line 106 of file HexagonalGridDivision.C.
|
overridevirtual |
Reimplemented from MeshDivision.
Definition at line 77 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().