IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
A lightweight class that stores the current value of the Lagrange multiplier for the level set variable. More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/LevelSetUtilities.h>
Public Member Functions | |
LevelSetMassLossFixer (std::string object_name, SAMRAI::tbox::Pointer< AdvDiffHierarchyIntegrator > adv_diff_integrator, std::vector< SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > > ls_vars, SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > input_db=SAMRAI::tbox::Pointer< SAMRAI::tbox::Database >(nullptr), bool register_for_restart=true) | |
Constructor of the class. More... | |
void | putToDatabase (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > db) override |
const LevelSetContainer & | getLevelSetContainer () const |
LevelSetContainer & | getLevelSetContainer () |
void | setInitialVolume (double v0) |
double | getInitialVolume () const |
void | setTargetVolume (double v) |
double | getTargetVolume () const |
void | setLagrangeMultiplier (double q) |
double | getLagrangeMultiplier () const |
void | setTime (double time) |
double | getTime () const |
int | getCorrectionInterval () const |
double | getErrorRelTolerance () const |
double | getMaxIterations () const |
bool | enableLogging () const |
A lightweight class that stores the current value of the Lagrange multiplier for the level set variable.
IBAMR::LevelSetUtilities::LevelSetMassLossFixer::LevelSetMassLossFixer | ( | std::string | object_name, |
SAMRAI::tbox::Pointer< AdvDiffHierarchyIntegrator > | adv_diff_integrator, | ||
std::vector< SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > > | ls_vars, | ||
SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > | input_db = SAMRAI::tbox::Pointer<SAMRAI::tbox::Database>(nullptr) , |
||
bool | register_for_restart = true |
||
) |
Constructor of the class.
input_db | provides parameters such as enable_logging, correction_interval, max_its, rel_tol, and half_width. |