GridSmokeSolver3.h
Go to the documentation of this file.
191 class GridSmokeSolver3::Builder final : public GridFluidSolverBuilderBase3<GridSmokeSolver3::Builder>
Front-end to create GridSmokeSolver3 objects step by step.
Definition: GridSmokeSolver3.h:191
double GetTemperatureDiffusionCoefficient() const
Returns temperature diffusion coefficient.
double GetBuoyancySmokeDensityFactor() const
Returns the buoyancy factor which will be multiplied to the smoke density.
static Builder GetBuilder()
Returns builder fox GridSmokeSolver3.
double GetBuoyancyTemperatureFactor() const
Returns the buoyancy factor which will be multiplied to the temperature.
double GetSmokeDecayFactor() const
Returns smoke decay factor.
std::shared_ptr< GridSmokeSolver3 > GridSmokeSolver3Ptr
Shared pointer type for the GridSmokeSolver3.
Definition: GridSmokeSolver3.h:186
void ComputeExternalForces(double timeIntervalInSeconds) override
Computes the external force terms.
void SetTemperatureDecayFactor(double newValue)
Sets the temperature decay factor.
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
ScalarGrid3Ptr GetTemperature() const
Returns temperature field.
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 a time-step.
double GetSmokeDiffusionCoefficient() const
Returns smoke diffusion coefficient.
ScalarGrid3Ptr GetSmokeDensity() const
Returns smoke density field.
GridSmokeSolver3Ptr MakeShared() const
Builds shared pointer of GridSmokeSolver3 instance.
void SetTemperatureDiffusionCoefficient(double newValue)
Sets temperature diffusion coefficient.
double GetTemperatureDecayFactor() const
Returns temperature decay factor.
void SetBuoyancySmokeDensityFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the smoke density.
void SetSmokeDecayFactor(double newValue)
Sets the smoke decay factor.
void SetSmokeDiffusionCoefficient(double newValue)
Sets smoke diffusion coefficient.
void SetBuoyancyTemperatureFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the temperature.