DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
Macros.hpp File Reference

Project-wide preprocessor flags, branch-hint macros, and version/build metadata strings. Included first by Defines.hpp. More...

#include <string>
#include "Experimentals.hpp"
#include "Warnings.hpp"
Include dependency graph for Macros.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EIGEN_HAS_CXX14_VARIABLE_TEMPLATES   1
 Enable Eigen's C++14 variable templates extension.
 
#define EIGEN_DONT_PARALLELIZE   1
 Disable Eigen's own OpenMP parallelisation. DNDSR controls threading explicitly through OpenMP parallel regions in the solvers.
 
#define DNDS_likely(x)   (x)
 
#define DNDS_unlikely(x)   (x)
 
#define DNDS_CURRENT_COMMIT_HASH   UNKNOWN
 Fallback when the build system did not inject the git hash.
 
#define DNDS_VERSION_STRING   "unknown"
 Fallback when the build system did not inject the version string.
 
#define DNDS_MACRO_TO_STRING(V)   __DNDS_str(V)
 Stringize a macro value after a round of expansion. DNDS_MACRO_TO_STRING(FOO) yields the textual value of FOO.
 
#define __DNDS_str(V)   #V
 
#define DNDS_SWITCH_INTELLISENSE(real, intellisense)   intellisense
 

Detailed Description

Project-wide preprocessor flags, branch-hint macros, and version/build metadata strings. Included first by Defines.hpp.

Definition in file Macros.hpp.

Macro Definition Documentation

◆ __DNDS_str

#define __DNDS_str (   V)    #V

Definition at line 77 of file Macros.hpp.

◆ DNDS_CURRENT_COMMIT_HASH

#define DNDS_CURRENT_COMMIT_HASH   UNKNOWN

Fallback when the build system did not inject the git hash.

Definition at line 67 of file Macros.hpp.

◆ DNDS_likely

#define DNDS_likely (   x)    (x)

Definition at line 42 of file Macros.hpp.

◆ DNDS_MACRO_TO_STRING

#define DNDS_MACRO_TO_STRING (   V)    __DNDS_str(V)

Stringize a macro value after a round of expansion. DNDS_MACRO_TO_STRING(FOO) yields the textual value of FOO.

Definition at line 76 of file Macros.hpp.

◆ DNDS_SWITCH_INTELLISENSE

#define DNDS_SWITCH_INTELLISENSE (   real,
  intellisense 
)    intellisense

Definition at line 86 of file Macros.hpp.

◆ DNDS_unlikely

#define DNDS_unlikely (   x)    (x)

Definition at line 43 of file Macros.hpp.

◆ DNDS_VERSION_STRING

#define DNDS_VERSION_STRING   "unknown"

Fallback when the build system did not inject the version string.

Definition at line 72 of file Macros.hpp.

◆ EIGEN_DONT_PARALLELIZE

#define EIGEN_DONT_PARALLELIZE   1

Disable Eigen's own OpenMP parallelisation. DNDSR controls threading explicitly through OpenMP parallel regions in the solvers.

Definition at line 16 of file Macros.hpp.

◆ EIGEN_HAS_CXX14_VARIABLE_TEMPLATES

#define EIGEN_HAS_CXX14_VARIABLE_TEMPLATES   1

Enable Eigen's C++14 variable templates extension.

Definition at line 12 of file Macros.hpp.