IBAMR  IBAMR version 0.20.
Classes | Namespaces | Functions
LevelSetUtilities.h File Reference
#include <ibamr/config.h>
#include <ibamr/AdvDiffHierarchyIntegrator.h>
#include <ibamr/LSInitStrategy.h>
#include <tbox/DescribedClass.h>
#include <tbox/Pointer.h>
#include <tbox/Serializable.h>
#include <CellVariable.h>
#include <limits>
#include <optional>
#include <string>

Classes

class  IBAMR::LevelSetUtilities::LevelSetContainer
 A lightweight class to hold the level set variable and the associated hierarchy integrator (AdvDiffHierarchyIntegrator). More...
 
class  IBAMR::LevelSetUtilities::TagLSRefinementCells
 A lightweight class to tag grid cells containing the level set variable for grid refinement. More...
 
class  IBAMR::LevelSetUtilities::LevelSetMassLossFixer
 Correct a regularized phase volume by a uniform level-set shift. More...
 
class  IBAMR::LevelSetUtilities::SetLSProperties
 Class SetLSProperties is a utility class which sets (or resets after reinitialization) level set values on the patch hierarchy. More...
 

Namespaces

 IBTK
 
 IBAMR
 
 IBAMR::LevelSetUtilities
 Class LevelSetUtilities provides implementation of some helper functions to enforce mass/volume conservation of phases.
 

Functions

void IBAMR::LevelSetUtilities::tagLSCells (SAMRAI::tbox::Pointer< SAMRAI::hier::BasePatchHierarchy< NDIM >> hierarchy, const int level_number, const double error_data_time, const int tag_index, const bool initial_time, const bool uses_richardson_extrapolation_too, void *ctx)
 Preprocessing call back function to be hooked into IBAMR::HierarchyIntegrator class to tag the cells for grid refinement based on the given tagging criteria. More...
 
void IBAMR::LevelSetUtilities::fixMassLoss2PhaseFlows (double current_time, double new_time, bool skip_synchronize_new_state_data, int num_cycles, void *ctx)
 Postprocess-integration callback correcting NEW gas volume. More...
 
void IBAMR::LevelSetUtilities::fixMassLoss3PhaseFlows (double current_time, double new_time, bool skip_synchronize_new_state_data, int num_cycles, void *ctx)
 Postprocess-integration callback correcting NEW liquid volume in a three-phase flow, preserving the second (solid) level-set field. More...
 
std::vector< double > IBAMR::LevelSetUtilities::computeHeavisideIntegrals2PhaseFlows (const LevelSetContainer &lsc)
 
std::vector< double > IBAMR::LevelSetUtilities::computeHeavisideIntegrals3PhaseFlows (const LevelSetContainer &lsc)
 
void IBAMR::LevelSetUtilities::setLSDataPatchHierarchy (int ls_idx, SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > hier_math_ops, const int integrator_step, const double current_time, const bool initial_time, const bool regrid_time, void *ctx)
 A function that sets or resets the level set data on the patch hierarchy. More...