CubbyFlow::FaceCenteredGrid3::Builder Class Referencefinal
Front-end to create CellCenteredScalarGrid3 objects step by step. More...
#include <Core/Grid/FaceCenteredGrid3.h>
Inheritance diagram for CubbyFlow::FaceCenteredGrid3::Builder:
Public Member Functions | |
Builder & | WithResolution (const Size3 &resolution) |
Returns builder with resolution. More... | |
Builder & | WithResolution (size_t resolutionX, size_t resolutionY, size_t resolutionZ) |
Returns builder with resolution. More... | |
Builder & | WithGridSpacing (const Vector3D &gridSpacing) |
Returns builder with grid spacing. More... | |
Builder & | WithGridSpacing (double gridSpacingX, double gridSpacingY, double gridSpacingZ) |
Returns builder with grid spacing. More... | |
Builder & | WithOrigin (const Vector3D &gridOrigin) |
Returns builder with grid origin. More... | |
Builder & | WithOrigin (double gridOriginX, double gridOriginY, double gridOriginZ) |
Returns builder with grid origin. More... | |
Builder & | WithInitialValue (const Vector3D &initialVal) |
Returns builder with initial value. More... | |
Builder & | WithInitialValue (double initialValX, double initialValY, double initialValZ) |
Returns builder with initial value. More... | |
FaceCenteredGrid3 | Build () const |
Builds CellCenteredScalarGrid3 instance. More... | |
FaceCenteredGrid3Ptr | MakeShared () const |
Builds shared pointer of FaceCenteredGrid3 instance. More... | |
VectorGrid3Ptr | Build (const Size3 &resolution, const Vector3D &gridSpacing, const Vector3D &gridOrigin, const Vector3D &initialVal) const override |
Builds shared pointer of FaceCenteredGrid3 instance. More... | |
Public Member Functions inherited from CubbyFlow::VectorGridBuilder3 | |
VectorGridBuilder3 () | |
Creates a builder. More... | |
virtual | ~VectorGridBuilder3 () |
Default destructor. More... | |
Detailed Description
Front-end to create CellCenteredScalarGrid3 objects step by step.
Member Function Documentation
◆ Build() [1/2]
FaceCenteredGrid3 CubbyFlow::FaceCenteredGrid3::Builder::Build | ( | ) | const |
Builds CellCenteredScalarGrid3 instance.
◆ Build() [2/2]
|
overridevirtual |
Builds shared pointer of FaceCenteredGrid3 instance.
This is an overriding function that implements VectorGridBuilder3.
Implements CubbyFlow::VectorGridBuilder3.
◆ MakeShared()
FaceCenteredGrid3Ptr CubbyFlow::FaceCenteredGrid3::Builder::MakeShared | ( | ) | const |
Builds shared pointer of FaceCenteredGrid3 instance.
◆ WithGridSpacing() [1/2]
Returns builder with grid spacing.
◆ WithGridSpacing() [2/2]
Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithGridSpacing | ( | double | gridSpacingX, |
double | gridSpacingY, | ||
double | gridSpacingZ | ||
) |
Returns builder with grid spacing.
◆ WithInitialValue() [1/2]
Returns builder with initial value.
◆ WithInitialValue() [2/2]
Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithInitialValue | ( | double | initialValX, |
double | initialValY, | ||
double | initialValZ | ||
) |
Returns builder with initial value.
◆ WithOrigin() [1/2]
Returns builder with grid origin.
◆ WithOrigin() [2/2]
Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithOrigin | ( | double | gridOriginX, |
double | gridOriginY, | ||
double | gridOriginZ | ||
) |
Returns builder with grid origin.
◆ WithResolution() [1/2]
Returns builder with resolution.
◆ WithResolution() [2/2]
Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithResolution | ( | size_t | resolutionX, |
size_t | resolutionY, | ||
size_t | resolutionZ | ||
) |
Returns builder with resolution.
The documentation for this class was generated from the following file:
- Core/Grid/FaceCenteredGrid3.h