RoadRunner
RoadRunner.addAssignmentRule
— MethodaddAssignmentRule(rr::Ptr{Nothing}, vid::String, formula::String, forceRegen::Bool)
Add an assignment rule for a variable to the current model.
RoadRunner.addCompartment
— MethodaddCompartment(rr, cid::String, initVolume::Float64, regen::Bool)
Add a compartment to the current model.
RoadRunner.addDelay
— MethodaddDelay(rr::Ptr{Nothing}, eid::String, delay::String, forceRegen::Bool)
Add delay to an existing event in the model.
RoadRunner.addDirectory
— MethodaddDirectory(directory::String) Add a directory in which imported files may be found, and in which to look for a '.antimony' file (which contains rules about where to look locally for imported antimony and sbml files).
RoadRunner.addEvent
— MethodaddEvent(rr::Ptr{Nothing}, eid::String, useValuesFromTriggerTime::Bool, trigger::String, forceRegen::Bool)
Add an event to the current model.
RoadRunner.addEventAssignment
— MethodaddEventAssignment(rr::Ptr{Nothing}, eid::String, vid::String, formulae::String, forceRegen::Bool)
Add an event assignment to an existing event in the model.
RoadRunner.addItem
— MethodaddItem(list::Ptr{RRList}, item::Ptr{RRListItem})
Create a list item to store a double value
RoadRunner.addParameter
— MethodaddParameter(rr::Ptr{Nothing}, pid::String, value::Float64, forceRegen::Bool)
Add a parameter to the current model.
RoadRunner.addPriority
— MethodaddPriority(rr::Ptr{Nothing}, eid::String, priority::String, forceRegen::Bool)
Add priority to an existing event in the model.
RoadRunner.addRateRule
— MethodaddRateRule(rr::Ptr{Nothing}, vid::String, formula::String, forceRegen::Bool)
Add a rate rule for a variable to the current model.
RoadRunner.addReaction
— MethodaddReaction(rr::Ptr{Nothing}, rid::String, reactants::Array{String}, products::Array{String}, kineticLaw::String, regen::Bool)
Add a reaction to the current model by passing its info as parameters.
RoadRunner.addSpecies
— MethodaddSpecies(rr::Ptr{Nothing}, sid::String, compartment::String, initialAmount::Float64, substanceUnit::String, regen::Bool)
example: addSpecies(rr, s, "Compartment", 0.1, "", true)
Add a species to the current model.
RoadRunner.addTrigger
— MethodaddTrigger(rr::Ptr{Nothing}, eid::String, trigger::String, forceRegen::Bool)
Add trigger to an existing event in the model.
RoadRunner.checkModule
— MethodcheckModule(moduleName::String) Returns 'true' if the submitted module name exists in the current active set, 'false' if not.
RoadRunner.clearDirectories
— MethodclearDirectories() Clears the list of directories added with the 'addDirectory' function.
RoadRunner.clearModel
— MethodclearModel(rr::Ptr{Nothing)
Unload current model.
RoadRunner.clearPreviousLoads
— MethodclearPreviousLoads() Clears memory of all files loaded.
RoadRunner.compileSource
— MethodcompileSource(rr::Ptr{Nothing}, fName::String)
Compiles source code.
RoadRunner.complexMatrixToString
— MethodcomplexMatrixToString(matrixHandle::Ptr{RRComplexMatrix})
Returns a complex matrix in string form.
RoadRunner.complexVectorToString
— MethodcomplexVectorToString(vecHandle::Ptr{RRComplexVector})
Returns a complex vector in string form.
RoadRunner.computeSteadyStateValues
— MethodcomputeSteadyStateValues(rr::Ptr{Nothing})
Compute the steady state of the current model. Example: RRVectorHandle values = computeSteadyStateValues (void);
RoadRunner.convertRRVectorToJuliaArray
— MethodconvertRRVectorToJuliaArray(vector::Ptr{RRVector})
RoadRunner.convertStringArrayToJuliaArray
— MethodconvertStringArrayToJuliaArray(list::Ptr{RRStringArray})
RoadRunner.createDoubleItem
— MethodcreateDoubleItem(value::Float64)
Create a list item to store a double value
RoadRunner.createIntegerItem
— MethodcreateIntegerItem(value::Int64)
Create a list item to store an integer.
RoadRunner.createListItem
— MethodcreateListItem(value::Ptr{RRList})
Create a list item to store a list.
RoadRunner.createRRInstance
— MethodcreateRRInstance()
Initialize and return a new roadRunner instances.
RoadRunner.createRRInstanceEx
— MethodcreateRRInstanceEx(tempFolder::String, compiler_cstr::String)
Initialize and return a new roadRunner instance.
RoadRunner.createRRList
— MethodcreateRRList()
Create a new list. A list is a container for storing list items. List items can represent integers, double, strings and lists. To populate a list, create list items of the appropriate type and add them to the list Example, build the list [123, [3.1415926]] 1 l = createRRList(RRHandle handle); 2 item = createIntegerItem (123); 3 addItem (l, item); 4 item1 = createListItem(RRHandle handle); 5 item2 = createDoubleItem (3.1415926); 6 addItem (item1, item2); 7 addItem (l, item1); 8 9 item = getListItem (l, 0); 10 printf ("item = %d ", item->data.iValue); 11 12 printf (listToString (l)); 13 freeRRList (l);
RoadRunner.createRRMatrix
— MethodcreateRRMatrix(r::Int64, c::Int64)
Create an empty matrix of size r by c.
RoadRunner.createStringItem
— MethodcreateStringItem(value::String)
Create a list item to store a pointer to a string.
RoadRunner.createText
— MethodcreateText(text::String)
Creates memory for holding a string.
RoadRunner.createTextMemory
— MethodcreateTextMemory(count::Int64)
Creates memory for holding a string.
RoadRunner.createVector
— MethodcreateVector(size::Int64)
Create a new vector with a given size.
RoadRunner.disableLoggingToConsole
— MethoddisableLoggingToConsole()
Disable logging to console.
RoadRunner.disableLoggingToFile
— MethoddisableLoggingToFile()
Disable logging to logFile.
RoadRunner.enableLoggingToConsole
— MethodenableLoggingToConsole()
Enable logging to console.
RoadRunner.enableLoggingToFile
— MethodenableLoggingToFile()
Enable logging to logFile.
RoadRunner.enableLoggingToFileWithPath
— MethodenableLoggingToFileWithPath(path::String)
Enable logging to a log file with the specified path.
RoadRunner.evalModel
— MethodevalModel(rr::Ptr{Nothing})
Evaluate the current model, that it update all assignments and rates of change. Do not carry out an integration step.
RoadRunner.freeAll
— MethodfreeAll() Frees all pointers handed to you by libAntimony.
RoadRunner.freeMatrix
— MethodfreeMatrix(matrix::Ptr{RRDoubleMatrix})
Free RRDoubleMatrixPtr structures.
RoadRunner.freeRRCData
— MethodfreeRRCData(handle::Ptr{RRCData})
Free the memory associated to a RRCData object.
RoadRunner.freeRRInstance
— MethodfreeRRInstance(rr::Ptr{Nothing})
Free the roadRunner instance.
RoadRunner.freeRRList
— MethodfreeRRList(theList)
Free RRListPtr structure, i.e destroy a list.
RoadRunner.freeStringArray
— MethodfreeStringArray(sl::Ptr{RRStringArray})
Free RRStringListHandle structures
RoadRunner.freeVector
— MethodfreeVector(vector::Ptr{RRVector})
Free RRVectorHandle structures.
RoadRunner.freetext
— Methodfreetext(text::Ptr{UInt8})
Free char* generated by library routines.
RoadRunner.getAPIVersion
— MethodgetAPIVersion()
Retrieve the current version number of the C API library.
RoadRunner.getAntimonyString
— MethodgetAntimonyString(moduleName::String) Returns the same output as writeAntimonyFile, but to a char* array instead of to a file.
RoadRunner.getAvailableSteadyStateSymbols
— MethodgetAvailableSteadyStateSymbols(rr::Ptr{Nothing})
Obtain the list of all available steady state symbols.
RoadRunner.getAvailableTimeCourseSymbols
— MethodgetAvailableTimeCourseSymbols(rr::Ptr{Nothing})
Obtain the list of all available symbols.
RoadRunner.getBoundarySpeciesByIndex
— MethodgetBoundarySpeciesByIndex(rr::Ptr{Nothing}, index::Int64)
Retrieve the concentration for a particular floating species.
RoadRunner.getBoundarySpeciesConcentrations
— MethodgetBoundarySpeciesConcentrations(rr::Ptr{Nothing})
Retrieve the concentration for a particular floating species.
RoadRunner.getBoundarySpeciesIds
— MethodgetBoundarySpeciesIds(rr::Ptr{Nothing})
Obtain the list of boundary species Ids.
RoadRunner.getBuildDate
— MethodgetBuildDate()
Retrieve the current build date of the library.
RoadRunner.getBuildDateTime
— MethodgetBuildDateTime()
Retrieve the current build date + time of the library.
RoadRunner.getBuildTime
— MethodgetBuildTime()
Retrieve the current build time (HH:MM:SS) of the library.
RoadRunner.getCC
— MethodgetCC(rr::Ptr{Nothing}, variable::String, parameter::String)
Retrieve a single control coefficient.
RoadRunner.getCPPAPIVersion
— MethodgetCPPAPIVersion(rr::Ptr{Nothing})
Retrieve the current version number of the C++ API (Core RoadRunner API) library..
RoadRunner.getCellMLString
— MethodgetCellMLString(moduleName::String) Writes out a CellML-formatted XML file to the file indicated, retaining the same Antimony hierarchy using the CellML 'component' hieararchy.
RoadRunner.getCompSBMLString
— MethodgetCompSBMLString(moduleName::String) Returns the same output as writeSBMLFile, but to a char* array instead of to a file, using the 'Hierarchichal Model Composition' package.
RoadRunner.getCompartmentByIndex
— MethodgetCompartmentByIndex(rr::Ptr{Nothing}, index::Int64)
Retrieve the compartment volume for a particular compartment.
RoadRunner.getCompartmentIds
— MethodgetCompartmentIds(rr::Ptr{Nothing})
Obtain the list of compartment Ids. Example: str = getCompartmentIds (RRHandle handle);
RoadRunner.getCompiler
— MethodgetCompiler(rr::Ptr{Nothing}))
Get the name of the compiler currently being used by roadrunner.
RoadRunner.getCompilerLocation
— MethodgetCompilerLocation(rr::Ptr{Nothing})
Get the path to a folder containing the compiler being used. Returns the path if successful, NULL otherwise
RoadRunner.getComplexMatrixElement
— MethodgetComplexMatrixElement(m::Ptr{RRComplexMatrix}, r::Int64, c::Int64)
Retrieve an element at a given row and column from a complex matrix type variable.
RoadRunner.getConcentrationControlCoefficientIds
— MethodgetConcentrationControlCoefficientIds(rr::Ptr{Nothing})
Obtain the list of concentration coefficient Ids.
RoadRunner.getConfigBool
— MethodgetConfigBool(key::String)
Get a boolean configuration value.
RoadRunner.getConfigDouble
— MethodgetConfigDouble(key::String)
Get a double configuration value.
RoadRunner.getConfigInt
— MethodgetConfigInt(key::String)
Get an integer configuration value.
RoadRunner.getConfigurationXML
— MethodgetConfigurationXML(rr::Ptr{Nothing})
Get the simulator's capabilities.
RoadRunner.getConservationMatrix
— MethodgetConservationMatrix(rr::Ptr{Nothing})
Retrieve the conservation matrix for the current model. The conservation laws as describe by row where the columns indicate the species Id.
RoadRunner.getConservedSums
— MethodgetConservedSums(rr::Ptr{Nothing})
Return values for conservation laws using the current initial conditions.
RoadRunner.getCopyright
— MethodgetCopyright()
Retrieve the current copyright notice for the library.
RoadRunner.getCurrentIntegratorDescription
— MethodgetCurrentIntegratorDescription(rr::Ptr{Nothing})
Obtain a description of the current integrator.
RoadRunner.getCurrentIntegratorHint
— MethodggetCurrentIntegratorHint(rr::Ptr{Nothing})
Obtain a short hint for the current integrator.
RoadRunner.getCurrentIntegratorName
— MethodgetCurrentIntegratorName(rr::Ptr{Nothing})
Obtain a description of the current integrator.
RoadRunner.getCurrentIntegratorNthParameterDescription
— MethodgetCurrentIntegratorNthParameterDescription(rr::Ptr{Nothing}, n::Int64)
Get the description for a specific integrator setting.
RoadRunner.getCurrentIntegratorNthParameterDisplayName
— MethodgetCurrentIntegratorNthParameterDisplayName(rr::Ptr{Nothing}, n::Int64)
Get the display name of a parameter of the current integrator.
RoadRunner.getCurrentIntegratorNthParameterHint
— MethodgetCurrentIntegratorNthParameterHint(rr::Ptr{Nothing}, n::Int64)
Get the hint of a parameter of the current integrator.
RoadRunner.getCurrentIntegratorNthParameterName
— MethodgetCurrentIntegratorNthParameterName(rr::Ptr{Nothing}, n::Int64)
Get the name of a parameter of the current integrator.
RoadRunner.getCurrentIntegratorNthParameterType
— MethodgetCurrentIntegratorNthParameterType(rr::Ptr{Nothing}, n::Int64)
Get the type of a parameter of the current integrator.
RoadRunner.getCurrentIntegratorParameterBoolean
— MethodgetCurrentIntegratorParameterBoolean(rr::Ptr{Nothing}, parameterName::String)
Get the boolean value for a specific integrator setting.
RoadRunner.getCurrentIntegratorParameterDescription
— MethodgetCurrentIntegratorParameterDescription(rr::Ptr{Nothing}, parameterName::String)
Get the names of adjustable settings for the current steady state solver.
RoadRunner.getCurrentIntegratorParameterDouble
— MethodgetCurrentIntegratorParameterDouble(rr::Ptr{Nothing}, parameterName::String)
Get the double value for a specific integrator setting.
RoadRunner.getCurrentIntegratorParameterHint
— MethodgetCurrentIntegratorParameterHint(rr::Ptr{Nothing}, parameterName::String)
Get the hint for a specific integrator setting.
RoadRunner.getCurrentIntegratorParameterInt
— MethodgetCurrentIntegratorParameterInt(rr::Ptr{Nothing}, parameterName::String)
Get the integer value for a specific integrator setting.
RoadRunner.getCurrentIntegratorParameterString
— MethodgetCurrentIntegratorParameterString(rr::Ptr{Nothing}, parameterName::String)
Get the string value for a specific integrator setting.
RoadRunner.getCurrentIntegratorParameterType
— MethodgetCurrentIntegratorParameterType(rr::Ptr{Nothing}, parameterName::String)
Get the return type for a specific integrator setting.
RoadRunner.getCurrentIntegratorParameterUInt
— MethodgetCurrentIntegratorParameterUInt(rr::Ptr{Nothing}, parameterName::String)
Get the unsigned integer value for a specific integrator setting.
RoadRunner.getCurrentSBML
— MethodgetCurrentSBM(handle::Ptr{Nothing})
Retrieve the current state of the model in the form of an SBML string.
RoadRunner.getCurrentSteadyStateSolverDescription
— MethodgetCurrentSteadyStateSolverDescription(rr::Ptr{Nothing})
Obtain a description of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverHint
— MethodgetCurrentSteadyStateSolverHint(rr::Ptr{Nothing})
Obtain a short hint for the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverName
— MethodgetCurrentSteadyStateSolverName(rr::Ptr{Nothing})
Obtain a description of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverNthParameterDescription
— MethodgetCurrentSteadyStateSolverNthParameterDescription(rr::Ptr{Nothing}, n::Int64)
Get the description of a parameter of the current integrator.
RoadRunner.getCurrentSteadyStateSolverNthParameterDisplayName
— MethodgetCurrentSteadyStateSolverNthParameterDisplayName(rr::Ptr{Nothing}, n::Int64)
Get the display name of a parameter of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverNthParameterHint
— MethodgetCurrentSteadyStateSolverNthParameterHint(rr::Ptr{Nothing}, n::Int64)
Get the hint of a parameter of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverNthParameterName
— MethodgetCurrentSteadyStateSolverNthParameterName(rr::Ptr{Nothing}, n::Int64)
Get the name of a parameter of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverNthParameterType
— MethodgetCurrentSteadyStateSolverNthParameterType(rr::Ptr{Nothing}, n::Int64)
Get the type of a parameter of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverParameterBoolean
— MethodgetCurrentSteadyStateSolverParameterBoolean(rr::Ptr{Nothing}, parameterName::String)
Get the boolean value for a specific steady state solver setting.
RoadRunner.getCurrentSteadyStateSolverParameterDescription
— MethodgetCurrentSteadyStateSolverParameterDescription(rr::Ptr{Nothing}, parameterName::String)
GGet the description for a specific steady state solver setting.
RoadRunner.getCurrentSteadyStateSolverParameterDouble
— MethodgetCurrentSteadyStateSolverParameterDouble(rr::Ptr{Nothing}, parameterName::String)
Get the double value for a specific steady state solver setting.
RoadRunner.getCurrentSteadyStateSolverParameterHint
— MethodgetCurrentSteadyStateSolverParameterHint(rr::Ptr{Nothing}, parameterName::String)
Get the hint of a parameter of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverParameterInt
— MethodgetCurrentSteadyStateSolverParameterInt(rr::Ptr{Nothing}, parameterName::String)
Get the integer value for a specific steady state solver setting.
RoadRunner.getCurrentSteadyStateSolverParameterString
— MethodgetCurrentSteadyStateSolverParameterString(rr::Ptr{Nothing}, parameterName::String)
Get the double value for a specific steady state solver setting.
RoadRunner.getCurrentSteadyStateSolverParameterType
— MethodgetCurrentSteadyStateSolverParameterType(rr::Ptr{Nothing}, parameterName::String)
Get the type of a parameter of the current steady state solver.
RoadRunner.getCurrentSteadyStateSolverParameterUInt
— MethodgetCurrentSteadyStateSolverParameterUInt(rr::Ptr{Nothing}, parameterName::String)
Get the unsigned integer value for a specific steady state solver setting.
RoadRunner.getDoubleListItem
— MethodgetDoubleListItem(item::Ptr{RRListItem})
Return the double from a list item.
RoadRunner.getEE
— MethodgetEE(rr::Ptr{Nothing}, name::String, species::String)
Retrieve a single elasticity coefficient.
RoadRunner.getEigenVectors
— MethodgetEigenVectors(matrix::Ptr{RRDoubleMatrix})
Calculate the eigen-vectors of a square real matrix. This function calculates the complex (right)eigenvectors of the given real matrix. The complex matrix returned contains the eigenvectors in the columns, in the same order as LibLA_getEigenValues. The right eigenvector v(j) of A satisfies: A * v(j) = lambda(j) * v(j)
RoadRunner.getEigenvalueIds
— MethodgetEigenvalueIds(rr::Ptr{Nothing})
Obtain the list of eigenvalue Ids.
RoadRunner.getEigenvalues
— MethodgetEigenvalues(rr::Ptr{Nothing})
Retrieve the eigenvalue matrix for the current model.
RoadRunner.getEigenvaluesMatrix
— MethodgetEigenvaluesMatrix(mat::Ptr{RRDoubleMatrix})
Compute the eigenvalues of a double matrix.
RoadRunner.getEigenvaluesVector
— MethodgetEigenvaluesVector(mat::Ptr{RRDoubleMatrix})
Compute the eigenvalues of a double matrix.
RoadRunner.getElasticityCoefficientIds
— MethodgetElasticityCoefficientIds(rr::Ptr{Nothing})
Obtain the list of elasticity coefficient Ids.
RoadRunner.getExtendedAPIInfo
— MethodgetExtendedAPIInfo()
Retrieve extended API info. Returns null if it fails, otherwise it returns a string with the info.
RoadRunner.getFileContent
— MethodgetFileContent(fName::String)
Retrieves the the content of a file.
RoadRunner.getFloatingSpeciesByIndex
— MethodgetFloatingSpeciesByIndex(rr::Ptr{Nothing}, index::Int64)
Retrieve the concentration for a particular floating species.
RoadRunner.getFloatingSpeciesConcentrations
— MethodgetFloatingSpeciesConcentrations(rr::Ptr{Nothing})
Retrieve in a vector the concentrations for all the floating species. Example: RVectorPtr values = getFloatingSpeciesConcentrations (void);
RoadRunner.getFloatingSpeciesIds
— MethodgetFloatingSpeciesIds(rr::Ptr{Nothing})
Obtain the list of floating species Id.
RoadRunner.getFloatingSpeciesInitialConcentrationByIndex
— MethodgetFloatingSpeciesInitialConcentrationByIndex(rr::Ptr{Nothing}, index::Int64)
Get the initial concentration for a particular floating species.
RoadRunner.getFloatingSpeciesInitialConcentrations
— MethodgetFloatingSpeciesInitialConcentrations(rr::Ptr{Nothing})
Get the initial floating species concentrations. Example: vec = getFloatingSpeciesInitialConcentrations (RRHandle handle);
RoadRunner.getFloatingSpeciesInitialConditionIds
— MethodgetFloatingSpeciesInitialConditionIds(rr::Ptr{Nothing})
Get the initial floating species Ids. Example: vec = getFloatingSpeciesInitialConditionIds (RRHandle handle);
RoadRunner.getFluxControlCoefficientIds
— MethodgetFluxControlCoefficientIds(rr::Ptr{Nothing})
Obtain the list of flux control coefficient Ids.
RoadRunner.getFullJacobian
— MethodgetFullJacobian(rr::Ptr{Nothing})
Retrieve the full Jacobian for the current model.
RoadRunner.getGlobalParameterByIndex
— MethodgetGlobalParameterByIndex(rr::Ptr{Nothing}, index::Int64)
Retrieve the global parameter value.
RoadRunner.getGlobalParameterIds
— MethodgetGlobalParameterIds(rr::Ptr{Nothing})
Obtain the list of global parameter Ids.
RoadRunner.getGlobalParameterValues
— MethodgetGlobalParameterValues(rr::Ptr{Nothing})
Retrieve the global parameter value. Example: RRVectorPtr values = getGlobalParameterValues (void);
RoadRunner.getInfo
— MethodgetInfo(rr::Ptr{Nothing})
Retrieve the current version number of the libSBML library.
RoadRunner.getInstallFolder
— MethodgetInstallFolder()
Return the folder in which the RoadRunner API is installed.
RoadRunner.getIntegerListItem
— MethodgetIntegerListItem(item::Ptr{RRListItem})
Return the integer from a list item.
RoadRunner.getL0Matrix
— MethodgetL0Matrix(rr::Ptr{Nothing})
Return the L0 Matrix. L0 is defined such that L0 Nr = N0. L0 forms part of the link matrix, L. N0 is the set of linear dependent rows from the lower portion of the reordered stoichiometry matrix.
RoadRunner.getLastError
— MethodgetLastError()
Retrieve the current error string. Example, str = getLastError (void);
RoadRunner.getLinkMatrix
— MethodgetLinkMatrix(rr::Ptr{Nothing})
Retrieve the Link matrix for the current model.
RoadRunner.getList
— MethodgetList(item::Ptr{RRListItem})
Return a list from a list item if it contains a list.
RoadRunner.getListItem
— MethodgetListItem(list::Ptr{RRList}, index::Int64)
Return the index^th item from the list.
RoadRunner.getListLength
— MethodgetListLength(myList)
Returns the length of a given list.
RoadRunner.getListOfConfigKeys
— MethodgetListOfConfigKeys()
Get a list of all possible config keys.
RoadRunner.getListOfCurrentIntegratorParameterNames
— MethodgetListOfCurrentIntegratorParameterNames(rr::Ptr{Nothing})
Get the names of adjustable settings for the current integrator.
RoadRunner.getListOfCurrentSteadyStateSolverParameterNames
— MethodgetListOfCurrentSteadyStateSolverParameterNames(rr::Ptr{Nothing})
Get the names of adjustable settings for the current steady state solver.
RoadRunner.getLogFileName
— MethodgetLogFileName()
Get a pointer to the string that holds the logging file name path. Example: str = getLogFileName (void)
RoadRunner.getLogLevel
— MethodgetLogLevel()
Get the logging status level as a pointer to a string. The logging level can be one of the following strings "ANY", "DEBUG5", "DEBUG4", "DEBUG3", "DEBUG2", "DEBUG1", "DEBUG", "INFO", "WARNING", "ERROR" Example str = getLogLevel (void)
RoadRunner.getMainModuleName
— MethodgetMainModuleName() Returns the 'main' module name.
RoadRunner.getMatrixElement
— MethodgetMatrixElement(m::Ptr{RRDoubleMatrix}, r::Int64, c::Int64)
Retrieve an element at a given row and column from a matrix type variable.
RoadRunner.getMatrixNumCols
— MethodgetMatrixNumCols(m::Ptr{RRDoubleMatrix})
Retrieve the number of columns in the given matrix.
RoadRunner.getMatrixNumRows
— MethodgetMatrixNumRows(m::Ptr{RRDoubleMatrix})
Retrieve the number of rows in the given matrix.
RoadRunner.getModelName
— MethodgetModelName(rr::Ptr{Nothing})
Return the name of currently loaded SBML model.
RoadRunner.getModuleNames
— MethodgetModuleNames() Returns an array of all the current module names.
RoadRunner.getNrMatrix
— MethodgetNrMatrix(rr::Ptr{Nothing})
Retrieve the reduced stoichiometry matrix for the current model.
RoadRunner.getNthModuleName
— MethodgetNthModuleName(n::Int64) Returns the nth module name.
RoadRunner.getNumFiles
— MethodgetNumFiles() Returns the number of files loaded into memory so far.
RoadRunner.getNumInstantiatedIntegrators
— MethodgetNumInstantiatedIntegrators(rr::Ptr{Nothing})
Get the number of instantiated integrators. To instantiate an integrator, use setCurrentIntegrator.
RoadRunner.getNumModules
— MethodgetNumModules() Returns the number of modules in the current active set (the last file successfully loaded, or whichever file was returned to with 'revertTo').
RoadRunner.getNumPoints
— MethodgetNumPoints(rr)
Get the value of the current number of points. Example: status = getNumPoints (rrHandle, &numberOfPoints);
RoadRunner.getNumRegisteredIntegrators
— MethodgetNumRegisteredIntegrators()
Get the number of registered integrators.
RoadRunner.getNumRegisteredSteadyStateSolvers
— MethodgetNumRegisteredSteadyStateSolvers()
Get the number of registered steady state solvers.
RoadRunner.getNumberOfBoundarySpecies
— MethodgetNumberOfBoundarySpecies(rr::Ptr{Nothing})
Return the number of boundary species in the model.
RoadRunner.getNumberOfCompartments
— MethodgetNumberOfCompartments(rr::Ptr{Nothing})
Return the number of compartments in the model.
RoadRunner.getNumberOfCurrentIntegratorParameters
— MethodgetNumberOfCurrentIntegratorParameters(rr::Ptr{Nothing})
Get the number of adjustable settings for the current integrator.
RoadRunner.getNumberOfCurrentSteadyStateSolverParameters
— MethodgetNumberOfCurrentSteadyStateSolverParameters(rr::Ptr{Nothing})
Get the number of adjustable settings for the current steady state solver.
RoadRunner.getNumberOfDependentSpecies
— MethodgetNumberOfDependentSpecies(rr::Ptr{Nothing})
Return the number of dependent species in the mode.
RoadRunner.getNumberOfFloatingSpecies
— MethodgetNumberOfFloatingSpecies(rr::Ptr{Nothing})
Return the number of floating species in the model.
RoadRunner.getNumberOfGlobalParameters
— MethodgetNumberOfGlobalParameters(rr::Ptr{Nothing})
Return the number of global parameters in the model.
RoadRunner.getNumberOfIndependentSpecies
— MethodgetNumberOfIndependentSpecies(rr::Ptr{Nothing})
Return the number of independent species in the model.
RoadRunner.getNumberOfReactions
— MethodgetNumberOfReactions(rr::Ptr{Nothing})
Obtain the number of reactions in the loaded model. Example: number = getNumberOfReactions (RRHandle handle);
RoadRunner.getNumberOfRules
— MethodgetNumberOfRules(rr::Ptr{Nothing})
Return the number of rules in the current model.
RoadRunner.getNumberOfStringElements
— MethodgetNumberOfStringElements(list::Ptr{RRStringArray})
Returns the length of a string array.
RoadRunner.getParamPromotedSBML
— MethodgetParamPromotedSBML(rr::Ptr{Nothing}, sArg::String)
Promote any local parameters to global status.
RoadRunner.getRRCAPILocation
— MethodgetRRCAPILocation()
Retrieve the directory path of the shared rrCApi library.
RoadRunner.getRRCDataElement
— Methodfunction getRRCDataElement(rrData::Ptr{RRCData}, r::Int64, c::Int64)
Retrieves an element at a given row and column from a RoadRunner data type variable.
RoadRunner.getRRDataColumnLabel
— MethodgetRRDataColumnLabel(rrData::Ptr{RRCData}, column::Int64)
Retrieves a label for a given column in a rrData type variable.
RoadRunner.getRRDataNumCols
— MethodgetRRDataNumCols(rrData::Ptr{RRCData})
Retrieve the number of columns in the given RoadRunner numerical data (returned from simulate(RRHandle handle))
RoadRunner.getRRDataNumRows
— MethodgetRRDataNumRows(rrData::Ptr{RRCData})
Retrieve the number of rows in the given RoadRunner numerical data (returned from simulate(RRHandle handle))
RoadRunner.getRateOfChange
— MethodgetRatesOfChange(rr::Ptr{Nothing}, index::Int64)
Retrieve the rate of change for a given floating species. Example: status = getRateOfChange (&index, *value);
RoadRunner.getRatesOfChange
— MethodgetRatesOfChange(rr::Ptr{Nothing})
Retrieve the vector of rates of change as determined by the current state of the model. Example: values = getRatesOfChange (RRHandle handle);
RoadRunner.getRatesOfChangeEx
— MethodgetRatesOfChangeEx(rr::Ptr{Nothing}, vec::Ptr{RRVector})
Retrieve the vector of rates of change given a vector of floating species concentrations. Example: values = getRatesOfChangeEx (vector);
RoadRunner.getRatesOfChangeIds
— MethodgetRatesOfChange(rr::Ptr{Nothing})
Retrieve the rate of change for a given floating species. Example: status = getRateOfChange (&index, *value);
RoadRunner.getReactionIds
— MethodgetReactionIds(rr::Ptr{Nothing})
Obtain the list of reaction Ids.
RoadRunner.getReactionRate
— MethodgetReactionRate(rr::Ptr{Nothing}, idx::Int64)
Retrieve a give reaction rate as indicated by the index paramete.
RoadRunner.getReactionRates
— MethodgetReactionRates(rr::Ptr{Nothing})
Retrieve a vector of reaction rates as determined by the current state of the model.
RoadRunner.getReactionRatesEx
— MethodgetReactionRatesEx(rr::Ptr{Nothing}, vec::Ptr{RRVector})
Retrieve a vector of reaction rates given a vector of species concentrations.
RoadRunner.getReducedJacobian
— MethodgetReducedJacobian(rr::Ptr{Nothing})
Retrieve the reduced Jacobian for the current model. setComputeAndAssignConservationLaws (true) must be enabled
RoadRunner.getRegisteredIntegratorDescription
— MethodgetRegisteredIntegratorDescription(n::Int64)
Get the description of a registered integrator (e.g. cvode etc.).
RoadRunner.getRegisteredIntegratorHint
— MethodgetRegisteredIntegratorHint(n::Int64)
Get the hint of a registered integrator (e.g. cvode etc.)
RoadRunner.getRegisteredIntegratorName
— MethodgetRegisteredIntegratorName(n::Int64)
Get the name of a registered integrator (e.g. cvode etc.)
RoadRunner.getRegisteredSteadyStateSolverDescription
— MethodgetRegisteredSteadyStateSolverDescription(n::Int64)
Get the description of a registered steady state solver (e.g. cvode etc.)
RoadRunner.getRegisteredSteadyStateSolverHint
— MethodgetRegisteredSteadyStateSolverHint(n::Int64)
Get the hint of a registered steady state solver (e.g. cvode etc.)
RoadRunner.getRegisteredSteadyStateSolverName
— MethodgetRegisteredSteadyStateSolverName(n::Int64)
Get the name of a registered steady state solver (e.g. cvode etc.)
RoadRunner.getSBML
— MethodgetSBML(rr::Ptr{Nothing})
Retrieve the SBML model that was last loaded into roadRunner.
RoadRunner.getSBMLInfoMessages
— MethodgetSBMLInfoMessages(moduleName::String) Returns the 'info' messages from libSBML.
RoadRunner.getSBMLString
— MethodgetSBMLString(moduleName::String) Returns the same output as writeSBMLFile, but to a char* array instead of to a file.
RoadRunner.getSBMLWarnings
— MethodgetSBMLWarnings(moduleName::String) Returns the 'warning' messages from libSBML.
RoadRunner.getScaledConcentrationControlCoefficientMatrix
— MethodgetScaledConcentrationControlCoefficientMatrix(rr::Ptr{Nothing})
Retrieve the matrix of scaled concentration control coefficients for the current model.
RoadRunner.getScaledElasticityMatrix
— MethodgetScaledElasticityMatrix(rr::Ptr{Nothing})
Retrieve the scaled elasticity matrix for the current model.
RoadRunner.getScaledFloatingSpeciesElasticity
— MethodgetScaledFloatingSpeciesElasticity(rr::Ptr{Nothing}, reactionId::String, speciesId::String)
Retrieve the scaled elasticity matrix for the current model.
RoadRunner.getScaledFluxControlCoefficientMatrix
— MethodgetScaledFluxControlCoefficientMatrix(rr::Ptr{Nothing})
Retrieve the matrix of scaled flux control coefficients for the current model.
RoadRunner.getSeed
— MethodgetSeed(rr::Ptr{Nothing})
Determine the current seed used by the random generator.
RoadRunner.getSimulationResult
— MethodgetSimulationResult(rr::Ptr{Nothing})
Retrieve the result of the last simulation.
RoadRunner.getSteadyStateSelectionList
— MethodgetSteadyStateSelectionList(rr::Ptr{Nothing})
Get the selection list for the steady state analysis.
RoadRunner.getStoichiometryMatrix
— MethodgetStoichiometryMatrix(rr::Ptr{Nothing})
Retrieve the stoichiometry matrix for the current model.
RoadRunner.getStringElement
— MethodgetStringElement(list::Ptr{RRStringArray}, index::Int64)
Returns the indexth element from the string array in the argument value.
RoadRunner.getStringListItem
— MethodgetStringListItem(item::Ptr{RRListItem})
Return the string from a list item.
RoadRunner.getSupportCodeFolder
— MethodgetSupportCodeFolder(rr::Ptr{Nothing})
Get the path to a folder containing support code.
RoadRunner.getTempFolder
— MethodgetTempFolder(rr::Ptr{Nothing})
Retrieve the current temporary folder path. When RoadRunner is run in C generation mode it uses a temporary folder to store the generate C source code. This method can be used to get the current value for the temporary folder path.
RoadRunner.getTimeCourseSelectionList
— MethodgetTimeCourseSelectionList(rr::Ptr{Nothing})
Get the current selection list for simulate(void) or simulateEx(void).
RoadRunner.getTimeEnd
— MethodgetTimeEnd(rr::Ptr{Nothing})
Get the value of the current time end. Example: status = getTimeEnd (rrHandle, &timeEnd);
RoadRunner.getTimeStart
— MethodgetTimeStart(rr::Ptr{Nothing})
Get the value of the current time start.
RoadRunner.getUnscaledConcentrationControlCoefficientIds
— MethodgetUnscaledConcentrationControlCoefficientIds(rr::Ptr{Nothing})
Obtain the list of unscaled concentration control coefficient Ids.
RoadRunner.getUnscaledConcentrationControlCoefficientMatrix
— MethodgetUnscaledConcentrationControlCoefficientMatrix(rr::Ptr{Nothing})
Retrieve the matrix of unscaled concentration control coefficients for the current model.
RoadRunner.getUnscaledElasticityMatrix
— MethodgetUnscaledElasticityMatrix(rr::Ptr{Nothing})
Retrieve the unscaled elasticity matrix for the current model.
RoadRunner.getUnscaledFluxControlCoefficientIds
— MethodgetUnscaledFluxControlCoefficientIds(rr::Ptr{Nothing})
Obtain the list of unscaled flux control coefficient Ids.
RoadRunner.getUnscaledFluxControlCoefficientMatrix
— MethodgetUnscaledFluxControlCoefficientMatrix(rr::Ptr{Nothing})
Retrieve the matrix of unscaled flux control coefficients for the current model.
RoadRunner.getValue
— MethodgetValue(rr::Ptr{Nothing}, symbolId::String)
Get the value for a given symbol, use getAvailableTimeCourseSymbols(void) for a list of symbols. Example status = getValue (rrHandle, "S1", &value);
RoadRunner.getVectorElement
— MethodgetVectorElement(vector::Ptr{RRVector}, index::Int64)
Get a particular element from a vector.
RoadRunner.getVectorLength
— MethodgetVectorLength(vector::Ptr{RRVector})
Get the number of elements in a vector type.
RoadRunner.getVersion
— MethodgetVersion()
Get the version number. Return the roadrunner version number in the form or 102030 if the number is 1.2.3 return the individual version numbers as XXYYZZ where XX is the major version, YY the minor and ZZ the revision, eg 10000, or 10100, 20000 etc
RoadRunner.getVersionEx
— MethodgetVersionEx()
return something like "1.0.0; compiled with clang "3.3 (tags/RELEASE_33/final)" on date Dec 8 2013, 17:24:57'
RoadRunner.getVersionStr
— MethodgetVersionStr()
return roadrunner as a string, i.e. "1.0.0"
RoadRunner.getWarnings
— MethodgetWarnings() When translating some other format to Antimony, elements that are unable to be translated are saved as warnings, retrievable with this function (returns NULL if no warnings present).
RoadRunner.getWorkingDirectory
— MethodgetWorkingDirectory()
Retrieve the current working directory path.
RoadRunner.getZEigenVectors
— MethodgetZEigenVectors(matrix::Ptr{RRComplexMatrix})
Calculate the eigen-vectors of a square nonsymmetrix complex matrix. This function calculates the complex (right)eigenvectors of the given real matrix. The complex matrix returned contains the eigenvectors in the columns, in the same order as getZEigenValues. The right eigenvector v(j) of A satisfies: A * v(j) = lambda(j) * v(j)
RoadRunner.getlibSBMLVersion
— MethodgetlibSBMLVersion(rr::Ptr{Nothing})
Retrieve info about current state of roadrunner, e.g. loaded model, conservationAnalysis etc.
RoadRunner.getuCC
— MethodgetuCC(rr::Ptr{Nothing}, variable::String, parameter::String)
Retrieve a single unscaled control coefficient.
RoadRunner.getuEE
— MethodgetuEE(rr::Ptr{Nothing}, name::String, species::String)
Retrieve a single unscaled elasticity coefficient.
RoadRunner.gillespie
— Methodgillespie(rr::Ptr{Nothing})
Carry out a time-course simulation using the Gillespie algorithm with variable step size. setTimeStart, setTimeEnd, etc are used to set the simulation characteristics.
RoadRunner.gillespieEx
— MethodgillespieEx(rr::Ptr{Nothing}, timeStart::Float64, timeEnd::Float64)
Carry out a time-course simulation using the Gillespie algorithm with variable step size. setTimeStart, setTimeEnd, etc are used to set the simulation characteristics.
RoadRunner.gillespieMeanOnGrid
— MethodgillespieMeanOnGrid(rr::Ptr{Nothing}, numberOfSimulations::Int64)
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average of the simulations. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics.
RoadRunner.gillespieMeanOnGridEx
— MethodgillespieMeanOnGridEx(rr::Ptr{Nothing}, timeStart::Float64, timeEnd::Float64, numberOfPoints::Int64, numberOfSimulations::Int64)
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average of the simulations. Based on the given arguments, time start, time end, and number of points. Example: 1 RRCDataPtr m; 2 double timeStart = 0.0; 3 double timeEnd = 25; 4 int numberOfPoints = 200; 5 int numberOfSimulations = 10; 6 m = gillespieMeanOnGridEx (rrHandle, timeStart, timeEnd, numberOfPoints, numberOfSimulations);
RoadRunner.gillespieMeanSDOnGrid
— MethodgillespieMeanSDOnGrid(rr::Ptr{Nothing}, numberOfSimulations::Int64)
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average and standard deviation of the simulations. setTimeStart, setTimeEnd, setNumPoints, etc are used to set the simulation characteristics.
RoadRunner.gillespieMeanSDOnGridEx
— MethodgillespieMeanSDOnGridEx(rr::Ptr{Nothing}, timeStart::Float64, timeEnd::Float64, numberOfPoints::Int64, numberOfSimulations::Int64)
Carry out a series of time-course simulations using the Gillespie algorithm with fixed step size, then return the average and standard deviation of the simulations. Based on the given arguments, time start, time end, number of points, and number of simulations. Example: 1 RRCDataPtr m; 2 double timeStart = 0.0; 3 double timeEnd = 25; 4 int numberOfPoints = 200; 5 int numberOfSimulations = 10; 6 m = gillespieMeanSDOnGridEx (rrHandle, timeStart, timeEnd, numberOfPoints, numberOfSimulations);
RoadRunner.gillespieOnGrid
— MethodgillespieOnGrid(rr::Ptr{Nothing})
Carry out a time-course simulation using the Gillespie algorithm based on the given arguments, time start, time end and number of points. Example: 1 RRCDataPtr m; 2 double timeStart = 0.0; 3 double timeEnd = 25; 4 m = gillespieEx (rrHandle, timeStart, timeEnd);
RoadRunner.gillespieOnGridEx
— MethodgillespieOnGridEx(rr::Ptr{Nothing}, timeStart::Float64, timeEnd::Float64, numberOfPoints::Int64)
Carry out a time-course simulation using the Gillespie algorithm with fixed step size based on the given arguments, time start, time end, and number of points. Example: 1 RRCDataPtr m; 2 double timeStart = 0.0; 3 double timeEnd = 25; 4 int numberOfPoints = 200; 5 m = gillespieOnGridEx (rrHandle, timeStart, timeEnd, numberOfPoints);
RoadRunner.hasError
— MethodhasError()
Check if there is an error string to retrieve. Example: status = hasError (void)
RoadRunner.isListItem
— MethodisListItem(item::Ptr{RRListItem}, itemType)
Returns true or false if the list item is the given itemType.
RoadRunner.isListItemDouble
— MethodisListItemDouble(item::Ptr{RRListItem})
Return true or false if the list item is a double.
RoadRunner.isListItemInteger
— MethodisListItemInteger(item::Ptr{RRListItem})
Return true or false if the list item is an integer.
RoadRunner.isListItemList
— MethodisListItemList(item::Ptr{RRListItem})
Return true or false if the list item is a list itself.
RoadRunner.isListItemString
— MethodisListItemString(item::Ptr{RRListItem})
Return true or false if the list item is a character array.
RoadRunner.isModelLoaded
— MethodisModelLoaded(rr::Ptr{Nothing})
check if a model is loaded
RoadRunner.listToString
— MethodlistToString(list::Ptr{RRList})
Returns a list in string form.
RoadRunner.loadAntimonyFile
— MethodloadAntimonyFile(filename::String) Loads a file and parses it as an Antimony file.
RoadRunner.loadAntimonyString
— MethodloadAntimonyString(antModel::String) Loads a string and parses it as an Antimony set of modules.
RoadRunner.loadCellMLFile
— MethodloadCellMLFile(filename::String) Load a file known to be CellML.
RoadRunner.loadCellMLString
— MethodloadCellMLString(model::String) Load a string known to be CellML.
RoadRunner.loadFile
— MethodloadFile(filename::String) Load a file of any format libAntimony knows about (potentially Antimony, SBML, or CellML).
RoadRunner.loadSBML
— MethodloadSBML(rr::Ptr{Nothing}, sbml::String)
Load a model from an SBML string.
RoadRunner.loadSBMLEx
— MethodloadSBMLEx(rr::Ptr{Nothing}, sbml::String, forceRecompile::Bool)
Load a model from an SBML string.
RoadRunner.loadSBMLFile
— MethodloadSBMLFile(filename::String) Load a file known to be SBML.
RoadRunner.loadSBMLFromFile
— MethodloadSBMLFromFile(rr::Ptr{Nothing}, fileName::String)
Load a model from a SBML file.
RoadRunner.loadSBMLFromFileE
— MethodloadSBMLFromFile(rr::Nothing, fileName::String, forceRecompile::Bool)
Load a model from a SBML file, force recompilation.
RoadRunner.loadSBMLString
— MethodloadSBMLString(model::String) Load a string known to be SBML.
RoadRunner.loadSBMLStringWithLocation
— MethodloadSBMLStringWithLocation(model::String, location::String) Load a string known to be SBML with its file location.
RoadRunner.loadSimulationSettings
— MethodloadSimulationSettings(rr::Ptr{Nothing}, fileName::String)
Load simulation settings from a file.
RoadRunner.loadString
— MethodloadString(model::String) Load a string of any format libAntimony knows about (potentially Antimony, SBML, or CellML).
RoadRunner.loada
— Methodloada(antString::String)
Take an antimony string and return a roadrunner instance
RoadRunner.logMsg
— MethodlogMsg()
Create a log message.
RoadRunner.matrixToString
— MethodmatrixToString(matrixHandle::Ptr{RRDoubleMatrix})
Returns a matrix in string form.
RoadRunner.oneStep
— MethodoneStep(rr::Ptr{Nothing}, currentTime::Float64, stepSize::Float64)
Carry out a one step integration of the model. Example: status = OneStep (rrHandle, currentTime, timeStep, newTimeStep);
RoadRunner.printAllDataFor
— MethodprintAllDataFor(moduleName::String) An example function that will print to stdout all the information in the given module.
RoadRunner.removeCompartment
— MethodremoveCompartment(rr, cid::String, regen::Bool)
Remove a compartment from the current model.
RoadRunner.removeEvent
— MethodremoveEvent(rr::Ptr{Nothing}, eid::String, forceRegen::Bool)
Remove an event from the current model.
RoadRunner.removeEventAssignments
— MethodremoveEventAssignments(rr::Ptr{Nothing}, eid::String, vid::String, forceRegen::Bool)
Add all event assignments for a variable from an existing event in the model.
RoadRunner.removeParameter
— MethodremoveParameter(rr::Ptr{Nothing}, pid::String, forceRegen::Bool)
Remove a parameter from the current model.
RoadRunner.removeReaction
— MethodremoveReaction(rr::Ptr{Nothing}, rid::String, regen::Bool)
Remove a reaction from the current model.
RoadRunner.removeRules
— MethodremoveRules(rr::Ptr{Nothing}, vid::String, forceRegen::Bool)
Remove all rules for a variable from the current model, including assignment and rate rules.
RoadRunner.removeSpecies
— MethodremoveSpecies(rr::Ptr{Nothing}, sid::String, regen::Bool)
Remove a species from the current model.
RoadRunner.reset
— MethodresetRR(rr::Ptr{Nothing})
Reset all variables of the model to their current initial values. Does not change the parameters.
RoadRunner.resetAll
— MethodresetAll(rr::Ptr{Nothing})
Reset all variables of the model to their current initial values, and resets all parameters to their original values.
RoadRunner.resetCurrentIntegratorParameters
— MethodresetCurrentIntegratorParameters(rr::Ptr{Nothing})
Reset the integrator parameters to their default values.
RoadRunner.resetCurrentSteadyStateSolverParameters
— MethodresetCurrentSteadyStateSolverParameters(rr::Ptr{Nothing})
Reset the steady state solver parameters to their default values.
RoadRunner.resetToOrigin
— MethodresetToOriginRR(rr::Ptr{Nothing})
Reset the model to the state in which it was first loaded, including initial conditions, variables, and parameters.
RoadRunner.revertTo
— MethodrevertTo(Index) Change the 'active' set of modules to the ones from the given index (as received from 'load<file/string>').
RoadRunner.rrCDataToString
— MethodrrCDataToString(rrData::Ptr{RRCData})
Returns a rrCData struct in string form.
RoadRunner.setBoundary
— MethodsetBoundary(rr::Ptr{Nothing}, sid::String, boundaryCondition::Bool, forceRegen::Bool)
RoadRunner.setBoundarySpeciesByIndex
— MethodsetBoundarySpeciesByIndex(rr::Ptr{Nothing}, index::Int64, value::Float64)
Set the concentration for a particular boundary species.
RoadRunner.setBoundarySpeciesConcentrations
— MethodsetBoundarySpeciesConcentrations(rr::Ptr{Nothing}, vec::Ptr{RRVector})
Set the boundary species concentration to the vector vec. Example: 1 myVector = createVector (getNumberOfBoundarySpecies(RRHandle handle)); 2 setVectorElement (myVector, 0, 1.2); 3 setVectorElement (myVector, 1, 5.7); 4 setVectorElement (myVector, 2, 3.4); 5 setBoundarySpeciesConcentrations(myVector);
RoadRunner.setCodeGenerationMode
— MethodsetCodeGenerationMode(rr::Ptr{Nothing}, mode::Int64)
Set the runtime generation option [Not yet implemented]. RoadRunner can either execute a model by generating, compiling and linking self-generated C code or it can employ an internal interpreter to evaluate the model equations. The later method is useful when the OS forbids the compiling of externally generated code.
RoadRunner.setCompartmentByIndex
— MethodsetCompartmentByIndex(rr::Ptr{Nothing}, index::Int64, value::Float64)
Set the volume for a particular compartment.
RoadRunner.setCompiler
— MethodsetCompiler(rr::Ptr{Nothing}, fName::String)
Set the path and filename to the compiler to be used by roadrunner.
RoadRunner.setCompilerLocation
— MethodsetCompilerLocation(rr::Ptr{Nothing}, folder::String)
Set the path to a folder containing the compiler being used. Returns true if successful
RoadRunner.setComplexMatrixElement
— MethodsetComplexMatrixElement(m::Ptr{RRComplexMatrix}, r::Int64, c::Int64, value::Float64)
Set an element at a given row and column with a given value in a complex matrix type variable.
RoadRunner.setComputeAndAssignConservationLaws
— MethodsetComputeAndAssignConservationLaws(rr::Ptr{Nothing}, OnOrOff::Bool)
Enable or disable conservation analysis.
RoadRunner.setConfigBool
— MethodsetConfigBool(key::String, value::Bool)
Set a boolean configuration value.
RoadRunner.setConfigDouble
— MethodsetConfigDouble(key::String, value::Float64)
Set a double configuration value.
RoadRunner.setConfigInt
— MethodsetConfigInt(key::String, value::Int64)
Set an integer configuration value.
RoadRunner.setConfigurationXML
— MethodsetConfigurationXML(rr::Ptr{Nothing}, caps::String)
Set the simulator's capabilities.
RoadRunner.setCurrentIntegrator
— MethodsetCurrentIntegrator(rr::Ptr{Nothing}, nameOfIntegrator::String)
Specify the current integrator to be used for simulation. This method instantiates a new integrator of the given type (e.g. cvode, gillespie) if one does not currently exist. Otherwise, the existing integrator of this type is used.
RoadRunner.setCurrentIntegratorParameterBoolean
— MethodsetCurrentIntegratorParameterBoolean(rr::Ptr{Nothing}, parameterName::String, value::Int64)
Set the boolean value for a specific integrator setting.
RoadRunner.setCurrentIntegratorParameterDouble
— MethodsetCurrentIntegratorParameterDouble(rr::Ptr{Nothing}, parameterName::String, value::Float64)
Set the double value for a specific integrator setting.
RoadRunner.setCurrentIntegratorParameterInt
— MethodsetCurrentIntegratorParameterInt(rr::Ptr{Nothing}, parameterName::String, value::Int64)
Set the integer value for a specific integrator setting
RoadRunner.setCurrentIntegratorParameterString
— MethodsetCurrentIntegratorParameterString(rr::Ptr{Nothing}, parameterName::String, value::String)
Set the string value for a specific integrator setting.
RoadRunner.setCurrentIntegratorParameterUInt
— MethodsetCurrentIntegratorParameterUInt(rr::Ptr{Nothing}, parameterName::String, value::Int64)
Set the unsigned integer value for a specific integrator setting.
RoadRunner.setCurrentSteadyStateSolver
— MethodsetCurrentSteadyStateSolver(rr::Ptr{Nothing}, nameOfSteadyStateSolver::String)
Specify the current steady state solver to be used for simulation. This method instantiates a new steady state solver of the given type (e.g. cvode, gillespie) if one does not currently exist. Otherwise, the existing steady state solver of this type is used.
RoadRunner.setCurrentSteadyStateSolverParameterBoolean
— MethodsetCurrentSteadyStateSolverParameterBoolean(rr::Ptr{Nothing}, parameterName::String, value::Int64)
Set the boolean value for a specific steady state solver setting.
RoadRunner.setCurrentSteadyStateSolverParameterDouble
— MethodsetCurrentSteadyStateSolverParameterDouble(rr::Ptr{Nothing}, parameterName::String, value::Float64)
Set the double value for a specific steady state solver setting.
RoadRunner.setCurrentSteadyStateSolverParameterInt
— MethodsetCurrentSteadyStateSolverParameterInt(rr::Ptr{Nothing}, parameterName::String, value::Int64)
Set the integer value for a specific steady state solver setting.
RoadRunner.setCurrentSteadyStateSolverParameterString
— MethodsetCurrentSteadyStateSolverParameterString(rr::Ptr{Nothing}, parameterName::String, value::String)
Set the string value for a specific steady state solver setting.
RoadRunner.setCurrentSteadyStateSolverParameterUInt
— MethodsetCurrentSteadyStateSolverParameterUInt(rr::Ptr{Nothing}, parameterName::String, value::Int64)
Set the unsigned integer value for a specific steady state solver setting.
RoadRunner.setFloatingSpeciesByIndex
— MethodsetFloatingSpeciesByIndex(rr::Ptr{Nothing}, index::Int64, value::Float64)
Set the concentration for a particular floating species.
RoadRunner.setFloatingSpeciesConcentrations
— MethodsetFloatingSpeciesConcentrations(rr::Ptr{Nothing}, vec::Ptr{RRVector})
Set the floating species concentration to the vector vec. Example: 1 myVector = createVector (getNumberOfFloatingSpecies(RRHandle handle)); 2 setVectorElement (myVector, 0, 1.2); 3 setVectorElement (myVector, 1, 5.7); 4 setVectorElement (myVector, 2, 3.4); 5 setFloatingSpeciesConcentrations(myVector);
RoadRunner.setFloatingSpeciesInitialConcentrationByIndex
— MethodsetFloatingSpeciesInitialConcentrationByIndex(rr::Ptr{Nothing}, index::Int64, value::Float64)
Set the initial concentration for a particular floating species.
RoadRunner.setFloatingSpeciesInitialConcentrations
— MethodsetFloatingSpeciesInitialConcentrations(rr::Ptr{Nothing}, vec::Ptr{RRVector})
Set the initial floating species concentrations. Example: status = setFloatingSpeciesInitialConcentrations (vec);
RoadRunner.setGlobalParameterByIndex
— MethodsetGlobalParameterByIndex(rr::Ptr{Nothing}, index::Int64, value::Float64)
Set the value for a particular global parameter.
RoadRunner.setInstallFolder
— MethodgetInstallFolder(folder::String)
Set the internal string containing the folder in where the RoadRunner C API is installed.
RoadRunner.setKineticLaw
— MethodsetKineticLaw(rr::Ptr{Nothing}, rid::String, kineticLaw::String, forceRegen::Bool)
Set the kinetic law for an existing reaction in the current model.
RoadRunner.setLogLevel
— MethodsetLogLevel(lvl::String)
Set the logging status level The logging level is determined by the following strings. "ANY", "DEBUG5", "DEBUG4", "DEBUG3", "DEBUG2", "DEBUG1", "DEBUG", "INFO", "WARNING", "ERROR" Example: setLogLevel ("DEBUG4")
RoadRunner.setMatrixElement
— MethodsetMatrixElement(m::Ptr{RRDoubleMatrix}, r::Int64, c::Int64, value::Float64)
Set an element at a given row and column with a given value in a matrix type variable.
RoadRunner.setNumPoints
— MethodsetNumPoints(rr::Ptr{Nothing}, nrPoints::Int64)
Set the number of points to generate in a time course simulation.
RoadRunner.setSeed
— MethodsetSeed(rr::Ptr{Nothing}, result::Int64)
Determine the current seed used by the random generator.
RoadRunner.setSteadyStateSelectionList
— MethodsetSteadyStateSelectionList(rr::Ptr{Nothing}, list::String)
Set the selection list of the steady state analysis.Use getAvailableTimeCourseSymbols(void) to retrieve the list of all possible symbols. Example: setSteadyStateSelectionList ("S1, J1, J2") or setSteadyStateSelectionList ("S1 J1 J2")
RoadRunner.setSupportCodeFolder
— MethodsetSupportCodeFolder(rr::Ptr{Nothing}, folder::String)
Set the path to a folder containing support code for model generation.
RoadRunner.setTempFolder
— MethodsetTempFolder(rr::Ptr{Nothing}, folder::String)
Set the path to the temporary folder where the C code will be stored. When RoadRunner is run in C generation mode it uses a temporary folder to store the generated C source code. This method can be used to set the temporary folder path if necessary.
RoadRunner.setTimeCourseSelectionList
— MethodsetTimeCourseSelectionList(rr::Ptr{Nothing}, list::String)
Set the selection list for output from simulate(void) or simulateEx(void). Use getAvailableTimeCourseSymbols(void) to retrieve the list of all possible symbols. Example: setTimeCourseSelectionList ("Time, S1, J1, J2"); or setTimeCourseSelectionList ("Time S1 J1 J2")
RoadRunner.setTimeEnd
— MethodsetTimeEnd(rr::Ptr{Nothing}, timeEnd::Number)
Set the time end for a time course simulation.
RoadRunner.setTimeStart
— MethodsetTimeStart(rr::Ptr{Nothing}, timeStart::Number)
Set the time start for a time course simulation.
RoadRunner.setValue
— MethodsetValue(rr::Ptr{Nothing}, symbolId::String, value::Float64)
Set the value for a given symbol, use getAvailableTimeCourseSymbols(void) for a list of symbols. Example: status = setValue (rrHandle, "S1", 0.5);
RoadRunner.setVectorElement
— MethodsetVectorElement(vector::Ptr{RRVector}, index::Int64, value::Float64)
Set a particular element in a vector.
RoadRunner.simulateEx
— MethodsimulateEx(rr::Ptr{Nothing}, startTime::Number, endTime::Number, setNumPoints::Int)
Carry out a time-course simulation based on the given arguments, time start, time end and number of points.
RoadRunner.solverTypeToString
— MethodsolverTypeToString(code::Int64)
Compute the eigenvalues of a double matrix.
RoadRunner.steadyState
— MethodsteadyState(rr::Ptr{Nothing})
Compute the steady state of the current model. Example: status = steadyState (rrHandle, &closenessToSteadyState);
RoadRunner.stringArrayToString
— MethodstringArrayToString(list::Ptr{RRStringArray})
Returns a string list in string form.
RoadRunner.vectorToString
— MethodvectorToString(vecHandle::Ptr{RRVector})
Returns a vector in string form.
RoadRunner.writeAntimonyFile
— MethodwriteAntimonyFile(filename::String, moduleName::String) Writes out an antimony-formatted file containing the given module.
RoadRunner.writeCellMLFile
— MethodwriteCellMLFile(filename::String, moduleName::String) Writes out a CellML-formatted XML file to the file indicated, retaining the same Antimony hierarchy using the CellML 'component' hieararchy.
RoadRunner.writeCompSBMLFile
— MethodwriteCompSBMLFile(filename::String, moduleName::String) Writes out a SBML-formatted XML file to the file indicated, using the 'Hierarchichal Model Composition' package
RoadRunner.writeRRData
— MethodwriteRRData(rr::Ptr{Nothing}, fileNameAndPath::String)
Writes RoadRunner data to file.
RoadRunner.writeSBMLFile
— MethodwriteSBMLFile(filename::String, moduleName::String) Writes out a SBML-formatted XML file to the file indicated.