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

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

#include <Core/Solver/Particle/MPM/MPMSnowSolver.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)
 
MPMSnowSolver Build () const
 
std::shared_ptr< MPMSnowSolver > MakeShared () const
 

Detailed Description

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

Front-end to create MPMSnowSolver objects step by step.

Member Function Documentation

◆ Build()

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

◆ MakeShared()

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

◆ WithGridSpacing()

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

◆ WithMass()

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

◆ WithOrigin()

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

◆ WithRadius()

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

◆ WithResolution()

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

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