8 #ifndef RRLLVMMODELDATA_H_
9 #define RRLLVMMODELDATA_H_
19 #pragma warning( push )
20 #pragma warning( disable : 4200 )
61 unsigned numIndCompartments;
100 unsigned numInitCompartments;
101 unsigned numInitFloatingSpecies;
102 unsigned numInitBoundarySpecies;
103 unsigned numInitGlobalParameters;
121 unsigned numPiecewiseTriggers;
177 double* initCompartmentVolumesAlias;
191 double* boundarySpeciesAmountsAlias;
192 double* initBoundarySpeciesAmountsAlias;
194 double* globalParametersAlias;
195 double* initGlobalParametersAlias;
197 double* reactionRatesAlias;
256 #pragma warning( pop )
261 std::ostream& operator <<(std::ostream& os,
const LLVMModelData& data);
Definition: rrRandom.h:14
A data structure that is that allows data to be exchanged with running SBML models.
Definition: LLVMModelData.h:47
unsigned numIndFloatingSpecies
The total ammounts of the independent floating species that don't have rules, i.e.
Definition: LLVMModelData.h:71
unsigned stateVectorSize
number of items in the state std::vector.
Definition: LLVMModelData.h:127
unsigned size
sizeof this struct, make sure we use the correct size in LLVM land.
Definition: LLVMModelData.h:52
double * stateVector
the state std::vector, this is usually a pointer to a block of data owned by the integrator.
Definition: LLVMModelData.h:133
unsigned numIndGlobalParameters
number of global parameters
Definition: LLVMModelData.h:85
double * initFloatingSpeciesAmountsAlias
conservation
Definition: LLVMModelData.h:188
double * floatingSpeciesAmountRates
amount rates of change for floating species.
Definition: LLVMModelData.h:160
rr::csr_matrix * stoichiometry
stoichiometry matrix
Definition: LLVMModelData.h:108
double * rateRuleRates
the rate of change of all elements who's dynamics are determined by rate rules.
Definition: LLVMModelData.h:150
unsigned numReactions
number of reactions, same as ratesSize.
Definition: LLVMModelData.h:98
double data[0]
binary data layout:
Definition: LLVMModelData.h:249
double time
current time.
Definition: LLVMModelData.h:59
double * compartmentVolumesAlias
******* Permanent data section *******
Definition: LLVMModelData.h:176
double * rateRuleValuesAlias
All of the elelments which have a rate rule are stored here, including the dependent floating species...
Definition: LLVMModelData.h:213
class Random * random
The rrllvm::Random class holds a RNG and caches random distributions used by the distrib package.
Definition: LLVMModelData.h:114
double * stateVectorRate
the rate of change of the state std::vector, this is usually a pointer to a block of data owned by th...
Definition: LLVMModelData.h:139
unsigned numRateRules
all rate rules are by definition dependent
Definition: LLVMModelData.h:91
unsigned numIndBoundarySpecies
number of boundary species and boundary species concentrations.
Definition: LLVMModelData.h:80
double * floatingSpeciesAmountsAlias
has length numIndFloatingSpecies
Definition: LLVMModelData.h:224