Nonconvex constrained optimization
Loading...
Searching...
No Matches
register-config.hpp File Reference
Include dependency graph for register-config.hpp:

Go to the source code of this file.

Macros

#define DECLARE_ALPAQA_CONFIG(Conf)
#define DEFINE_ALPAQA_CONFIG(Conf)
#define DECLARE_AND_DEFINE_ALPAQA_CONFIG(Conf)

Macro Definition Documentation

◆ DECLARE_ALPAQA_CONFIG

#define DECLARE_ALPAQA_CONFIG ( Conf)
Value:
template <> \
struct alpaqa::is_config<Conf> : std::true_type {}; \
extern template struct __attribute__((visibility("default"))) alpaqa::ProblemVTable<Conf>;

Definition at line 18 of file register-config.hpp.

◆ DEFINE_ALPAQA_CONFIG

#define DEFINE_ALPAQA_CONFIG ( Conf)
Value:
template struct alpaqa::ProblemVTable<Conf>; \
template <> \
const typename Conf::vec alpaqa::null_vec<Conf>{};
const rvec< Conf > null_vec
Global empty vector for convenience.
Definition config.hpp:193
Struct containing function pointers to all problem functions (like the objective and constraint funct...

Definition at line 22 of file register-config.hpp.

◆ DECLARE_AND_DEFINE_ALPAQA_CONFIG

#define DECLARE_AND_DEFINE_ALPAQA_CONFIG ( Conf)
Value:
DEFINE_ALPAQA_CONFIG(Conf)
#define DECLARE_ALPAQA_CONFIG(Conf)

Definition at line 29 of file register-config.hpp.