CubbyFlow::FLIPSolver2::Builder Class Referencefinal

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

#include <Core/Solver/Hybrid/FLIP/FLIPSolver2.hpp>

Inheritance diagram for CubbyFlow::FLIPSolver2::Builder:
CubbyFlow::GridFluidSolverBuilderBase2< Builder >

Public Member Functions

FLIPSolver2 Build () const
 Builds FLIPSolver2. More...
 
FLIPSolver2Ptr MakeShared () const
 Builds shared pointer of FLIPSolver2 instance. More...
 
- Public Member Functions inherited from CubbyFlow::GridFluidSolverBuilderBase2< Builder >
Builder & WithResolution (const Vector2UZ &resolution)
 Returns builder with grid resolution. More...
 
Builder & WithGridSpacing (const Vector2D &gridSpacing)
 Returns builder with grid spacing. More...
 
Builder & WithGridSpacing (double gridSpacing)
 Returns builder with grid spacing. More...
 
Builder & WithDomainSizeX (double domainSizeX)
 Returns builder with domain size in x-direction. More...
 
Builder & WithOrigin (const Vector2D &gridOrigin)
 Returns builder with grid origin. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CubbyFlow::GridFluidSolverBuilderBase2< Builder >
Vector2D GetGridSpacing () const
 
- Protected Attributes inherited from CubbyFlow::GridFluidSolverBuilderBase2< Builder >
Vector2UZ m_resolution
 
Vector2D m_gridSpacing
 
Vector2D m_gridOrigin
 
double m_domainSizeX
 
bool m_useDomainSize
 

Detailed Description

Front-end to create FLIPSolver2 objects step by step.

Member Function Documentation

◆ Build()

FLIPSolver2 CubbyFlow::FLIPSolver2::Builder::Build ( ) const

Builds FLIPSolver2.

◆ MakeShared()

FLIPSolver2Ptr CubbyFlow::FLIPSolver2::Builder::MakeShared ( ) const

Builds shared pointer of FLIPSolver2 instance.


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