CubbyFlow::ScalarGridBuilder2 Class Referenceabstract

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

#include <Core/Grid/ScalarGrid2.h>

Inheritance diagram for CubbyFlow::ScalarGridBuilder2:
CubbyFlow::CellCenteredScalarGrid2::Builder CubbyFlow::VertexCenteredScalarGrid2::Builder

Public Member Functions

 ScalarGridBuilder2 ()
 Creates a builder. More...
 
virtual ~ScalarGridBuilder2 ()
 Default destructor. More...
 
virtual ScalarGrid2Ptr Build (const Size2 &resolution, const Vector2D &gridSpacing, const Vector2D &gridOrigin, double initialVal) const =0
 Returns 2-D scalar grid with given parameters. More...
 

Detailed Description

Abstract base class for 2-D scalar grid builder.

Constructor & Destructor Documentation

◆ ScalarGridBuilder2()

CubbyFlow::ScalarGridBuilder2::ScalarGridBuilder2 ( )

Creates a builder.

◆ ~ScalarGridBuilder2()

virtual CubbyFlow::ScalarGridBuilder2::~ScalarGridBuilder2 ( )
virtual

Default destructor.

Member Function Documentation

◆ Build()

virtual ScalarGrid2Ptr CubbyFlow::ScalarGridBuilder2::Build ( const Size2 resolution,
const Vector2D gridSpacing,
const Vector2D gridOrigin,
double  initialVal 
) const
pure virtual

Returns 2-D scalar grid with given parameters.

Implemented in CubbyFlow::CellCenteredScalarGrid2::Builder, and CubbyFlow::VertexCenteredScalarGrid2::Builder.


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