CubbyFlow::SPHSolverBuilderBase2< DerivedBuilder > Class Template Reference
Base class for SPH-based fluid solver builder. More...
#include <Core/Solver/Particle/SPH/SPHSolver2.h>
Public Member Functions | |
DerivedBuilder & | WithTargetDensity (double targetDensity) |
Returns builder with target density. More... | |
DerivedBuilder & | WithTargetSpacing (double targetSpacing) |
Returns builder with target spacing. More... | |
DerivedBuilder & | WithRelativeKernelRadius (double relativeKernelRadius) |
Returns builder with relative kernel radius. More... | |
Protected Attributes | |
double | m_targetDensity = WATER_DENSITY |
double | m_targetSpacing = 0.1 |
double | m_relativeKernelRadius = 1.8 |
Detailed Description
template<typename DerivedBuilder>
class CubbyFlow::SPHSolverBuilderBase2< DerivedBuilder >
Base class for SPH-based fluid solver builder.
Member Function Documentation
◆ WithRelativeKernelRadius()
template<typename T >
T & CubbyFlow::SPHSolverBuilderBase2< T >::WithRelativeKernelRadius | ( | double | relativeKernelRadius | ) |
Returns builder with relative kernel radius.
◆ WithTargetDensity()
template<typename T >
T & CubbyFlow::SPHSolverBuilderBase2< T >::WithTargetDensity | ( | double | targetDensity | ) |
Returns builder with target density.
◆ WithTargetSpacing()
template<typename T >
T & CubbyFlow::SPHSolverBuilderBase2< T >::WithTargetSpacing | ( | double | targetSpacing | ) |
Returns builder with target spacing.
Member Data Documentation
◆ m_relativeKernelRadius
template<typename DerivedBuilder>
|
protected |
◆ m_targetDensity
template<typename DerivedBuilder>
|
protected |
◆ m_targetSpacing
template<typename DerivedBuilder>
|
protected |
The documentation for this class was generated from the following file:
- Core/Solver/Particle/SPH/SPHSolver2.h