-
Notifications
You must be signed in to change notification settings - Fork 26
/
config.hpp.in
39 lines (29 loc) · 1.35 KB
/
config.hpp.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef CONFIG_HPP_
#define CONFIG_HPP_
//========================================================================================
// AthenaXXX astrophysical plasma code
// Copyright(C) 2020 James M. Stone <jmstone@ias.edu> and the Athena code team
// Licensed under the 3-clause BSD License (the "LICENSE")
//========================================================================================
// problem generator (string)
#define PROBLEM_GENERATOR "@PROBLEM@"
#define USER_PROBLEM_ENABLED @USER_PROBLEM_ENABLED@
#define TWO_PUNCTURES @TWO_PUNCTURES@
// Code versions defined in CMakeLists.txt
#define ATHENA_VERSION_MAJOR @athena_VERSION_MAJOR@
#define ATHENA_VERSION_MINOR @athena_VERSION_MINOR@
// use single precision floating-point values (binary32)? default=0 (false; use binary64)
#define SINGLE_PRECISION_ENABLED @SINGLE_PRECISION_ENABLED@
// use MPI parallelization? default=0 (false)
#define MPI_PARALLEL_ENABLED @MPI_PARALLEL_ENABLED@
// use OpenMP parallelization? default=0 (false)
#define OPENMP_PARALLEL_ENABLED @OPENMP_PARALLEL_ENABLED@
// Kokkos tight loop layout
//#define @PAR_LOOP_LAYOUT@
// Kokkos nested loop layout (inner)
//#define @PAR_LOOP_INNER_LAYOUT@
// compiler options
#define COMPILED_WITH "@COMPILER_CHOICE@"
#define COMPILER_COMMAND "@COMPILER_COMMAND@"
#define COMPILED_WITH_OPTIONS "@COMPILER_FLAGS@" // NOLINT
#endif // CONFIG_HPP_