LevelSetLiquidSolver3.h
Go to the documentation of this file.
122 class LevelSetLiquidSolver3::Builder final : public GridFluidSolverBuilderBase3<LevelSetLiquidSolver3::Builder>
void OnBeginAdvanceTimeStep(double timeIntervalInSeconds) override
Called at the beginning of the time-step.
Front-end to create LevelSetLiquidSolver3 objects step by step.
Definition: LevelSetLiquidSolver3.h:122
void SetMinReinitializeDistance(double distance)
Sets minimum reinitialization distance.
ScalarGrid3Ptr GetSignedDistanceField() const
Returns signed-distance field.
std::shared_ptr< ScalarField3 > ScalarField3Ptr
Shared pointer for the ScalarField3 type.
Definition: ScalarField3.h:44
void SetLevelSetSolver(const LevelSetSolver3Ptr &newSolver)
Sets the level set solver.
void SetIsGlobalCompensationEnabled(bool isEnabled)
Enables (or disables) global compensation feature flag.
LevelSetLiquidSolver3 Build() const
Builds LevelSetLiquidSolver3.
ScalarField3Ptr GetFluidSDF() const override
Returns fluid region as a signed-distance field.
std::shared_ptr< ScalarGrid3 > ScalarGrid3Ptr
Shared pointer for the ScalarGrid3 type.
Definition: ScalarGrid3.h:179
Base class for grid-based fluid solver builder.
Definition: GridFluidSolver3.h:303
std::shared_ptr< LevelSetLiquidSolver3 > LevelSetLiquidSolver3Ptr
Shared pointer type for the LevelSetLiquidSolver3.
Definition: LevelSetLiquidSolver3.h:117
Level set based 3-D liquid solver.
Definition: LevelSetLiquidSolver3.h:28
static Builder GetBuilder()
Returns builder fox LevelSetLiquidSolver3.
Definition: pybind11Utils.h:24
Abstract base class for grid-based 3-D fluid solver.
Definition: GridFluidSolver3.h:33
void OnEndAdvanceTimeStep(double timeIntervalInSeconds) override
Called at the end of the time-step.
LevelSetLiquidSolver3Ptr MakeShared() const
Builds shared pointer of LevelSetLiquidSolver3 instance.
std::shared_ptr< LevelSetSolver3 > LevelSetSolver3Ptr
Shared pointer type for the LevelSetSolver3.
Definition: LevelSetSolver3.h:88
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.