33 #ifndef IOSS_code_types_h 34 #define IOSS_code_types_h 46 using IJK_t = std::array<int, 3>;
49 inline const std::string
IOSS_SCALAR() {
return std::string(
"scalar"); }
50 inline const std::string
IOSS_VECTOR_2D() {
return std::string(
"vector_2d"); }
51 inline const std::string
IOSS_VECTOR_3D() {
return std::string(
"vector_3d"); }
52 inline const std::string
IOSS_SYM_TENSOR() {
return std::string(
"sym_tensor_33"); }
54 #if defined(SIERRA_PARALLEL_MPI) 55 #define SEACAS_HAVE_MPI 56 #define NO_DATAWAREHOUSE_SUPPORT 59 #define SEACAS_HAVE_CGNS 60 #define PARALLEL_AWARE_EXODUS 62 #include <SEACASIoss_config.h> 65 #if defined(PARALLEL_AWARE_EXODUS) 66 #ifndef SEACAS_HAVE_MPI 67 #define SEACAS_HAVE_MPI 71 #if defined(IOSS_THREADSAFE) 75 #if defined(SEACAS_HAVE_MPI) 78 #ifndef MPI_COMM_WORLD 79 #define MPI_COMM_WORLD 0 84 #ifdef SEACAS_HAVE_KOKKOS 85 #include <Kokkos_Core.hpp> 89 #if defined(FOUR_BYTE_REAL) 94 using Complex = std::complex<float>;
95 #ifdef SEACAS_HAVE_KOKKOS 96 using Kokkos_Complex = Kokkos::complex<float>;
100 #ifdef SEACAS_HAVE_KOKKOS 101 using Kokkos_Complex = Kokkos::complex<double>;
106 #if defined(IOSS_THREADSAFE) 107 #define IOSS_FUNC_ENTER(m) std::lock_guard<std::mutex> guard(m) 110 #if defined IOSS_TRACE 112 #define IOSS_FUNC_ENTER(m) Ioss::Tracer m(__func__) 115 #define IOSS_FUNC_ENTER(m) 119 #define IOSS_DEBUG_OUTPUT 0 std::vector< std::string > NameList
Definition: Ioss_CodeTypes.h:45
The main namespace for the Ioss library.
Definition: Iocgns_DatabaseIO.h:50
const std::string IOSS_VECTOR_2D()
Definition: Ioss_CodeTypes.h:50
std::vector< int > IntVector
Definition: Ioss_CodeTypes.h:43
const std::string IOSS_SCALAR()
Definition: Ioss_CodeTypes.h:49
const std::string IOSS_SYM_TENSOR()
Definition: Ioss_CodeTypes.h:52
std::complex< double > Complex
Definition: Ioss_CodeTypes.h:99
std::array< int, 3 > IJK_t
Definition: Ioss_CodeTypes.h:46
const std::string IOSS_VECTOR_3D()
Definition: Ioss_CodeTypes.h:51
std::vector< int64_t > Int64Vector
Definition: Ioss_CodeTypes.h:44
int MPI_Comm
Definition: Ioss_CodeTypes.h:80