.. _program_listing_file_src_pcms_field_layout_xgc.h: Program Listing for File xgc.h ============================== |exhale_lsh| :ref:`Return to documentation for file ` (``src/pcms/field/layout/xgc.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef PCMS_XGC_FIELD_LAYOUT_H #define PCMS_XGC_FIELD_LAYOUT_H #include "pcms/discretization/discretization/xgc.hpp" #include "pcms/discretization/discretization/xgc_reverse_classification.h" #include "pcms/field/field_layout.h" namespace pcms { class XGCFieldLayout : public FieldLayout { public: XGCFieldLayout(const ReverseClassificationVertex& reverse_classification, LO num_plane_nodes); std::shared_ptr GetDiscretization() const noexcept override; int GetNumComponents() const override; LO GetNumOwnedDofHolder() const override; GO GetNumGlobalDofHolder() const override; Rank1View GetOwnedHost() const override; GlobalIDView GetGidsHost() const override; bool IsDistributed() const override; EntOffsetsArray GetEntOffsets() const override; CoordinateView GetDOFHolderCoordinates() const override; int GetDimension() const override; Rank1View GetDOFHolderClassificationDimensionsHost() const override; Rank1View GetDOFHolderClassificationIdsHost() const override; LO GetFullDataSize() const noexcept; private: Kokkos::View owned_; Kokkos::View gids_; Kokkos::View class_dims_; Kokkos::View class_ids_; Kokkos::View owned_host_; Kokkos::View gids_host_; Kokkos::View classification_dims_host_; Kokkos::View classification_ids_host_; Kokkos::View coords_; LO num_plane_nodes_; std::shared_ptr discretization_; }; } // namespace pcms #endif // PCMS_XGC_FIELD_LAYOUT_H