CubbyFlow::ScalarGridBuilder3 Class Referenceabstract

Abstract base class for 3-D scalar grid builder. More...

#include <Core/Grid/ScalarGrid3.h>

Inheritance diagram for CubbyFlow::ScalarGridBuilder3:
CubbyFlow::CellCenteredScalarGrid3::Builder CubbyFlow::VertexCenteredScalarGrid3::Builder

Public Member Functions

 ScalarGridBuilder3 ()
 Creates a builder. More...
 
virtual ~ScalarGridBuilder3 ()
 Default destructor. More...
 
virtual ScalarGrid3Ptr Build (const Size3 &resolution, const Vector3D &gridSpacing, const Vector3D &gridOrigin, double initialVal) const =0
 Returns 3-D scalar grid with given parameters. More...
 

Detailed Description

Abstract base class for 3-D scalar grid builder.

Constructor & Destructor Documentation

◆ ScalarGridBuilder3()

CubbyFlow::ScalarGridBuilder3::ScalarGridBuilder3 ( )

Creates a builder.

◆ ~ScalarGridBuilder3()

virtual CubbyFlow::ScalarGridBuilder3::~ScalarGridBuilder3 ( )
virtual

Default destructor.

Member Function Documentation

◆ Build()

virtual ScalarGrid3Ptr CubbyFlow::ScalarGridBuilder3::Build ( const Size3 resolution,
const Vector3D gridSpacing,
const Vector3D gridOrigin,
double  initialVal 
) const
pure virtual

Returns 3-D scalar grid with given parameters.

Implemented in CubbyFlow::CellCenteredScalarGrid3::Builder, and CubbyFlow::VertexCenteredScalarGrid3::Builder.


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