Periodic boundary for calculation periodic BC on domains where the translation is given by functions. More...
#include <FunctionPeriodicBoundary.h>
Public Member Functions | |
FunctionPeriodicBoundary (FEProblemBase &subproblem, std::vector< std::string > fn_names) | |
Initialize the periodic boundary with three functions. More... | |
FunctionPeriodicBoundary (const FunctionPeriodicBoundary &o) | |
Copy constructor for creating the periodic boundary and inverse periodic boundary. More... | |
virtual Point | get_corresponding_pos (const Point &pt) const override |
Get the translation based on point 'pt'. More... | |
virtual std::unique_ptr< PeriodicBoundaryBase > | clone (TransformationType t) const override |
Required interface, this class must be able to clone itself. More... | |
Protected Member Functions | |
void | init () |
An initialization method to make certain that initialSetup() of a function prior to value() More... | |
Protected Attributes | |
unsigned int | _dim |
const Function *const | _tr_x |
Pointer to Function for x-component of the boundary. More... | |
const Function *const | _tr_y |
Pointer to Function for y-component of the boundary. More... | |
const Function *const | _tr_z |
Pointer to Function for z-component of the boundary. More... | |
Periodic boundary for calculation periodic BC on domains where the translation is given by functions.
Definition at line 27 of file FunctionPeriodicBoundary.h.
FunctionPeriodicBoundary::FunctionPeriodicBoundary | ( | FEProblemBase & | subproblem, |
std::vector< std::string > | fn_names | ||
) |
Initialize the periodic boundary with three functions.
Definition at line 21 of file FunctionPeriodicBoundary.C.
FunctionPeriodicBoundary::FunctionPeriodicBoundary | ( | const FunctionPeriodicBoundary & | o | ) |
Copy constructor for creating the periodic boundary and inverse periodic boundary.
o | - Periodic boundary being copied |
Definition at line 37 of file FunctionPeriodicBoundary.C.
|
overridevirtual |
Required interface, this class must be able to clone itself.
Definition at line 75 of file FunctionPeriodicBoundary.C.
|
overridevirtual |
Get the translation based on point 'pt'.
pt | - point on the 'source' boundary |
Definition at line 45 of file FunctionPeriodicBoundary.C.
|
protected |
An initialization method to make certain that initialSetup() of a function prior to value()
Definition at line 84 of file FunctionPeriodicBoundary.C.
Referenced by FunctionPeriodicBoundary().
|
protected |
Definition at line 56 of file FunctionPeriodicBoundary.h.
Referenced by FunctionPeriodicBoundary(), get_corresponding_pos(), and init().
|
protected |
Pointer to Function for x-component of the boundary.
Definition at line 59 of file FunctionPeriodicBoundary.h.
Referenced by get_corresponding_pos(), and init().
|
protected |
Pointer to Function for y-component of the boundary.
Definition at line 62 of file FunctionPeriodicBoundary.h.
Referenced by get_corresponding_pos(), and init().
|
protected |
Pointer to Function for z-component of the boundary.
Definition at line 65 of file FunctionPeriodicBoundary.h.
Referenced by get_corresponding_pos(), and init().