VertexCenteredScalarGrid.hpp
Go to the documentation of this file.
std::shared_ptr< VertexCenteredScalarGrid3 > VertexCenteredScalarGrid3Ptr
Shared pointer for the VertexCenteredScalarGrid3 type.
Definition: VertexCenteredScalarGrid.hpp:107
#define CUBBYFLOW_GRID_TYPE_NAME(DerivedClassName, N)
Definition: Grid.hpp:195
Vector< size_t, N > DataSize() const override
Returns the actual data point size.
void Set(const VertexCenteredScalarGrid< N > &other)
Sets the contents with the given other grid.
VertexCenteredScalarGrid()=default
Constructs zero-sized grid.
Abstract base class for N-D scalar grid structure.
Definition: ScalarGrid.hpp:24
Front-end to create VertexCenteredScalarGrid objects step by step.
Definition: VertexCenteredScalarGrid.hpp:113
void Swap(Grid< N > *other) override
Swaps the contents with the given other grid.
N-D Vertex-centered scalar grid structure.
Definition: VertexCenteredScalarGrid.hpp:27
Definition: Matrix.hpp:27
static std::enable_if_t< IsMatrixSizeStatic< Rows, Cols >), D > MakeConstant(ValueType val)
Makes a static matrix with constant entries.
Definition: MatrixDenseBase-Impl.hpp:152
Definition: pybind11Utils.hpp:20
Abstract base class for N-D scalar grid builder.
Definition: ScalarGrid.hpp:273
VertexCenteredScalarGrid< N > & operator=(const VertexCenteredScalarGrid &other)
Copy assignment operator.
std::shared_ptr< ScalarGrid< N > > Clone() const override
Returns the copy of the grid instance.
static Builder GetBuilder()
Returns builder fox VertexCenteredScalarGrid<N>.
Vector< double, N > DataOrigin() const override
~VertexCenteredScalarGrid() override=default
Default virtual destructor.
std::shared_ptr< VertexCenteredScalarGrid2 > VertexCenteredScalarGrid2Ptr
Shared pointer for the VertexCenteredScalarGrid2 type.
Definition: VertexCenteredScalarGrid.hpp:104