CubbyFlow::ParticleSystemSolverBuilderBase2< DerivedBuilder > Class Template Reference

Base class for particle-based solver builder. More...

#include <Core/Solver/Particle/ParticleSystemSolver2.h>

Public Member Functions

DerivedBuilder & WithRadius (double radius)
 Returns builder with particle radius. More...
 
DerivedBuilder & WithMass (double mass)
 Returns builder with mass per particle. More...
 

Protected Attributes

double m_radius = 1e-3
 
double m_mass = 1e-3
 

Detailed Description

template<typename DerivedBuilder>
class CubbyFlow::ParticleSystemSolverBuilderBase2< DerivedBuilder >

Base class for particle-based solver builder.

Member Function Documentation

◆ WithMass()

template<typename T >
T & CubbyFlow::ParticleSystemSolverBuilderBase2< T >::WithMass ( double  mass)

Returns builder with mass per particle.

◆ WithRadius()

template<typename T >
T & CubbyFlow::ParticleSystemSolverBuilderBase2< T >::WithRadius ( double  radius)

Returns builder with particle radius.

Member Data Documentation

◆ m_mass

template<typename DerivedBuilder>
double CubbyFlow::ParticleSystemSolverBuilderBase2< DerivedBuilder >::m_mass = 1e-3
protected

◆ m_radius

template<typename DerivedBuilder>
double CubbyFlow::ParticleSystemSolverBuilderBase2< DerivedBuilder >::m_radius = 1e-3
protected

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