VertexCenteredVectorGrid.hpp
Go to the documentation of this file.
#define CUBBYFLOW_GRID_TYPE_NAME(DerivedClassName, N)
Definition: Grid.hpp:195
A grid builder class that returns N-D vertex-centered vector grid.
Definition: VertexCenteredVectorGrid.hpp:122
~VertexCenteredVectorGrid() override=default
Default virtual destructor.
void Set(const VertexCenteredVectorGrid &other)
Sets the contents with the given other grid.
N-D Vertex-centered vector grid structure.
Definition: VertexCenteredVectorGrid.hpp:27
Abstract base class for N-D vector grid builder.
Definition: VectorGrid.hpp:117
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
std::shared_ptr< VertexCenteredVectorGrid3 > VertexCenteredVectorGrid3Ptr
Shared pointer for the VertexCenteredVectorGrid3 type.
Definition: VertexCenteredVectorGrid.hpp:118
Definition: pybind11Utils.hpp:20
Vector< size_t, N > DataSize() const override
Returns the actual data point size.
VertexCenteredVectorGrid()=default
Constructs zero-sized grid.
std::shared_ptr< VectorGrid< N > > Clone() const override
Returns the copy of the grid instance.
VertexCenteredVectorGrid & operator=(const VertexCenteredVectorGrid &other)
Copy assignment operator.
static Builder GetBuilder()
Returns builder fox VertexCenteredVectorGrid.
Vector< double, N > DataOrigin() const override
void Fill(const Vector< double, N > &value, ExecutionPolicy policy=ExecutionPolicy::Parallel) override
Fills the grid with given value.
Abstract base class for N-D collocated vector grid structure.
Definition: CollocatedVectorGrid.hpp:22
std::shared_ptr< VertexCenteredVectorGrid2 > VertexCenteredVectorGrid2Ptr
Shared pointer for the VertexCenteredVectorGrid2 type.
Definition: VertexCenteredVectorGrid.hpp:115
void Swap(Grid< N > *other) override
Swaps the contents with the given other grid.