GRINS-0.6.0
|
Simple helper class to setup periodic boundary conditions. More...
#include <pbc_container.h>
Public Member Functions | |
PBCContainer () | |
~PBCContainer () | |
void | set_master_bcid (const GRINS::BoundaryID bc_id) |
Add variables that are constrained by the Dirichlet bc. More... | |
void | set_slave_bcid (const GRINS::BoundaryID bc_id) |
void | set_offset_vector (const libMesh::RealVectorValue &offset_vector) |
GRINS::BoundaryID | get_master_bcid () const |
GRINS::BoundaryID | get_slave_bcid () const |
const libMesh::RealVectorValue & | get_offset_vector () const |
Private Attributes | |
GRINS::BoundaryID | _master_id |
GRINS::BoundaryID | _slave_id |
libMesh::RealVectorValue | _offset_vector |
Simple helper class to setup periodic boundary conditions.
This class is to temporarily stash data necessary for setting up libMesh::PeriodicBoundary objects. Actually instantiation of libMesh::DirichletBoundary object is handled internally by GRINS::BCHandlingBase::init_periodic_bcs. For each periodic bc pair there is a unique PBCContainer object.
Definition at line 43 of file pbc_container.h.
GRINS::PBCContainer::PBCContainer | ( | ) |
Definition at line 31 of file pbc_container.C.
GRINS::PBCContainer::~PBCContainer | ( | ) |
Definition at line 39 of file pbc_container.C.
BoundaryID GRINS::PBCContainer::get_master_bcid | ( | ) | const |
const libMesh::RealVectorValue & GRINS::PBCContainer::get_offset_vector | ( | ) | const |
Definition at line 72 of file pbc_container.C.
References _offset_vector.
BoundaryID GRINS::PBCContainer::get_slave_bcid | ( | ) | const |
void GRINS::PBCContainer::set_master_bcid | ( | const GRINS::BoundaryID | bc_id | ) |
Add variables that are constrained by the Dirichlet bc.
Definition at line 44 of file pbc_container.C.
References _master_id.
Referenced by GRINS::BCHandlingBase::init_bc_types().
void GRINS::PBCContainer::set_offset_vector | ( | const libMesh::RealVectorValue & | offset_vector | ) |
Definition at line 56 of file pbc_container.C.
References _offset_vector.
Referenced by GRINS::BCHandlingBase::init_bc_types().
void GRINS::PBCContainer::set_slave_bcid | ( | const GRINS::BoundaryID | bc_id | ) |
Definition at line 50 of file pbc_container.C.
References _slave_id.
Referenced by GRINS::BCHandlingBase::init_bc_types().
|
private |
Definition at line 62 of file pbc_container.h.
Referenced by get_master_bcid(), and set_master_bcid().
|
private |
Definition at line 63 of file pbc_container.h.
Referenced by get_offset_vector(), and set_offset_vector().
|
private |
Definition at line 62 of file pbc_container.h.
Referenced by get_slave_bcid(), and set_slave_bcid().