Periodic boundary for calculation periodic BC on domains where the translation is given by Function objects. More...
#include <FunctionPeriodicBoundary.h>
Public Types | |
| enum | TransformationType |
Public Member Functions | |
| FunctionPeriodicBoundary (FEProblemBase &subproblem, const std::vector< std::string > &fn_names, const std::vector< std::string > &inv_fn_names) | |
| Initialize the periodic with the functions and inverse functions, one for each dimension needed. More... | |
| FunctionPeriodicBoundary (const FunctionPeriodicBoundary &o, TransformationType t=FORWARD) | |
| 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 |
| 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 Attributes | |
| std::set< unsigned int > | variables |
| std::unique_ptr< DenseMatrix< Real > > | _transformation_matrix |
Static Private Member Functions | |
| static std::array< const Function *, 3 > | getFunctions (FEProblemBase &problem, const std::vector< std::string > &names) |
Private Attributes | |
| const unsigned int | _dim |
| The dimension of the problem (says which of _tr and _inv_tr are active) More... | |
| const std::array< const Function *, 3 > | _tr |
| Pointers to translation functions in each dimension. More... | |
| const std::array< const Function *, 3 > | _inv_tr |
| Pointers to inverse translation functions in each dimension. More... | |
Periodic boundary for calculation periodic BC on domains where the translation is given by Function objects.
Definition at line 27 of file FunctionPeriodicBoundary.h.
| FunctionPeriodicBoundary::FunctionPeriodicBoundary | ( | FEProblemBase & | subproblem, |
| const std::vector< std::string > & | fn_names, | ||
| const std::vector< std::string > & | inv_fn_names | ||
| ) |
Initialize the periodic with the functions and inverse functions, one for each dimension needed.
Definition at line 21 of file FunctionPeriodicBoundary.C.
| FunctionPeriodicBoundary::FunctionPeriodicBoundary | ( | const FunctionPeriodicBoundary & | o, |
| TransformationType | t = FORWARD |
||
| ) |
Copy constructor for creating the periodic boundary and inverse periodic boundary.
| o | - Periodic boundary being copied |
| t | - Transformation direction |
Definition at line 36 of file FunctionPeriodicBoundary.C.
|
overridevirtual |
Implements libMesh::PeriodicBoundaryBase.
Definition at line 63 of file FunctionPeriodicBoundary.C.
|
overridevirtual |
Get the translation based on point 'pt'.
| pt | - point on the 'source' boundary |
Implements libMesh::PeriodicBoundaryBase.
Definition at line 48 of file FunctionPeriodicBoundary.C.
|
staticprivate |
Definition at line 69 of file FunctionPeriodicBoundary.C.
|
private |
The dimension of the problem (says which of _tr and _inv_tr are active)
Definition at line 60 of file FunctionPeriodicBoundary.h.
Referenced by FunctionPeriodicBoundary(), and get_corresponding_pos().
|
private |
Pointers to inverse translation functions in each dimension.
Definition at line 65 of file FunctionPeriodicBoundary.h.
|
private |
Pointers to translation functions in each dimension.
Definition at line 63 of file FunctionPeriodicBoundary.h.
Referenced by get_corresponding_pos().
1.8.14