Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-15 08:52:36

0001 //-----------------------------------*-C++-*---------------------------------//
0002 // Copyright 2020-2024 UT-Battelle, LLC, and other Celeritas developers.
0003 // See the top-level COPYRIGHT file for details.
0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT)
0005 //---------------------------------------------------------------------------//
0006 /*!
0007  * \file corecel/Config.hh
0008  * \brief Configuration-specific options for Celeritas.
0009  *
0010  * Note that the nonzero values for \c CELERITAS_CORE_RNG and \c
0011  * CELERITAS_CORE_GEO values *must not* be used directly: only compare between
0012  * (e.g.) \c CELERITAS_CORE_RNG and \c CELERITAS_CORE_RNG_HIPRAND; options that
0013  * are *invalid* (e.g. for missing libraries such as HIP) will have a value of
0014  * zero.
0015  */
0016 //---------------------------------------------------------------------------//
0017 #pragma once
0018 
0019 //---------------------------------------------------------------------------//
0020 // User-configurable options for Celeritas
0021 //---------------------------------------------------------------------------//
0022 
0023 #define CELERITAS_USE_CUDA 0
0024 #define CELERITAS_USE_GEANT4 1
0025 #define CELERITAS_USE_HEPMC3 1
0026 #define CELERITAS_USE_HIP 0
0027 #define CELERITAS_USE_MPI 0
0028 #define CELERITAS_USE_OPENMP 0
0029 #define CELERITAS_USE_PERFETTO 0
0030 #define CELERITAS_USE_PNG 1
0031 #define CELERITAS_USE_ROOT 1
0032 #define CELERITAS_USE_VECGEOM 1
0033 
0034 #define CELERITAS_DEBUG 0
0035 #define CELERITAS_DEVICE_DEBUG 0
0036 
0037 #define CELERITAS_REAL_TYPE_DOUBLE 1
0038 #define CELERITAS_REAL_TYPE_FLOAT 2
0039 #define CELERITAS_REAL_TYPE CELERITAS_REAL_TYPE_DOUBLE
0040 
0041 #define CELERITAS_UNITS_CGS 1
0042 #define CELERITAS_UNITS_SI 2
0043 #define CELERITAS_UNITS_CLHEP 3
0044 #define CELERITAS_UNITS CELERITAS_UNITS_CGS
0045 
0046 #define CELERITAS_OPENMP_EVENT 0
0047 #define CELERITAS_OPENMP_TRACK 0
0048 #define CELERITAS_OPENMP_DISABLED 1
0049 #define CELERITAS_OPENMP CELERITAS_OPENMP_DISABLED
0050 
0051 #define CELERITAS_CORE_GEO_VECGEOM 1
0052 #define CELERITAS_CORE_GEO_ORANGE 2
0053 #define CELERITAS_CORE_GEO_GEANT4 3
0054 #define CELERITAS_CORE_GEO CELERITAS_CORE_GEO_VECGEOM
0055 
0056 #define CELERITAS_CORE_RNG_CURAND 0
0057 #define CELERITAS_CORE_RNG_HIPRAND 0
0058 #define CELERITAS_CORE_RNG_XORWOW 1
0059 #define CELERITAS_CORE_RNG CELERITAS_CORE_RNG_XORWOW
0060 
0061 #define CELERITAS_MAX_BLOCK_SIZE 0
0062 
0063 //---------------------------------------------------------------------------//
0064 // Detailed CMake configuration information
0065 //---------------------------------------------------------------------------//
0066 
0067 inline constexpr char celeritas_build_type[] = "Release";
0068 inline constexpr char celeritas_hostname[] = "buildkitsandbox";
0069 inline constexpr char celeritas_real_type[] = "double";
0070 inline constexpr char celeritas_units[] = "CGS";
0071 inline constexpr char celeritas_openmp[] = "disabled";
0072 inline constexpr char celeritas_core_geo[] = "VecGeom";
0073 inline constexpr char celeritas_core_rng[] = "xorwow";
0074 inline constexpr char celeritas_clhep_version[] = "2.4.6.4";
0075 inline constexpr char celeritas_geant4_version[] = "11.2.2";
0076 inline constexpr char celeritas_vecgeom_version[] = "1.2.9";
0077 
0078 
0079 //---------------------------------------------------------------------------//
0080 // System-specific properties for Celeritas
0081 //---------------------------------------------------------------------------//
0082 
0083 #define CELERITAS_HAVE_ROCTX 0
0084 
0085 
0086 #define CELERITAS_GEANT4_VERSION 0x0b0202
0087 #define CELERITAS_VECGEOM_VERSION 0x010209
0088 #define CELERITAS_HEPMC3_VERSION 0x030300