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:
CubbyFlow::VectorGridBuilder3

Public Member Functions

BuilderWithResolution (const Size3 &resolution)
 Returns builder with resolution. More...
 
BuilderWithResolution (size_t resolutionX, size_t resolutionY, size_t resolutionZ)
 Returns builder with resolution. More...
 
BuilderWithGridSpacing (const Vector3D &gridSpacing)
 Returns builder with grid spacing. More...
 
BuilderWithGridSpacing (double gridSpacingX, double gridSpacingY, double gridSpacingZ)
 Returns builder with grid spacing. More...
 
BuilderWithOrigin (const Vector3D &gridOrigin)
 Returns builder with grid origin. More...
 
BuilderWithOrigin (double gridOriginX, double gridOriginY, double gridOriginZ)
 Returns builder with grid origin. More...
 
BuilderWithInitialValue (const Vector3D &initialVal)
 Returns builder with initial value. More...
 
BuilderWithInitialValue (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]

VectorGrid3Ptr CubbyFlow::FaceCenteredGrid3::Builder::Build ( const Size3 resolution,
const Vector3D gridSpacing,
const Vector3D gridOrigin,
const Vector3D initialVal 
) const
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]

Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithGridSpacing ( const Vector3D gridSpacing)

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]

Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithInitialValue ( const Vector3D initialVal)

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]

Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithOrigin ( const Vector3D gridOrigin)

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]

Builder& CubbyFlow::FaceCenteredGrid3::Builder::WithResolution ( const Size3 resolution)

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: