CubbyFlow::GridFluidSolver2::Builder Class Referencefinal
Front-end to create GridFluidSolver2 objects step by step. More...
#include <Core/Solver/Grid/GridFluidSolver2.h>
Inheritance diagram for CubbyFlow::GridFluidSolver2::Builder:
Public Member Functions | |
GridFluidSolver2 | Build () const |
Builds GridFluidSolver2. More... | |
GridFluidSolver2Ptr | MakeShared () const |
Builds shared pointer of GridFluidSolver2 instance. More... | |
Public Member Functions inherited from CubbyFlow::GridFluidSolverBuilderBase2< GridFluidSolver2::Builder > | |
GridFluidSolver2::Builder & | WithResolution (const Size2 &resolution) |
Returns builder with grid resolution. More... | |
GridFluidSolver2::Builder & | WithGridSpacing (const Vector2D &gridSpacing) |
Returns builder with grid spacing. More... | |
GridFluidSolver2::Builder & | WithGridSpacing (double gridSpacing) |
Returns builder with grid spacing. More... | |
GridFluidSolver2::Builder & | WithDomainSizeX (double domainSizeX) |
Returns builder with domain size in x-direction. More... | |
GridFluidSolver2::Builder & | WithOrigin (const Vector2D &gridOrigin) |
Returns builder with grid origin. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CubbyFlow::GridFluidSolverBuilderBase2< GridFluidSolver2::Builder > | |
Vector2D | GetGridSpacing () const |
Protected Attributes inherited from CubbyFlow::GridFluidSolverBuilderBase2< GridFluidSolver2::Builder > | |
Size2 | m_resolution |
Vector2D | m_gridSpacing |
Vector2D | m_gridOrigin |
double | m_domainSizeX |
bool | m_useDomainSize |
Detailed Description
Front-end to create GridFluidSolver2 objects step by step.
Member Function Documentation
◆ Build()
GridFluidSolver2 CubbyFlow::GridFluidSolver2::Builder::Build | ( | ) | const |
Builds GridFluidSolver2.
◆ MakeShared()
|
inline |
Builds shared pointer of GridFluidSolver2 instance.
The documentation for this class was generated from the following file:
- Core/Solver/Grid/GridFluidSolver2.h