Template Class UniformGridFieldLayout

Inheritance Relationships

Base Type

  • public FieldLayout

Class Documentation

template<unsigned Dim = 2>
class UniformGridFieldLayout : public FieldLayout

Public Functions

UniformGridFieldLayout(std::shared_ptr<const UniformGridGeometry<Dim>> geometry, int num_components, int order = 1, std::string name = "")

The layout of order 0 (one DOF holder per cell) or 1 (one per vertex) on the grid of geometry, which it is on; it takes the geometry’s coordinate system.

Throws:

pcms_error – if geometry is null

int GetNumComponents() const override
LO GetNumDofHolder() const override
GO GetNumGlobalDofHolder() const override
Rank1View<const bool, HostMemorySpace> GetOwnedHost() const override
GlobalIDView<HostMemorySpace> GetGidsHost() const override
CoordinateView<DeviceMemorySpace> GetDOFHolderCoordinates() const override
bool IsDistributed() const override
EntOffsetsArray GetEntOffsets() const override
int GetDimension() const override
Rank1View<const LO, HostMemorySpace> GetDOFHolderClassificationDimensionsHost() const override
Rank1View<const LO, HostMemorySpace> GetDOFHolderClassificationIdsHost() const override
const UniformGrid<Dim> &GetGrid() const
LO GetNumCells() const
LO GetNumVertices() const
int GetOrder() const