IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class StaggeredPhysicalBoundaryHelper provides helper functions to handle physical boundary conditions for a staggered grid discretizations. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/StaggeredPhysicalBoundaryHelper.h>
Public Member Functions | |
StaggeredPhysicalBoundaryHelper ()=default | |
Default constructor. | |
virtual | ~StaggeredPhysicalBoundaryHelper ()=default |
Destructor. | |
void | copyDataAtDirichletBoundaries (int u_out_data_idx, int u_in_data_idx, int coarsest_ln=invalid_level_number, int finest_ln=invalid_level_number) const |
Copy data to u_data_out_idx from u_data_in_idx at Dirichlet boundaries over the specified range of levels in the patch hierarchy. | |
void | copyDataAtDirichletBoundaries (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > u_out_data, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > u_in_data, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const |
Copy data to u_data_out_idx from u_data_in_idx at Dirichlet boundaries on a single patch. | |
void | setupMaskingFunction (int mask_data_idx, int coarsest_ln=invalid_level_number, int finest_ln=invalid_level_number) const |
Setup a masking function over the specified range of levels in the patch hierarchy. | |
void | setupMaskingFunction (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, int > > u_data, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const |
Setup a masking function on a single patch. | |
bool | patchTouchesDirichletBoundary (SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const |
Return a boolean value indicating whether a patch has Dirichlet boundaries. | |
bool | patchTouchesDirichletBoundaryAxis (SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, const unsigned int axis) const |
Return a boolean value indicating whether a patch has Dirichlet boundaries in the specified coordinate axis. | |
void | cacheBcCoefData (const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > &u_bc_coefs, double fill_time, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy) |
Cache boundary coefficient data. | |
virtual void | clearBcCoefData () |
Clear cached boundary coefficient data. | |
Static Protected Member Functions | |
static void | setupBcCoefBoxes (SAMRAI::hier::Box< NDIM > &bc_coef_box, SAMRAI::hier::BoundaryBox< NDIM > &trimmed_bdry_box, const SAMRAI::hier::BoundaryBox< NDIM > &bdry_box, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) |
Setup boundary boxes used for setting boundary condition coefficients. | |
Protected Attributes | |
SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > | d_hierarchy |
std::vector< std::map< int, SAMRAI::tbox::Array< SAMRAI::hier::BoundaryBox< NDIM > > > > | d_physical_codim1_boxes |
std::vector< std::map< int, std::vector< SAMRAI::tbox::Pointer< SAMRAI::pdat::ArrayData< NDIM, bool > > > > > | d_dirichlet_bdry_locs |
Class StaggeredPhysicalBoundaryHelper provides helper functions to handle physical boundary conditions for a staggered grid discretizations.
|
protected |
Cached hierarchy-related information.