#include "gennExport.h"
#include "models.h"
Go to the source code of this file.
|
#define | DECLARE_CUSTOM_UPDATE_MODEL_EGP_REF(TYPE, NUM_PARAMS, NUM_VARS, NUM_VAR_REFS, NUM_EGP_REFS) |
|
#define | DECLARE_CUSTOM_UPDATE_MODEL(TYPE, NUM_PARAMS, NUM_VARS, NUM_VAR_REFS) DECLARE_CUSTOM_UPDATE_MODEL_EGP_REF(TYPE, NUM_PARAMS, NUM_VARS, NUM_VAR_REFS, 0) |
|
#define | SET_VAR_REFS(...) virtual VarRefVec getVarRefs() const override{ return __VA_ARGS__; } |
|
#define | SET_EXTRA_GLOBAL_PARAM_REFS(...) virtual EGPRefVec getExtraGlobalParamRefs() const override{ return __VA_ARGS__; } |
|
#define | SET_UPDATE_CODE(UPDATE_CODE) virtual std::string getUpdateCode() const override{ return UPDATE_CODE; } |
|
◆ DECLARE_CUSTOM_UPDATE_MODEL
◆ DECLARE_CUSTOM_UPDATE_MODEL_EGP_REF
#define DECLARE_CUSTOM_UPDATE_MODEL_EGP_REF |
( |
|
TYPE, |
|
|
|
NUM_PARAMS, |
|
|
|
NUM_VARS, |
|
|
|
NUM_VAR_REFS, |
|
|
|
NUM_EGP_REFS |
|
) |
| |
Value:#define TYPE(T)
Definition: backendBase.cc:14
#define DECLARE_SNIPPET(TYPE, NUM_PARAMS)
Definition: snippet.h:19
◆ SET_EXTRA_GLOBAL_PARAM_REFS
#define SET_EXTRA_GLOBAL_PARAM_REFS |
( |
|
... | ) |
virtual EGPRefVec getExtraGlobalParamRefs() const override{ return __VA_ARGS__; } |
◆ SET_UPDATE_CODE
#define SET_UPDATE_CODE |
( |
|
UPDATE_CODE | ) |
virtual std::string getUpdateCode() const override{ return UPDATE_CODE; } |
◆ SET_VAR_REFS
#define SET_VAR_REFS |
( |
|
... | ) |
virtual VarRefVec getVarRefs() const override{ return __VA_ARGS__; } |