LevelSetLiquidSolver3.hpp
Go to the documentation of this file.
void OnBeginAdvanceTimeStep(double timeIntervalInSeconds) override
Called at the beginning of the time-step.
Front-end to create LevelSetLiquidSolver3 objects step by step.
Definition: LevelSetLiquidSolver3.hpp:135
void SetMinReinitializeDistance(double distance)
Sets minimum reinitialization distance.
ScalarGrid3Ptr GetSignedDistanceField() const
Returns signed-distance field.
~LevelSetLiquidSolver3() override=default
Default virtual destructor.
std::shared_ptr< ScalarField3 > ScalarField3Ptr
Shared pointer for the ScalarField3 type.
Definition: ScalarField.hpp:70
void SetLevelSetSolver(const LevelSetSolver3Ptr &newSolver)
Sets the level set solver.
void SetIsGlobalCompensationEnabled(bool isEnabled)
Enables (or disables) global compensation feature flag.
ScalarField3Ptr GetFluidSDF() const override
Returns fluid region as a signed-distance field.
std::shared_ptr< ScalarGrid3 > ScalarGrid3Ptr
Shared pointer for the ScalarGrid3 type.
Definition: ScalarGrid.hpp:269
Base class for grid-based fluid solver builder.
Definition: GridFluidSolver3.hpp:315
std::shared_ptr< LevelSetLiquidSolver3 > LevelSetLiquidSolver3Ptr
Shared pointer type for the LevelSetLiquidSolver3.
Definition: LevelSetLiquidSolver3.hpp:130
Level set based 3-D liquid solver.
Definition: LevelSetLiquidSolver3.hpp:30
static Builder GetBuilder()
Returns builder fox LevelSetLiquidSolver3.
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
Abstract base class for grid-based 3-D fluid solver.
Definition: GridFluidSolver3.hpp:35
LevelSetLiquidSolver3 & operator=(const LevelSetLiquidSolver3 &)=delete
Deleted copy assignment operator.
void OnEndAdvanceTimeStep(double timeIntervalInSeconds) override
Called at the end of the time-step.
std::shared_ptr< LevelSetSolver3 > LevelSetSolver3Ptr
Shared pointer type for the LevelSetSolver3.
Definition: LevelSetSolver3.hpp:93
double ComputeVolume() const
Returns liquid volume measured by smeared Heaviside function.
void ComputeAdvection(double timeIntervalInSeconds) override
Customizes advection step.
LevelSetSolver3Ptr GetLevelSetSolver() const
Returns the level set solver.