hexed 0.4.0
 
Loading...
Searching...
No Matches
config.hpp.in File Reference

Supplies options configured by build.py to C++ code. More...

#include <string>
#include <cstdint>

Namespaces

namespace  hexed
 Global namespace for all of the C++ API of Hexed.
 
namespace  hexed::config
 Namespace for options configured at build time.
 

Macros

#define HEXED_CONFIG_HPP_
 
#define HEXED_THREADED   {[int(options["threaded"])]}
 
#define HEXED_USE_XDMF   {[int(options["use_xdmf"])]}
 
#define HEXED_USE_TECPLOT   {[int(options["use_tecio"])]}
 
#define HEXED_USE_NLOPT   0
 
#define HEXED_OBSESSIVE_TIMING   {[int(options["obsessive_timing"])]}
 
#define HEXED_VIS_MESH_OPT   0
 

Variables

constexpr int hexed::config::version_major = {[options["version_major"]]}
 This is Hexed version version_major .version_minor .version_patch .
 
constexpr int hexed::config::version_minor = {[options["version_minor"]]}
 This is Hexed version version_major .version_minor .version_patch .
 
constexpr int hexed::config::version_patch = {[options["version_patch"]]}
 This is Hexed version version_major .version_minor .version_patch .
 
const std::string hexed::config::commit = "{[options['commit']]}"
 commit hash of the source this code was compiled from
 
constexpr int hexed::config::max_row_size = {[options["max_row_size"]]}
 maximum row size that a Basis is allowed to have
 
constexpr int hexed::config::n_threads = {[options["n_threads"]]}
 number of threads with which to execute parallel regions
 
constexpr int hexed::config::debug_variables = 1
 

Detailed Description

Supplies options configured by build.py to C++ code.

Anything wrapped in {[]}s will be evaluated as Python code and substituted at build time.