LoadSBMLOptions opt;
opt.setLLVMBackend(LoadSBMLOptions::MCJIT);
std::unique_ptr<Jit> j = JitFactory::makeJitEngine(opt.modelGeneratorOpt);
std::unique_ptr<Jit> j = makeJitEngine();
C_DECL_SPEC bool rrcCallConv setValue(RRHandle handle, const char *symbolId, const double value)
Set the value for a given symbol, use getAvailableTimeCourseSymbols(void) for a list of symbols.
#ifndef ROADRUNNER_JITFACTORY_H
#define ROADRUNNER_JITFACTORY_H
#include "rrConfig.h"
#include "MCJit.h"
#include "LLJit.h"
#include "Jit.h"
namespace rrllvm {
class JitFactory {
public:
JitFactory() = default;
};
}
#endif
static std::unique_ptr< Jit > makeJitEngine()
Create a Jit engine using the global options in Config.
Definition: JitFactory.cpp:22