CellCenteredVectorGrid.hpp
Go to the documentation of this file.
#define CUBBYFLOW_GRID_TYPE_NAME(DerivedClassName, N)
Definition: Grid.hpp:195
std::shared_ptr< CellCenteredVectorGrid2 > CellCenteredVectorGrid2Ptr
Shared pointer for the CellCenteredVectorGrid2 type.
Definition: CellCenteredVectorGrid.hpp:114
Vector< size_t, N > DataSize() const override
Returns the actual data point size.
~CellCenteredVectorGrid() override=default
Default virtual destructor.
std::shared_ptr< CellCenteredVectorGrid3 > CellCenteredVectorGrid3Ptr
Shared pointer for the CellCenteredVectorGrid3 type.
Definition: CellCenteredVectorGrid.hpp:117
void Fill(const Vector< double, N > &value, ExecutionPolicy policy=ExecutionPolicy::Parallel) override
Fills the grid with given value.
Front-end to create CellCenteredVectorGrid objects step by step.
Definition: CellCenteredVectorGrid.hpp:123
CellCenteredVectorGrid()=default
Constructs zero-sized grid.
Abstract base class for N-D vector grid builder.
Definition: VectorGrid.hpp:117
Definition: Matrix.hpp:27
std::shared_ptr< VectorGrid< N > > Clone() const override
Returns the copy of the grid instance.
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
Vector< double, N > DataOrigin() const override
void Swap(Grid< N > *other) override
Swaps the contents with the given other grid.
N-D Cell-centered vector grid structure.
Definition: CellCenteredVectorGrid.hpp:27
Abstract base class for N-D collocated vector grid structure.
Definition: CollocatedVectorGrid.hpp:22
static Builder GetBuilder()
Returns builder fox CellCenteredVectorGrid.
CellCenteredVectorGrid & operator=(const CellCenteredVectorGrid &other)
Copy assignment operator.
void Set(const CellCenteredVectorGrid &other)
Sets the contents with the given other grid.