Loading...
Searching...
No Matches
CubbyFlow::MPMFluidSolver< N >::Builder Class Referencefinal

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

#include <Core/Solver/Particle/MPM/MPMFluidSolver.hpp>

Public Member Functions

Builder & WithResolution (const SizeType &resolution)
 
Builder & WithGridSpacing (const VectorType &gridSpacing)
 
Builder & WithOrigin (const VectorType &gridOrigin)
 
Builder & WithRadius (double radius)
 
Builder & WithMass (double mass)
 
Builder & WithTargetDensity (double targetDensity)
 
Builder & WithSpeedOfSound (double speedOfSound)
 
Builder & WithEosExponent (double eosExponent)
 
Builder & WithNegativePressureScale (double negativePressureScale)
 
MPMFluidSolver Build () const
 
std::shared_ptr< MPMFluidSolver > MakeShared () const
 

Detailed Description

template<size_t N>
class CubbyFlow::MPMFluidSolver< N >::Builder

Front-end to create MPMFluidSolver objects step by step.

Member Function Documentation

◆ Build()

template<size_t N>
MPMFluidSolver< N > CubbyFlow::MPMFluidSolver< N >::Builder::Build ( ) const

◆ MakeShared()

template<size_t N>
std::shared_ptr< MPMFluidSolver< N > > CubbyFlow::MPMFluidSolver< N >::Builder::MakeShared ( ) const

◆ WithEosExponent()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithEosExponent ( double  eosExponent)

◆ WithGridSpacing()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithGridSpacing ( const VectorType &  gridSpacing)

◆ WithMass()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithMass ( double  mass)

◆ WithNegativePressureScale()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithNegativePressureScale ( double  negativePressureScale)

◆ WithOrigin()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithOrigin ( const VectorType &  gridOrigin)

◆ WithRadius()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithRadius ( double  radius)

◆ WithResolution()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithResolution ( const SizeType &  resolution)

◆ WithSpeedOfSound()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithSpeedOfSound ( double  speedOfSound)

◆ WithTargetDensity()

template<size_t N>
MPMFluidSolver< N >::Builder & CubbyFlow::MPMFluidSolver< N >::Builder::WithTargetDensity ( double  targetDensity)

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