CubbyFlow::SPHSolverBuilderBase3< DerivedBuilder > Class Template Reference

Base class for SPH-based fluid solver builder. More...

#include <Core/Solver/Particle/SPH/SPHSolver3.hpp>

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::SPHSolverBuilderBase3< DerivedBuilder >

Base class for SPH-based fluid solver builder.

Member Function Documentation

◆ WithRelativeKernelRadius()

template<typename T >
T & CubbyFlow::SPHSolverBuilderBase3< T >::WithRelativeKernelRadius ( double  relativeKernelRadius)

Returns builder with relative kernel radius.

◆ WithTargetDensity()

template<typename T >
T & CubbyFlow::SPHSolverBuilderBase3< T >::WithTargetDensity ( double  targetDensity)

Returns builder with target density.

◆ WithTargetSpacing()

template<typename T >
T & CubbyFlow::SPHSolverBuilderBase3< T >::WithTargetSpacing ( double  targetSpacing)

Returns builder with target spacing.

Member Data Documentation

◆ m_relativeKernelRadius

template<typename DerivedBuilder>
double CubbyFlow::SPHSolverBuilderBase3< DerivedBuilder >::m_relativeKernelRadius = 1.8
protected

◆ m_targetDensity

template<typename DerivedBuilder>
double CubbyFlow::SPHSolverBuilderBase3< DerivedBuilder >::m_targetDensity = WATER_DENSITY
protected

◆ m_targetSpacing

template<typename DerivedBuilder>
double CubbyFlow::SPHSolverBuilderBase3< DerivedBuilder >::m_targetSpacing = 0.1
protected

The documentation for this class was generated from the following file: