IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Classes | Public Member Functions | List of all members
IBTK::HierarchyGhostCellInterpolation Class Reference

Class HierarchyGhostCellInterpolation encapsulates the operations required to set ghost cell values at physical and coarse-fine boundaries across a range of levels of a locally refined patch hierarchy. More...

#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/HierarchyGhostCellInterpolation.h>

Inheritance diagram for IBTK::HierarchyGhostCellInterpolation:
Inheritance graph
[legend]

Classes

class  InterpolationTransactionComponent
 Class HierarchyGhostCellInterpolation::InterpolationTransactionComponent encapsulates options for filling ghost cell values via class HierarchyGhostCellInterpolation. More...
 

Public Member Functions

 HierarchyGhostCellInterpolation ()
 Default constructor.
 
virtual ~HierarchyGhostCellInterpolation ()
 Destructor.
 
void setHomogeneousBc (bool homogeneous_bc)
 Specify whether the boundary conditions are homogeneous.
 
void initializeOperatorState (InterpolationTransactionComponent transaction_comp, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int coarsest_ln=invalid_level_number, int finest_ln=invalid_level_number)
 Setup the hierarchy ghost cell interpolation operator to perform the specified interpolation transactions on the specified patch hierarchy.
 
void initializeOperatorState (const std::vector< InterpolationTransactionComponent > &transaction_comps, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int coarsest_ln=invalid_level_number, int finest_ln=invalid_level_number)
 Setup the hierarchy ghost cell interpolation operator to perform the specified collection of interpolation transactions on the specified patch hierarchy.
 
void resetTransactionComponent (const InterpolationTransactionComponent &transaction_comps)
 Reset transaction component with the interpolation operator.
 
void resetTransactionComponents (const std::vector< InterpolationTransactionComponent > &transaction_comps)
 Reset transaction components with the interpolation operator.
 
void reinitializeOperatorState (SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy)
 Reinitialize operator state following, e.g., a regridding operation.
 
void deallocateOperatorState ()
 Clear all cached data.
 
void fillData (double fill_time)
 Fill coarse-fine boundary and physical boundary ghost cells on all levels of the patch hierarchy.
 

Detailed Description

Class HierarchyGhostCellInterpolation encapsulates the operations required to set ghost cell values at physical and coarse-fine boundaries across a range of levels of a locally refined patch hierarchy.

Note
In cases where physical boundary conditions are set via extrapolation from interior values, setting ghost cell values may require both coarsening and refining.

The documentation for this class was generated from the following files: