IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
A lightweight class to hold the level set variable and the associated hierarchy integrator (AdvDiffHierarchyIntegrator). More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/LevelSetUtilities.h>
Public Member Functions | |
LevelSetContainer (SAMRAI::tbox::Pointer< AdvDiffHierarchyIntegrator > adv_diff_integrator, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > ls_var, double ncells=1.0) | |
Constructor of the class. | |
LevelSetContainer (SAMRAI::tbox::Pointer< AdvDiffHierarchyIntegrator > adv_diff_integrator, std::vector< SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > > ls_vars, double ncells=1.0) | |
void | setInterfaceHalfWidth (double ncells) |
double | getInterfaceHalfWidth () const |
SAMRAI::tbox::Pointer< AdvDiffHierarchyIntegrator > | getAdvDiffHierarchyIntegrator () const |
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | getLevelSetVariable (int idx=0) const |
A lightweight class to hold the level set variable and the associated hierarchy integrator (AdvDiffHierarchyIntegrator).
|
inline |
ncells | are the number of cells representing the half-width of the interface. Depending upon the application, ncells is used to specify material properties like density or viscosity (via some mixture model) or to compute volume of the phase enclosed by the level set variable. |