Helper class for setting up periodic boundary conditions via an Action. More...
#include <PeriodicBCHelper.h>
Public Member Functions | |
| PeriodicBCHelper (const Action &action) | |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Member Functions | |
| void | checkPeriodicParams () const |
| Checks the validity of the periodic boundary condition parameters. More... | |
| void | setupPeriodicBoundaries (FEProblemBase &problem) |
| Sets up the periodic boundaries. More... | |
| virtual void | onSetupPeriodicBoundary (libMesh::PeriodicBoundaryBase &) |
| Entry-point for derived actions to extend the addition of a periodic boundary. More... | |
| const libMesh::PeriodicBoundaries & | getPeriodicBoundaries () const |
| Get the PeriodicBoundaries map produced in setupPeriodicBoundaries(). More... | |
Private Member Functions | |
| void | addPeriodicBoundary (std::unique_ptr< libMesh::PeriodicBoundaryBase >) |
| Internal helper for adding a periodic boundary. More... | |
| void | setupAutoPeriodicBoundaries (MooseMesh &mesh) |
| Internal method for setting up periodic boundaries via the "auto_direction" param. More... | |
| void | setupManualPeriodicBoundaries (FEProblemBase &problem) |
| Internal method for setting up manual periodic boundaries via the "translation" and "transform_func" params. More... | |
| const InputParameters & | getParams () const |
| Internal method for getting the parameters by the owned action. More... | |
Private Attributes | |
| const Action & | _action |
| The owning Action. More... | |
| const InputParameters & | _params |
| The parameters used to create the periodic boundary. More... | |
| libMesh::PeriodicBoundaries | _periodic_boundaries |
| The PeriodicBoundaries map, filled in setupPeriodicBoundaries() More... | |
Helper class for setting up periodic boundary conditions via an Action.
Determines the PeriodicBoundaries given the parameters and sets up geometric ghosting. Does not handle algebraic ghosting.
Definition at line 29 of file PeriodicBCHelper.h.
| Moose::PeriodicBCHelper::PeriodicBCHelper | ( | const Action & | action | ) |
Definition at line 46 of file PeriodicBCHelper.C.
|
private |
Internal helper for adding a periodic boundary.
Definition at line 93 of file PeriodicBCHelper.C.
Referenced by setupAutoPeriodicBoundaries(), and setupManualPeriodicBoundaries().
|
protected |
Checks the validity of the periodic boundary condition parameters.
Definition at line 49 of file PeriodicBCHelper.C.
Referenced by AddPeriodicBCAction::AddPeriodicBCAction().
|
private |
Internal method for getting the parameters by the owned action.
Enables the use of the MOOSE object parameters if the owner is a MooseObjectAction.
Definition at line 182 of file PeriodicBCHelper.C.
|
inlineprotected |
Get the PeriodicBoundaries map produced in setupPeriodicBoundaries().
Definition at line 61 of file PeriodicBCHelper.h.
Referenced by AddPeriodicBCAction::act(), and setupPeriodicBoundaries().
|
inlineprotectedvirtual |
Entry-point for derived actions to extend the addition of a periodic boundary.
Reimplemented in AddPeriodicBCAction.
Definition at line 56 of file PeriodicBCHelper.h.
Referenced by addPeriodicBoundary().
Internal method for setting up periodic boundaries via the "auto_direction" param.
Definition at line 102 of file PeriodicBCHelper.C.
Referenced by setupPeriodicBoundaries().
|
private |
Internal method for setting up manual periodic boundaries via the "translation" and "transform_func" params.
Definition at line 138 of file PeriodicBCHelper.C.
Referenced by setupPeriodicBoundaries().
|
protected |
Sets up the periodic boundaries.
Should be called by the owning Action. Once called, the PeriodicBoundaries object will be available via getPeriodicBoundaries().
onSetupPeriodicBoundary() will be called on each periodic boundary added to enable the derived class to extend.
Definition at line 64 of file PeriodicBCHelper.C.
Referenced by AddPeriodicBCAction::act().
|
static |
Definition at line 24 of file PeriodicBCHelper.C.
Referenced by AddPeriodicBCAction::validParams().
|
private |
The owning Action.
Definition at line 88 of file PeriodicBCHelper.h.
Referenced by checkPeriodicParams(), getParams(), setupAutoPeriodicBoundaries(), and setupManualPeriodicBoundaries().
|
private |
The parameters used to create the periodic boundary.
Definition at line 90 of file PeriodicBCHelper.h.
Referenced by checkPeriodicParams(), setupAutoPeriodicBoundaries(), setupManualPeriodicBoundaries(), and setupPeriodicBoundaries().
|
private |
The PeriodicBoundaries map, filled in setupPeriodicBoundaries()
Definition at line 92 of file PeriodicBCHelper.h.
Referenced by addPeriodicBoundary(), getPeriodicBoundaries(), and setupPeriodicBoundaries().
1.8.14