roadrunner  2.6.0
Fast simulator for SBML models
Static Public Member Functions | List of all members
rrllvm::LLVMModelGenerator Class Reference

General concepts: More...

#include <LLVMModelGenerator.h>

Static Public Member Functions

static rr::ExecutableModelcreateModel (const libsbml::SBMLDocument *sbml, const std::string &md5, std::uint32_t options)
 Create an executable model from an sbml std::string. More...
 
static rr::ExecutableModelregenerateModel (rr::ExecutableModel *oldModel, libsbml::SBMLDocument *doc, uint options)
 Regenerate an executable model from an existing sbml document i.e. More...
 

Detailed Description

General concepts:

SBML defines chemical species.

Floating Species: species whose value varies over time, i.e. they can 'float' Boundary Species: boundary condition species, values are fixed to initial conditions.

Member Function Documentation

◆ createModel()

ExecutableModel * rrllvm::LLVMModelGenerator::createModel ( const libsbml::SBMLDocument *  sbml,
const std::string &  md5,
std::uint32_t  options 
)
static

Create an executable model from an sbml std::string.

The sbml md5 is used as the LLVM module name. This facilitates object caching via rrObjectCache since the LLVM module name is the key in the object map used to cache the objects.

◆ regenerateModel()

ExecutableModel * rrllvm::LLVMModelGenerator::regenerateModel ( rr::ExecutableModel oldModel,
libsbml::SBMLDocument *  doc,
uint  options 
)
static

Regenerate an executable model from an existing sbml document i.e.

generate the model normally from the SBML document, but copy the values of the floating species (initial and current), boundary species, compartments (initial and current), global parameters (initial and current) that are in both oldModel and doc, as well as time from the old model into the one returned


The documentation for this class was generated from the following files: