VertexCenteredVectorGrid3.h
Go to the documentation of this file.
79 void Fill(const std::function<Vector3D(const Vector3D&)>& func, ExecutionPolicy policy = ExecutionPolicy::Parallel) override;
void Fill(const Vector3D &value, ExecutionPolicy policy=ExecutionPolicy::Parallel) override
Fills the grid with given value.
Abstract base class for 3-D collocated vector grid structure.
Definition: CollocatedVectorGrid3.h:19
void Swap(Grid3 *other) override
Swaps the contents with the given other grid.
Size3 GetDataSize() const override
Returns the actual data point size.
Abstract base class for 3-D vector grid builder.
Definition: VectorGrid3.h:93
Builder & WithGridSpacing(const Vector3D &gridSpacing)
Returns builder with grid spacing.
3-D Vertex-centered vector grid structure.
Definition: VertexCenteredVectorGrid3.h:24
Builder & WithResolution(const Size3 &resolution)
Returns builder with resolution.
VertexCenteredVectorGrid3 Build() const
Builds VertexCenteredVectorGrid3 instance.
Vector3D GetDataOrigin() const override
Builder & WithOrigin(const Vector3D &gridOrigin)
Returns builder with grid origin.
VertexCenteredVectorGrid3 & operator=(const VertexCenteredVectorGrid3 &other)
Sets the contents with the given other grid.
A grid builder class that returns 3-D vertex-centered Vector grid.
Definition: VertexCenteredVectorGrid3.h:92
std::shared_ptr< VertexCenteredVectorGrid3 > VertexCenteredVectorGrid3Ptr
Shared pointer for the VertexCenteredVectorGrid3 type.
Definition: VertexCenteredVectorGrid3.h:89
void Set(const VertexCenteredVectorGrid3 &other)
Sets the contents with the given other grid.
Definition: pybind11Utils.h:24
static Builder GetBuilder()
Returns builder fox VertexCenteredVectorGrid3.
VertexCenteredVectorGrid3Ptr MakeShared() const
Builds shared pointer of VertexCenteredVectorGrid3 instance.
Builder & WithInitialValue(double initialValU, double initialValV, double initialValW)
Returns builder with initial value.
std::shared_ptr< VectorGrid3 > Clone() const override
Returns the copy of the grid instance.
std::shared_ptr< VectorGrid3 > VectorGrid3Ptr
Shared pointer for the VectorGrid3 type.
Definition: VectorGrid3.h:90
VertexCenteredVectorGrid3()
Constructs zero-sized grid.