Periodic boundary for calculation periodic BC on domains where the translation is given by functions. More...
#include <FunctionPeriodicBoundary.h>
Public Types | |
enum | TransformationType |
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 libMesh::Point | get_corresponding_pos (const libMesh::Point &pt) const override |
Get the translation based on point 'pt'. More... | |
virtual std::unique_ptr< libMesh::PeriodicBoundaryBase > | clone (TransformationType t) const override |
Required interface, this class must be able to clone itself. More... | |
void | set_variable (unsigned int var) |
void | merge (const PeriodicBoundaryBase &pb) |
bool | is_my_variable (unsigned int var_num) const |
bool | has_transformation_matrix () const |
const DenseMatrix< Real > & | get_transformation_matrix () const |
void | set_transformation_matrix (const DenseMatrix< Real > &matrix) |
const std::set< unsigned int > & | get_variables () const |
Public Attributes | |
FORWARD | |
INVERSE | |
boundary_id_type | myboundary |
boundary_id_type | pairedboundary |
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... | |
std::set< unsigned int > | variables |
std::unique_ptr< DenseMatrix< Real > > | _transformation_matrix |
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.
Implements libMesh::PeriodicBoundaryBase.
Definition at line 75 of file FunctionPeriodicBoundary.C.
|
overridevirtual |
Get the translation based on point 'pt'.
pt | - point on the 'source' boundary |
Implements libMesh::PeriodicBoundaryBase.
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().