Class OmegaHLagrangeLayout

Inheritance Relationships

Base Type

  • public FieldLayout

Class Documentation

class OmegaHLagrangeLayout : public FieldLayout

Public Functions

OmegaHLagrangeLayout(std::shared_ptr<const OmegaHGeometry> geometry, int order, int num_components, std::string name = "")

The layout is on geometry, whose mesh it lays out, and takes its coordinate system, its global id tag name and its owned mask. The mask is per vertex: it applies to the DOF holders of an order-1 layout and not to those of an order-0 layout.

Throws:
  • pcms_error – if geometry is null

  • std::invalid_argument – if order is neither 0 nor 1

Parameters:

name – the layout’s name (FieldLayout::GetName)

int GetNumComponents() const override
LO GetNumDofHolder() const override
bool HasGhosts() const override
LO GetNumDofHolderWithGhosts() const
GO GetNumGlobalDofHolder() const override
Rank1View<const bool, HostMemorySpace> GetOwnedHost() const override
GlobalIDView<HostMemorySpace> GetGidsHost() const override
GlobalIDView<DeviceMemorySpace> GetGids() const
CoordinateView<DeviceMemorySpace> GetDOFHolderCoordinates() const override
EntOffsetsArray GetEntOffsets() const override
Kokkos::View<const LO*, HostMemorySpace> GetOwnedIndicesHost() const override
Kokkos::View<const LO*, DeviceMemorySpace> GetOwnedIndices() const override
bool IsDistributed() const override
int GetDimension() const override
int GetDOFHolderEntityDim() const override
Rank1View<const LO, HostMemorySpace> GetDOFHolderClassificationDimensionsHost() const override
Rank1View<const LO, HostMemorySpace> GetDOFHolderClassificationIdsHost() const override
int GetOrder() const
Omega_h::Mesh &GetMesh() const