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

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>

Inheritance diagram for IBAMR::LevelSetUtilities::LevelSetMassLossFixer:
Inheritance graph
[legend]

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 LevelSetContainergetLevelSetContainer () const
 
LevelSetContainergetLevelSetContainer ()
 
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
 

Detailed Description

A lightweight class that stores the current value of the Lagrange multiplier for the level set variable.

Constructor & Destructor Documentation

◆ LevelSetMassLossFixer()

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.

Parameters
input_dbprovides parameters such as enable_logging, correction_interval, max_its, rel_tol, and half_width.

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