CubbyFlow::SPHSolver2::Builder Class Referencefinal

Front-end to create SPHSolver2 objects step by step. More...

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

Inheritance diagram for CubbyFlow::SPHSolver2::Builder:
CubbyFlow::SPHSolverBuilderBase2< Builder >

Public Member Functions

SPHSolver2 Build () const
 Builds SPHSolver2. More...
 
SPHSolver2Ptr MakeShared () const
 Builds shared pointer of SPHSolver2 instance. More...
 
- Public Member Functions inherited from CubbyFlow::SPHSolverBuilderBase2< Builder >
Builder & WithTargetDensity (double targetDensity)
 Returns builder with target density. More...
 
Builder & WithTargetSpacing (double targetSpacing)
 Returns builder with target spacing. More...
 
Builder & WithRelativeKernelRadius (double relativeKernelRadius)
 Returns builder with relative kernel radius. More...
 

Additional Inherited Members

- Protected Attributes inherited from CubbyFlow::SPHSolverBuilderBase2< Builder >
double m_targetDensity
 
double m_targetSpacing
 
double m_relativeKernelRadius
 

Detailed Description

Front-end to create SPHSolver2 objects step by step.

Member Function Documentation

◆ Build()

SPHSolver2 CubbyFlow::SPHSolver2::Builder::Build ( ) const

Builds SPHSolver2.

◆ MakeShared()

SPHSolver2Ptr CubbyFlow::SPHSolver2::Builder::MakeShared ( ) const

Builds shared pointer of SPHSolver2 instance.


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