Project
Loading...
Searching...
No Matches
qconfig_internal_helpers.h File Reference
#include "qconfig_helpers.h"
#include <tuple>
#include <type_traits>

Go to the source code of this file.

Classes

struct  qConfig::qConfigSettings< T >
 
struct  qConfig::qSettingsType< T >
 
struct  qConfig::qSettingsType< std::tuple< X... > >
 
struct  qConfig::qConfigSettingsParser< T >
 

Namespaces

namespace  qConfig
 

Macros

#define QCONFIG_SETTING(name, type)
 
#define QCONFIG_SETTING_TEMPLATE(name)
 

Detailed Description

Author
David Rohr

Definition in file qconfig_internal_helpers.h.

Macro Definition Documentation

◆ QCONFIG_SETTING

#define QCONFIG_SETTING (   name,
  type 
)
Value:
struct qon_mxcat3(q, name, _t) { \
type v; \
constexpr qon_mxcat3(q, name, _t)(type s) : v(s) {} \
}; \
constexpr qon_mxcat3(q, name, _t) name(type v) { return (qon_mxcat3(q, name, _t)(v)); }
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
const GLdouble * v
Definition glcorearb.h:832
GLuint const GLchar * name
Definition glcorearb.h:781
GLint GLint GLsizei GLint GLenum GLenum type
Definition glcorearb.h:275
#define qon_mxcat3(a, b, c)

Definition at line 24 of file qconfig_internal_helpers.h.

◆ QCONFIG_SETTING_TEMPLATE

#define QCONFIG_SETTING_TEMPLATE (   name)
Value:
template <typename T> \
struct qon_mxcat3(q, name, _t) { \
T v; \
constexpr qon_mxcat3(q, name, _t)(const T& s) : v(s) {} \
}; \
template <typename T> \
constexpr qon_mxcat3(q, name, _t)<T> name(T v) \
{ \
return (qon_mxcat3(q, name, _t) < T > (v)); \
}

Definition at line 31 of file qconfig_internal_helpers.h.