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

BuilderWithResolution (const SizeType &resolution)
 
BuilderWithGridSpacing (const VectorType &gridSpacing)
 
BuilderWithOrigin (const VectorType &gridOrigin)
 
BuilderWithRadius (double radius)
 
BuilderWithMass (double mass)
 
BuilderWithTargetDensity (double targetDensity)
 
BuilderWithSpeedOfSound (double speedOfSound)
 
BuilderWithEosExponent (double eosExponent)
 
BuilderWithNegativePressureScale (double negativePressureScale)
 
MPMFluidSolver Build () const
 
std::shared_ptr< MPMFluidSolverMakeShared () 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: