Go to the documentation of this file.
33 #ifndef IOSS_code_types_h
34 #define IOSS_code_types_h
44 #define ssize_t __int64
54 using IJK_t = std::array<int, 3>;
57 inline const std::string
IOSS_SCALAR() {
return std::string(
"scalar"); }
58 inline const std::string
IOSS_VECTOR_2D() {
return std::string(
"vector_2d"); }
59 inline const std::string
IOSS_VECTOR_3D() {
return std::string(
"vector_3d"); }
60 inline const std::string
IOSS_SYM_TENSOR() {
return std::string(
"sym_tensor_33"); }
62 #if defined(BUILT_IN_SIERRA)
63 #define SEACAS_HAVE_MPI
67 #define SEACAS_HAVE_EXODUS
68 #define SEACAS_HAVE_CGNS
69 #define SEACAS_HAVE_PAMGEN
70 #define PARALLEL_AWARE_EXODUS
72 #include <SEACASIoss_config.h>
75 #if defined(PARALLEL_AWARE_EXODUS)
76 #ifndef SEACAS_HAVE_MPI
77 #define SEACAS_HAVE_MPI
81 #if defined(IOSS_THREADSAFE)
85 #if defined(SEACAS_HAVE_MPI)
89 #define PAR_UNUSED(x) \
94 #ifndef MPI_COMM_WORLD
95 #define MPI_COMM_WORLD 0
100 #ifdef SEACAS_HAVE_KOKKOS
101 #include <Kokkos_Core.hpp>
105 #if defined(FOUR_BYTE_REAL)
110 using Complex = std::complex<float>;
111 #ifdef SEACAS_HAVE_KOKKOS
112 using Kokkos_Complex = Kokkos::complex<float>;
116 #ifdef SEACAS_HAVE_KOKKOS
117 using Kokkos_Complex = Kokkos::complex<double>;
122 #if defined(IOSS_THREADSAFE)
123 #define IOSS_FUNC_ENTER(m) std::lock_guard<std::mutex> guard(m)
126 #if defined IOSS_TRACE
128 #define IOSS_FUNC_ENTER(m) Ioss::Tracer m(__func__)
130 #define IOSS_FUNC_ENTER(m)
134 #ifndef IOSS_DEBUG_OUTPUT
135 #define IOSS_DEBUG_OUTPUT 0
std::vector< std::string > NameList
Definition: Ioss_CodeTypes.h:53
std::complex< double > Complex
Definition: Ioss_CodeTypes.h:115
std::vector< int > IntVector
Definition: Ioss_CodeTypes.h:51
const std::string IOSS_VECTOR_3D()
Definition: Ioss_CodeTypes.h:59
const std::string IOSS_SYM_TENSOR()
Definition: Ioss_CodeTypes.h:60
The main namespace for the Ioss library.
Definition: Ioad_DatabaseIO.C:66
std::vector< int64_t > Int64Vector
Definition: Ioss_CodeTypes.h:52
const std::string IOSS_SCALAR()
Definition: Ioss_CodeTypes.h:57
std::array< int, 3 > IJK_t
Definition: Ioss_CodeTypes.h:54
int MPI_Comm
Definition: Ioss_CodeTypes.h:96
const std::string IOSS_VECTOR_2D()
Definition: Ioss_CodeTypes.h:58