// Copyright(C) 2020, 2021, 2022 National Technology & Engineering Solutions // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with // NTESS, the U.S. Government retains certain rights in this software. // // See packages/seacas/LICENSE for details #pragma once #include #include #include struct DataPool { // Data space shared by most field input/output routines... std::vector data{}; std::vector data_int{}; std::vector data_int64{}; std::vector data_double{}; std::vector data_complex{}; #ifdef SEACAS_HAVE_KOKKOS Kokkos::View data_view_char{}; Kokkos::View data_view_int{}; Kokkos::View data_view_int64{}; Kokkos::View data_view_double{}; // Kokkos::View data_view_complex cannot be a global variable, // Since Kokkos::initialize() has not yet been called. Also, a Kokkos:View cannot // have type std::complex entities. Kokkos::View data_view_2D_char{}; Kokkos::View data_view_2D_int{}; Kokkos::View data_view_2D_int64{}; Kokkos::View data_view_2D_double{}; // Kokkos::View data_view_2D_complex cannot be a global variable, // Since Kokkos::initialize() has not yet been called. Also, a Kokkos:View cannot // have type std::complex entities. Kokkos::View data_view_2D_char_layout_space{}; Kokkos::View data_view_2D_int_layout_space{}; Kokkos::View data_view_2D_int64_layout_space{}; Kokkos::View data_view_2D_double_layout_space{}; // Kokkos::View // data_view_2D_complex_layout_space cannot be a global variable, // Since Kokkos::initialize() has not yet been called. Also, a Kokkos:View cannot // have type std::complex entities. #endif };