Class OmegaHEntityLayout

Inheritance Relationships

Base Type

  • public FieldLayout

Class Documentation

class OmegaHEntityLayout : public FieldLayout

Public Functions

OmegaHEntityLayout(std::shared_ptr<const Geometry> geometry, int entity_dim, int num_components)

The DOF holders are the entities of dimension entity_dim of the geometry’s mesh. The layout is on geometry, and takes its coordinate system and its global id tag name.

Throws:

pcms_error – if geometry is null or not an Omega_h geometry

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
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