Go to the documentation of this file.
7 #ifndef IOSS_code_types_h
8 #define IOSS_code_types_h
18 #define ssize_t __int64
28 using IJK_t = std::array<int, 3>;
31 inline const std::string
IOSS_SCALAR() {
return std::string(
"scalar"); }
32 inline const std::string
IOSS_VECTOR_2D() {
return std::string(
"vector_2d"); }
33 inline const std::string
IOSS_VECTOR_3D() {
return std::string(
"vector_3d"); }
34 inline const std::string
IOSS_SYM_TENSOR() {
return std::string(
"sym_tensor_33"); }
36 #if defined(BUILT_IN_SIERRA)
37 #define SEACAS_HAVE_MPI
41 #define SEACAS_HAVE_EXODUS
42 #define SEACAS_HAVE_CGNS
43 #define SEACAS_HAVE_PAMGEN
45 #include <SEACASIoss_config.h>
48 #if defined(IOSS_THREADSAFE)
52 #if defined(SEACAS_HAVE_MPI)
56 #define PAR_UNUSED(x) \
62 #define MPI_COMM_SELF 0
64 #ifndef MPI_COMM_WORLD
65 #define MPI_COMM_WORLD 0
70 #ifdef SEACAS_HAVE_KOKKOS
71 #include <Kokkos_Core.hpp>
75 #if defined(FOUR_BYTE_REAL)
80 using Complex = std::complex<float>;
81 #ifdef SEACAS_HAVE_KOKKOS
82 using Kokkos_Complex = Kokkos::complex<float>;
86 #ifdef SEACAS_HAVE_KOKKOS
87 using Kokkos_Complex = Kokkos::complex<double>;
92 #if defined(IOSS_THREADSAFE)
93 #define IOSS_FUNC_ENTER(m) std::lock_guard<std::mutex> guard(m)
96 #if defined IOSS_TRACE
98 #define IOSS_FUNC_ENTER(m) Ioss::Tracer m(__func__)
100 #define IOSS_FUNC_ENTER(m)
104 #ifndef IOSS_DEBUG_OUTPUT
105 #define IOSS_DEBUG_OUTPUT 0
std::vector< std::string > NameList
Definition: Ioss_CodeTypes.h:27
std::complex< double > Complex
Definition: Ioss_CodeTypes.h:85
std::vector< int > IntVector
Definition: Ioss_CodeTypes.h:25
const std::string IOSS_VECTOR_3D()
Definition: Ioss_CodeTypes.h:33
const std::string IOSS_SYM_TENSOR()
Definition: Ioss_CodeTypes.h:34
The main namespace for the Ioss library.
Definition: Ioad_DatabaseIO.C:40
std::vector< int64_t > Int64Vector
Definition: Ioss_CodeTypes.h:26
const std::string IOSS_SCALAR()
Definition: Ioss_CodeTypes.h:31
std::array< int, 3 > IJK_t
Definition: Ioss_CodeTypes.h:28
int MPI_Comm
Definition: Ioss_CodeTypes.h:66
const std::string IOSS_VECTOR_2D()
Definition: Ioss_CodeTypes.h:32