GridSmokeSolver2.h
Go to the documentation of this file.
191 class GridSmokeSolver2::Builder final : public GridFluidSolverBuilderBase2<GridSmokeSolver2::Builder>
void ComputeExternalForces(double timeIntervalInSeconds) override
Computes the external force terms.
void SetBuoyancySmokeDensityFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the smoke density.
GridSmokeSolver2Ptr MakeShared() const
Builds shared pointer of GridSmokeSolver2 instance.
double GetTemperatureDiffusionCoefficient() const
Returns temperature diffusion coefficient.
double GetBuoyancyTemperatureFactor() const
Returns the buoyancy factor which will be multiplied to the temperature.
Base class for grid-based fluid solver builder.
Definition: GridFluidSolver2.h:303
void SetSmokeDiffusionCoefficient(double newValue)
Sets smoke diffusion coefficient.
double GetSmokeDecayFactor() const
Returns smoke decay factor.
void SetBuoyancyTemperatureFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the temperature.
void SetSmokeDecayFactor(double newValue)
Sets the smoke decay factor.
void SetTemperatureDecayFactor(double newValue)
Sets the temperature decay factor.
Definition: pybind11Utils.h:24
std::shared_ptr< ScalarGrid2 > ScalarGrid2Ptr
Shared pointer for the ScalarGrid2 type.
Definition: ScalarGrid2.h:179
ScalarGrid2Ptr GetSmokeDensity() const
Returns smoke density field.
ScalarGrid2Ptr GetTemperature() const
Returns temperature field.
Front-end to create GridSmokeSolver2 objects step by step.
Definition: GridSmokeSolver2.h:191
static Builder GetBuilder()
Returns builder fox GridSmokeSolver2.
Abstract base class for grid-based 2-D fluid solver.
Definition: GridFluidSolver2.h:33
std::shared_ptr< GridSmokeSolver2 > GridSmokeSolver2Ptr
Shared pointer type for the GridSmokeSolver2.
Definition: GridSmokeSolver2.h:186
void OnEndAdvanceTimeStep(double timeIntervalInSeconds) override
Called at the end of a time-step.
void SetTemperatureDiffusionCoefficient(double newValue)
Sets temperature diffusion coefficient.
double GetTemperatureDecayFactor() const
Returns temperature decay factor.
double GetBuoyancySmokeDensityFactor() const
Returns the buoyancy factor which will be multiplied to the smoke density.
double GetSmokeDiffusionCoefficient() const
Returns smoke diffusion coefficient.