From 23031cd92e431bdc3de530d276c4584dba506ca6 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 2 Mar 2026 13:19:20 +1300 Subject: [PATCH 1/4] JavaScript: upgraded the version of jest needed to run our JavaScript tests. Needed as otherwise we (now!?) get various messages that read: ENOENT: no such file or directory, open 'node:fs' --- tests/bindings/javascript/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bindings/javascript/CMakeLists.txt b/tests/bindings/javascript/CMakeLists.txt index b8b645bc8..3f034ecfd 100644 --- a/tests/bindings/javascript/CMakeLists.txt +++ b/tests/bindings/javascript/CMakeLists.txt @@ -61,7 +61,7 @@ set(TEST_PACKAGE_JSON "{ \"author\": \"\", \"license\": \"Apache-2.0\", \"devDependencies\": { - \"jest\": \"^26.6.3\" + \"jest\": \"^30.2.0\" }, \"dependencies\": { \"libcellml.js\": \"file:${_RELATIVE_PATH}\" From 826906e95760949f47d03eb434b198ded9538d21 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 2 Mar 2026 11:21:52 +1300 Subject: [PATCH 2/4] Generator profile: fixed `computeComputedConstants()`'s signature. --- src/generatorprofile.cpp | 16 ++++++++-------- src/generatorprofilesha1values.h | 4 ++-- tests/bindings/python/test_generator_profile.py | 10 +++++----- tests/generator/generatorprofile.cpp | 10 +++++----- tests/resources/coverage/generator/model.c | 4 ++-- tests/resources/coverage/generator/model.h | 2 +- .../coverage/generator/model.implementation.out | 2 +- .../coverage/generator/model.interface.out | 2 +- .../coverage/generator/model.modified.profile.c | 4 ++-- .../coverage/generator/model.modified.profile.h | 2 +- .../coverage/generator/model.modified.profile.py | 4 ++-- .../coverage/generator/model.no.tracking.c | 4 ++-- .../coverage/generator/model.no.tracking.h | 2 +- tests/resources/coverage/generator/model.out | 2 +- tests/resources/coverage/generator/model.py | 4 ++-- .../algebraic_eqn_computed_var_on_rhs/model.c | 4 ++-- .../model.external.c | 4 ++-- .../model.external.h | 2 +- .../model.external.py | 4 ++-- .../algebraic_eqn_computed_var_on_rhs/model.h | 2 +- .../algebraic_eqn_computed_var_on_rhs/model.py | 4 ++-- .../algebraic_eqn_const_var_on_rhs/model.c | 4 ++-- .../algebraic_eqn_const_var_on_rhs/model.h | 2 +- .../algebraic_eqn_const_var_on_rhs/model.py | 4 ++-- .../algebraic_eqn_constant_on_rhs/model.c | 4 ++-- .../algebraic_eqn_constant_on_rhs/model.h | 2 +- .../algebraic_eqn_constant_on_rhs/model.py | 4 ++-- .../algebraic_eqn_derivative_on_rhs/model.c | 4 ++-- .../algebraic_eqn_derivative_on_rhs/model.h | 2 +- .../algebraic_eqn_derivative_on_rhs/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../algebraic_eqn_state_var_on_rhs/model.c | 4 ++-- .../algebraic_eqn_state_var_on_rhs/model.h | 2 +- .../algebraic_eqn_state_var_on_rhs/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../model.c | 4 ++-- .../model.external.c | 4 ++-- .../model.external.h | 2 +- .../model.external.py | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../model.c | 4 ++-- .../model.external.c | 4 ++-- .../model.external.h | 2 +- .../model.external.py | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../model.not.ordered.c | 4 ++-- .../model.not.ordered.h | 2 +- .../model.not.ordered.py | 4 ++-- .../model.ordered.c | 4 ++-- .../model.ordered.h | 2 +- .../model.ordered.py | 4 ++-- .../algebraic_unknown_var_on_rhs/model.c | 4 ++-- .../algebraic_unknown_var_on_rhs/model.h | 2 +- .../algebraic_unknown_var_on_rhs/model.py | 4 ++-- .../generator/cell_geometry_model/model.c | 4 ++-- .../cell_geometry_model/model.external.c | 4 ++-- .../cell_geometry_model/model.external.h | 2 +- .../cell_geometry_model/model.external.py | 4 ++-- .../generator/cell_geometry_model/model.h | 2 +- .../generator/cell_geometry_model/model.py | 4 ++-- .../cellml_mappings_and_encapsulations/model.c | 4 ++-- .../cellml_mappings_and_encapsulations/model.h | 2 +- .../cellml_mappings_and_encapsulations/model.py | 4 ++-- .../generator/cellml_slc_example/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../cellml_unit_scaling_constant/model.c | 4 ++-- .../cellml_unit_scaling_constant/model.h | 2 +- .../cellml_unit_scaling_constant/model.py | 4 ++-- .../generator/cellml_unit_scaling_rate/model.c | 4 ++-- .../generator/cellml_unit_scaling_rate/model.h | 2 +- .../generator/cellml_unit_scaling_rate/model.py | 4 ++-- .../generator/cellml_unit_scaling_state/model.c | 4 ++-- .../generator/cellml_unit_scaling_state/model.h | 2 +- .../generator/cellml_unit_scaling_state/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../cellml_unit_scaling_voi_direct/model.c | 4 ++-- .../cellml_unit_scaling_voi_direct/model.h | 2 +- .../cellml_unit_scaling_voi_direct/model.py | 4 ++-- .../cellml_unit_scaling_voi_indirect/model.c | 4 ++-- .../cellml_unit_scaling_voi_indirect/model.h | 2 +- .../cellml_unit_scaling_voi_indirect/model.py | 4 ++-- .../generator/dae_cellml_1_1_model/model.c | 4 ++-- .../generator/dae_cellml_1_1_model/model.h | 2 +- .../generator/dae_cellml_1_1_model/model.py | 4 ++-- tests/resources/generator/dependent_eqns/model.c | 4 ++-- tests/resources/generator/dependent_eqns/model.h | 2 +- .../resources/generator/dependent_eqns/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../model.algebraic.c | 4 ++-- .../model.algebraic.h | 2 +- .../model.algebraic.py | 4 ++-- .../hodgkin_huxley_squid_axon_model_1952/model.c | 4 ++-- .../model.computed.constant.c | 4 ++-- .../model.computed.constant.h | 2 +- .../model.computed.constant.py | 4 ++-- .../model.constant.c | 4 ++-- .../model.constant.h | 2 +- .../model.constant.py | 4 ++-- .../model.dae.c | 4 ++-- .../model.dae.external.c | 4 ++-- .../model.dae.external.h | 2 +- .../model.dae.external.py | 4 ++-- .../model.dae.for.tracking.control.c | 4 ++-- .../model.dae.for.tracking.control.h | 2 +- .../model.dae.for.tracking.control.py | 4 ++-- ...del.dae.for.tracking.control.with.externals.c | 4 ++-- ...del.dae.for.tracking.control.with.externals.h | 2 +- ...el.dae.for.tracking.control.with.externals.py | 4 ++-- ....for.tracking.untracked.algebraic.variables.c | 4 ++-- ....for.tracking.untracked.algebraic.variables.h | 2 +- ...for.tracking.untracked.algebraic.variables.py | 4 ++-- ...ntracked.algebraic.variables.with.externals.c | 4 ++-- ...ntracked.algebraic.variables.with.externals.h | 2 +- ...tracked.algebraic.variables.with.externals.py | 4 ++-- ...e.for.tracking.untracked.computed.constants.c | 4 ++-- ...e.for.tracking.untracked.computed.constants.h | 2 +- ....for.tracking.untracked.computed.constants.py | 4 ++-- ...untracked.computed.constants.with.externals.c | 4 ++-- ...untracked.computed.constants.with.externals.h | 2 +- ...ntracked.computed.constants.with.externals.py | 4 ++-- .../model.dae.for.tracking.untracked.constants.c | 4 ++-- .../model.dae.for.tracking.untracked.constants.h | 2 +- ...model.dae.for.tracking.untracked.constants.py | 4 ++-- ...tracking.untracked.constants.with.externals.c | 4 ++-- ...tracking.untracked.constants.with.externals.h | 2 +- ...racking.untracked.constants.with.externals.py | 4 ++-- .../model.dae.for.tracking.untracked.variables.c | 4 ++-- .../model.dae.for.tracking.untracked.variables.h | 2 +- ...model.dae.for.tracking.untracked.variables.py | 4 ++-- ...tracking.untracked.variables.with.externals.c | 4 ++-- ...tracking.untracked.variables.with.externals.h | 2 +- ...racking.untracked.variables.with.externals.py | 4 ++-- .../model.dae.h | 2 +- .../model.dae.py | 4 ++-- .../model.dependent.algebraic.c | 4 ++-- .../model.dependent.algebraic.h | 2 +- .../model.dependent.algebraic.py | 4 ++-- .../model.dependent.computed.constant.c | 4 ++-- .../model.dependent.computed.constant.h | 2 +- .../model.dependent.computed.constant.py | 4 ++-- .../model.dependent.constant.c | 4 ++-- .../model.dependent.constant.h | 2 +- .../model.dependent.constant.py | 4 ++-- .../model.dependent.state.c | 4 ++-- .../model.dependent.state.h | 2 +- .../model.dependent.state.py | 4 ++-- .../model.external.c | 4 ++-- .../model.external.h | 2 +- .../model.external.py | 4 ++-- .../hodgkin_huxley_squid_axon_model_1952/model.h | 2 +- .../model.py | 4 ++-- .../model.state.c | 4 ++-- .../model.state.h | 2 +- .../model.state.py | 4 ++-- .../model.untracked.algebraic.variables.c | 4 ++-- .../model.untracked.algebraic.variables.h | 2 +- .../model.untracked.algebraic.variables.py | 4 ++-- ...ntracked.algebraic.variables.with.externals.c | 4 ++-- ...ntracked.algebraic.variables.with.externals.h | 2 +- ...tracked.algebraic.variables.with.externals.py | 4 ++-- .../model.untracked.computed.constants.c | 4 ++-- .../model.untracked.computed.constants.h | 2 +- .../model.untracked.computed.constants.py | 4 ++-- ...untracked.computed.constants.with.externals.c | 4 ++-- ...untracked.computed.constants.with.externals.h | 2 +- ...ntracked.computed.constants.with.externals.py | 4 ++-- .../model.untracked.constants.c | 4 ++-- .../model.untracked.constants.h | 2 +- .../model.untracked.constants.py | 4 ++-- .../model.untracked.constants.with.externals.c | 4 ++-- .../model.untracked.constants.with.externals.h | 2 +- .../model.untracked.constants.with.externals.py | 4 ++-- .../model.untracked.variables.c | 4 ++-- .../model.untracked.variables.h | 2 +- .../model.untracked.variables.py | 4 ++-- .../model.untracked.variables.with.externals.c | 4 ++-- .../model.untracked.variables.with.externals.h | 2 +- .../model.untracked.variables.with.externals.py | 4 ++-- .../resources/generator/noble_model_1962/model.c | 4 ++-- .../resources/generator/noble_model_1962/model.h | 2 +- .../generator/noble_model_1962/model.py | 4 ++-- .../generator/ode_computed_var_on_rhs/model.c | 4 ++-- .../generator/ode_computed_var_on_rhs/model.h | 2 +- .../generator/ode_computed_var_on_rhs/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../generator/ode_const_var_on_rhs/model.c | 4 ++-- .../generator/ode_const_var_on_rhs/model.h | 2 +- .../generator/ode_const_var_on_rhs/model.py | 4 ++-- .../ode_const_var_on_rhs_one_component/model.c | 4 ++-- .../ode_const_var_on_rhs_one_component/model.h | 2 +- .../ode_const_var_on_rhs_one_component/model.py | 4 ++-- .../generator/ode_constant_on_rhs/model.c | 4 ++-- .../generator/ode_constant_on_rhs/model.h | 2 +- .../generator/ode_constant_on_rhs/model.py | 4 ++-- .../ode_constant_on_rhs_one_component/model.c | 4 ++-- .../ode_constant_on_rhs_one_component/model.h | 2 +- .../ode_constant_on_rhs_one_component/model.py | 4 ++-- .../ode_multiple_dependent_odes/model.c | 4 ++-- .../ode_multiple_dependent_odes/model.h | 2 +- .../ode_multiple_dependent_odes/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../ode_multiple_odes_with_same_name/model.c | 4 ++-- .../ode_multiple_odes_with_same_name/model.h | 2 +- .../ode_multiple_odes_with_same_name/model.py | 4 ++-- .../generator/ode_unknown_var_on_rhs/model.c | 4 ++-- .../generator/ode_unknown_var_on_rhs/model.h | 2 +- .../generator/ode_unknown_var_on_rhs/model.py | 4 ++-- .../generator/robertson_model_1966/model.dae.c | 4 ++-- .../generator/robertson_model_1966/model.dae.h | 2 +- .../generator/robertson_model_1966/model.dae.py | 4 ++-- .../generator/robertson_model_1966/model.ode.c | 4 ++-- .../generator/robertson_model_1966/model.ode.h | 2 +- .../generator/robertson_model_1966/model.ode.py | 4 ++-- .../generator/sine_model_imports/model.c | 4 ++-- .../generator/sine_model_imports/model.h | 2 +- .../generator/sine_model_imports/model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- .../model.c | 4 ++-- .../model.h | 2 +- .../model.py | 4 ++-- 244 files changed, 418 insertions(+), 418 deletions(-) diff --git a/src/generatorprofile.cpp b/src/generatorprofile.cpp index ed7f3f847..cda6f5256 100644 --- a/src/generatorprofile.cpp +++ b/src/generatorprofile.cpp @@ -225,7 +225,7 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi "#include \n"; mInterfaceVersionString = "extern const char VERSION[];\n"; - mImplementationVersionString = "const char VERSION[] = \"0.7.0\";\n"; + mImplementationVersionString = "const char VERSION[] = \"0.8.0\";\n"; mInterfaceLibcellmlVersionString = "extern const char LIBCELLML_VERSION[];\n"; mImplementationLibcellmlVersionString = "const char LIBCELLML_VERSION[] = \"[LIBCELLML_VERSION]\";\n"; @@ -489,14 +489,14 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi "[CODE]" "}\n"; - mInterfaceComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double *constants, double *computedConstants, double *algebraic);\n"; - mImplementationComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double *constants, double *computedConstants, double *algebraic)\n" + mInterfaceComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables);\n"; + mImplementationComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables)\n" "{\n" "[CODE]" "}\n"; - mInterfaceComputeComputedConstantsMethodDiffString = "void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic);\n"; - mImplementationComputeComputedConstantsMethodDiffString = "void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic)\n" + mInterfaceComputeComputedConstantsMethodDiffString = "void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables);\n"; + mImplementationComputeComputedConstantsMethodDiffString = "void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables)\n" "{\n" "[CODE]" "}\n"; @@ -741,7 +741,7 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi "\n"; mInterfaceVersionString = ""; - mImplementationVersionString = "__version__ = \"0.6.0\"\n"; + mImplementationVersionString = "__version__ = \"0.7.0\"\n"; mInterfaceLibcellmlVersionString = ""; mImplementationLibcellmlVersionString = "LIBCELLML_VERSION = \"[LIBCELLML_VERSION]\"\n"; @@ -928,12 +928,12 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi mInterfaceComputeComputedConstantsMethodNonDiffString = ""; mImplementationComputeComputedConstantsMethodNonDiffString = "\n" - "def compute_computed_constants(constants, computed_constants, algebraic):\n" + "def compute_computed_constants(voi, constants, computed_constants, algebraic_variables):\n" "[CODE]"; mInterfaceComputeComputedConstantsMethodDiffString = ""; mImplementationComputeComputedConstantsMethodDiffString = "\n" - "def compute_computed_constants(states, rates, constants, computed_constants, algebraic):\n" + "def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables):\n" "[CODE]"; mInterfaceComputeRatesMethodWoevString = ""; diff --git a/src/generatorprofilesha1values.h b/src/generatorprofilesha1values.h index c21e4fcfe..e405e3b07 100644 --- a/src/generatorprofilesha1values.h +++ b/src/generatorprofilesha1values.h @@ -24,7 +24,7 @@ namespace libcellml { * The content of this file is generated, do not edit this file directly. * See docs/dev_utilities.rst for further information. */ -static const char C_GENERATOR_PROFILE_SHA1[] = "24b7a2f82510d2f79aeaee509a1b1b04ea1d749b"; -static const char PYTHON_GENERATOR_PROFILE_SHA1[] = "b117a2500aae147f477127f0bfb0e2c9e242c6c8"; +static const char C_GENERATOR_PROFILE_SHA1[] = "346a4ff247abc2adf940dbd5c864b4a1a765dba9"; +static const char PYTHON_GENERATOR_PROFILE_SHA1[] = "0c0a8c667b3fe4c4dc131a104741a8d13ac33940"; } // namespace libcellml diff --git a/tests/bindings/python/test_generator_profile.py b/tests/bindings/python/test_generator_profile.py index a5d27226c..5dd3494a6 100644 --- a/tests/bindings/python/test_generator_profile.py +++ b/tests/bindings/python/test_generator_profile.py @@ -698,12 +698,12 @@ def test_implementation_compute_computed_constants_method_string(self): g = GeneratorProfile() - self.assertEqual('void computeComputedConstants(double *constants, double *computedConstants, double *algebraic)\n{\n[CODE]}\n', + self.assertEqual('void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables)\n{\n[CODE]}\n', g.implementationComputeComputedConstantsMethodString(False)) g.setImplementationComputeComputedConstantsMethodString(False, GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.implementationComputeComputedConstantsMethodString(False)) - self.assertEqual('void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic)\n{\n[CODE]}\n', + self.assertEqual('void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables)\n{\n[CODE]}\n', g.implementationComputeComputedConstantsMethodString(True)) g.setImplementationComputeComputedConstantsMethodString(True, GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.implementationComputeComputedConstantsMethodString(True)) @@ -949,7 +949,7 @@ def test_implementation_version_string(self): g = GeneratorProfile() - self.assertEqual('const char VERSION[] = "0.7.0";\n', g.implementationVersionString()) + self.assertEqual('const char VERSION[] = "0.8.0";\n', g.implementationVersionString()) g.setImplementationVersionString(GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.implementationVersionString()) @@ -985,12 +985,12 @@ def test_interface_compute_computed_constants_method_string(self): g = GeneratorProfile() - self.assertEqual('void computeComputedConstants(double *constants, double *computedConstants, double *algebraic);\n', + self.assertEqual('void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables);\n', g.interfaceComputeComputedConstantsMethodString(False)) g.setInterfaceComputeComputedConstantsMethodString(False, GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.interfaceComputeComputedConstantsMethodString(False)) - self.assertEqual('void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic);\n', + self.assertEqual('void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables);\n', g.interfaceComputeComputedConstantsMethodString(True)) g.setInterfaceComputeComputedConstantsMethodString(True, GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.interfaceComputeComputedConstantsMethodString(True)) diff --git a/tests/generator/generatorprofile.cpp b/tests/generator/generatorprofile.cpp index 683a9692b..93531c7b0 100644 --- a/tests/generator/generatorprofile.cpp +++ b/tests/generator/generatorprofile.cpp @@ -271,7 +271,7 @@ TEST(GeneratorProfile, defaultMiscellaneousValues) generatorProfile->implementationHeaderString()); EXPECT_EQ("extern const char VERSION[];\n", generatorProfile->interfaceVersionString()); - EXPECT_EQ("const char VERSION[] = \"0.7.0\";\n", generatorProfile->implementationVersionString()); + EXPECT_EQ("const char VERSION[] = \"0.8.0\";\n", generatorProfile->implementationVersionString()); EXPECT_EQ("extern const char LIBCELLML_VERSION[];\n", generatorProfile->interfaceLibcellmlVersionString()); EXPECT_EQ("const char LIBCELLML_VERSION[] = \"[LIBCELLML_VERSION]\";\n", generatorProfile->implementationLibcellmlVersionString()); @@ -574,17 +574,17 @@ TEST(GeneratorProfile, defaultMiscellaneousValues) "}\n", generatorProfile->implementationInitialiseArraysMethodString(true)); - EXPECT_EQ("void computeComputedConstants(double *constants, double *computedConstants, double *algebraic);\n", + EXPECT_EQ("void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables);\n", generatorProfile->interfaceComputeComputedConstantsMethodString(false)); - EXPECT_EQ("void computeComputedConstants(double *constants, double *computedConstants, double *algebraic)\n" + EXPECT_EQ("void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables)\n" "{\n" "[CODE]" "}\n", generatorProfile->implementationComputeComputedConstantsMethodString(false)); - EXPECT_EQ("void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic);\n", + EXPECT_EQ("void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables);\n", generatorProfile->interfaceComputeComputedConstantsMethodString(true)); - EXPECT_EQ("void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic)\n" + EXPECT_EQ("void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables)\n" "{\n" "[CODE]" "}\n", diff --git a/tests/resources/coverage/generator/model.c b/tests/resources/coverage/generator/model.c index fd5521da4..ed52fcd9d 100644 --- a/tests/resources/coverage/generator/model.c +++ b/tests/resources/coverage/generator/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -452,7 +452,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[1] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1] == constants[0]; computedConstants[1] = constants[1]/(constants[0] == constants[0]); diff --git a/tests/resources/coverage/generator/model.h b/tests/resources/coverage/generator/model.h index 9568a7de8..803f89918 100644 --- a/tests/resources/coverage/generator/model.h +++ b/tests/resources/coverage/generator/model.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/coverage/generator/model.implementation.out b/tests/resources/coverage/generator/model.implementation.out index 014dd8939..aca3dbf8e 100644 --- a/tests/resources/coverage/generator/model.implementation.out +++ b/tests/resources/coverage/generator/model.implementation.out @@ -211,7 +211,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[1] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = eq(constants[1], constants[0]); computedConstants[1] = constants[1]/eq(constants[0], constants[0]); diff --git a/tests/resources/coverage/generator/model.interface.out b/tests/resources/coverage/generator/model.interface.out index f7f199098..9a4b3325d 100644 --- a/tests/resources/coverage/generator/model.interface.out +++ b/tests/resources/coverage/generator/model.interface.out @@ -15,6 +15,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/coverage/generator/model.modified.profile.c b/tests/resources/coverage/generator/model.modified.profile.c index 825cc7760..3de4b607c 100644 --- a/tests/resources/coverage/generator/model.modified.profile.c +++ b/tests/resources/coverage/generator/model.modified.profile.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0.post0"; +const char VERSION[] = "0.8.0.post0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -452,7 +452,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[1] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1] == constants[0]; computedConstants[1] = constants[1]/(constants[0] == constants[0]); diff --git a/tests/resources/coverage/generator/model.modified.profile.h b/tests/resources/coverage/generator/model.modified.profile.h index 0a608f783..98628d8d0 100644 --- a/tests/resources/coverage/generator/model.modified.profile.h +++ b/tests/resources/coverage/generator/model.modified.profile.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/coverage/generator/model.modified.profile.py b/tests/resources/coverage/generator/model.modified.profile.py index 76e84d822..b2bb6ea66 100644 --- a/tests/resources/coverage/generator/model.modified.profile.py +++ b/tests/resources/coverage/generator/model.modified.profile.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0.post0" +__version__ = "0.7.0.post0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -419,7 +419,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[1] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = eq_func(constants[1], constants[0]) computed_constants[1] = constants[1]/eq_func(constants[0], constants[0]) computed_constants[2] = neq_func(constants[1], constants[0]) diff --git a/tests/resources/coverage/generator/model.no.tracking.c b/tests/resources/coverage/generator/model.no.tracking.c index b5665cbcb..770732218 100644 --- a/tests/resources/coverage/generator/model.no.tracking.c +++ b/tests/resources/coverage/generator/model.no.tracking.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -221,7 +221,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[1] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/coverage/generator/model.no.tracking.h b/tests/resources/coverage/generator/model.no.tracking.h index 86c60ae92..d35de4621 100644 --- a/tests/resources/coverage/generator/model.no.tracking.h +++ b/tests/resources/coverage/generator/model.no.tracking.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/coverage/generator/model.out b/tests/resources/coverage/generator/model.out index f705cd845..711a0b99f 100644 --- a/tests/resources/coverage/generator/model.out +++ b/tests/resources/coverage/generator/model.out @@ -122,7 +122,7 @@ void findRoot0(double voi, double *states, double *rates, double *constants, dou algebraicVariables[1] = u[1]; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1] == constants[0]; computedConstants[1] = constants[1]/(constants[0] == constants[0]); diff --git a/tests/resources/coverage/generator/model.py b/tests/resources/coverage/generator/model.py index 2176333de..6326fd8b9 100644 --- a/tests/resources/coverage/generator/model.py +++ b/tests/resources/coverage/generator/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -419,7 +419,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[1] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = eq_func(constants[1], constants[0]) computed_constants[1] = constants[1]/eq_func(constants[0], constants[0]) computed_constants[2] = neq_func(constants[1], constants[0]) diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c index 8bf4f961e..d8df1ed0f 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -66,7 +66,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge computedConstants[0] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[1] = computedConstants[0]; } diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c index ff8bcd858..47aa6f47f 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -80,7 +80,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge { } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h index 26566dac7..8cd32420d 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py index 259240b44..5b70ae1cf 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -47,7 +47,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): pass -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h index bb6d32ca8..6837b0137 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py index 20dbcfa05..fe978b168 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -39,7 +39,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): computed_constants[0] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[1] = computed_constants[0] diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c index 1c3c778e5..91d6a0c0b 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 1; @@ -66,7 +66,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[0] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[0]; } diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h index bb6d32ca8..6837b0137 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py index 893bc667b..a3328a017 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 1 @@ -39,7 +39,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[0] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[0] diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c index 978140be5..cbeeb424f 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -65,7 +65,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge computedConstants[0] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h index ec9899059..fd94bc969 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py index ce891673e..41a32acdb 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -38,7 +38,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): computed_constants[0] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c index d47ff38ea..0968c2c19 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -85,7 +85,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * computedConstants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h index b04e145af..f89b96712 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py index 01035f604..16da3f6e3 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -51,7 +51,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va computed_constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c index 10fe320c6..2253db49f 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -85,7 +85,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * computedConstants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h index 94ce70879..535adebc6 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py index 22079d115..77b2811fa 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -51,7 +51,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va computed_constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c index 87cc4b108..61b5a702d 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -85,7 +85,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * computedConstants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h index 28cbf9e97..b611ef5e7 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py index 24b1386bc..d23fa61f0 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -51,7 +51,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va computed_constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c index 51d093497..06be03520 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -85,7 +85,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * computedConstants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h index 91fd15c3d..9942cf36c 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py index 225a95da3..ae818ea91 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -51,7 +51,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va computed_constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c index 5d76e1c8d..663af6d35 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -103,7 +103,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[0] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c index 4d2556fd0..8f3c5b4f6 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -119,7 +119,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[0] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h index 26566dac7..8cd32420d 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py index c07550e8d..01d4ca866 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -75,7 +75,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[0] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h index bb6d32ca8..6837b0137 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py index eec5b9b28..1e0b6ddab 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -67,7 +67,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[0] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c index 2e57251d3..5d90a6059 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -109,7 +109,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[2] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c index bd5abe872..558ad655d 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -81,7 +81,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge { } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h index d52fe2527..ea890f331 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py index 9281341ea..bab36d749 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -48,7 +48,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): pass -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h index 25248242e..e54351fb7 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py index d31e68c1d..f7e2c45d5 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -73,7 +73,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[2] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c index 381aa4fba..938e3d9b0 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 2; @@ -109,7 +109,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[1] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = 3.0*constants[1]+constants[0]; } diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h index 25248242e..e54351fb7 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py index bd237fa92..60b943a64 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 2 @@ -73,7 +73,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[1] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[0] = 3.0*constants[1]+constants[0] diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c index 7744f0b49..b5c504457 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 2; @@ -109,7 +109,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[1] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = 3.0*constants[1]+constants[0]; } diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h index 25248242e..e54351fb7 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py index bd237fa92..60b943a64 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 2 @@ -73,7 +73,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[1] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[0] = 3.0*constants[1]+constants[0] diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c index 766d46c33..ee89f145b 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -66,7 +66,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge computedConstants[0] = 1.0; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[1] = computedConstants[0]; } diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h index ec9899059..fd94bc969 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py index 71ac8681a..1f648fe95 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -39,7 +39,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): computed_constants[0] = 1.0 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[1] = computed_constants[0] diff --git a/tests/resources/generator/cell_geometry_model/model.c b/tests/resources/generator/cell_geometry_model/model.c index cca5884ab..5fb6df240 100644 --- a/tests/resources/generator/cell_geometry_model/model.c +++ b/tests/resources/generator/cell_geometry_model/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 2; @@ -69,7 +69,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[1] = 0.0011; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = 1000.0*3.14*constants[1]*constants[1]*constants[0]; computedConstants[1] = 0.02*computedConstants[0]; diff --git a/tests/resources/generator/cell_geometry_model/model.external.c b/tests/resources/generator/cell_geometry_model/model.external.c index 480f52c68..35af80f76 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.c +++ b/tests/resources/generator/cell_geometry_model/model.external.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 0; @@ -82,7 +82,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge { } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cell_geometry_model/model.external.h b/tests/resources/generator/cell_geometry_model/model.external.h index 5ca6ded49..6acc7db94 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.h +++ b/tests/resources/generator/cell_geometry_model/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/cell_geometry_model/model.external.py b/tests/resources/generator/cell_geometry_model/model.external.py index 713e37587..1e54c6ed4 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.py +++ b/tests/resources/generator/cell_geometry_model/model.external.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 0 @@ -49,7 +49,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): pass -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cell_geometry_model/model.h b/tests/resources/generator/cell_geometry_model/model.h index ac83a1e38..a11339ee1 100644 --- a/tests/resources/generator/cell_geometry_model/model.h +++ b/tests/resources/generator/cell_geometry_model/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cell_geometry_model/model.py b/tests/resources/generator/cell_geometry_model/model.py index 7194e2704..72220d21e 100644 --- a/tests/resources/generator/cell_geometry_model/model.py +++ b/tests/resources/generator/cell_geometry_model/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 2 @@ -42,7 +42,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[1] = 0.0011 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[0] = 1000.0*3.14*constants[1]*constants[1]*constants[0] computed_constants[1] = 0.02*computed_constants[0] diff --git a/tests/resources/generator/cellml_mappings_and_encapsulations/model.c b/tests/resources/generator/cellml_mappings_and_encapsulations/model.c index 83aeb3155..8ac5dd4da 100644 --- a/tests/resources/generator/cellml_mappings_and_encapsulations/model.c +++ b/tests/resources/generator/cellml_mappings_and_encapsulations/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -86,7 +86,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[1] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_mappings_and_encapsulations/model.h b/tests/resources/generator/cellml_mappings_and_encapsulations/model.h index a250c3ea6..8173c451a 100644 --- a/tests/resources/generator/cellml_mappings_and_encapsulations/model.h +++ b/tests/resources/generator/cellml_mappings_and_encapsulations/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_mappings_and_encapsulations/model.py b/tests/resources/generator/cellml_mappings_and_encapsulations/model.py index d9b9a9e4e..296196b0b 100644 --- a/tests/resources/generator/cellml_mappings_and_encapsulations/model.py +++ b/tests/resources/generator/cellml_mappings_and_encapsulations/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -52,7 +52,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[1] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cellml_slc_example/model.py b/tests/resources/generator/cellml_slc_example/model.py index 846e029ad..5842c159b 100644 --- a/tests/resources/generator/cellml_slc_example/model.py +++ b/tests/resources/generator/cellml_slc_example/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 9 @@ -55,7 +55,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[8] = 1.1 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[8]*(constants[7]*constants[1]-constants[6]*constants[2])/(constants[5]*constants[2]+constants[4]*constants[1]+constants[3]*constants[2]*constants[1]+constants[0]) diff --git a/tests/resources/generator/cellml_state_initialised_using_variable/model.c b/tests/resources/generator/cellml_state_initialised_using_variable/model.c index cce19d524..8995d8253 100644 --- a/tests/resources/generator/cellml_state_initialised_using_variable/model.c +++ b/tests/resources/generator/cellml_state_initialised_using_variable/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[0] = constants[0]; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_state_initialised_using_variable/model.h b/tests/resources/generator/cellml_state_initialised_using_variable/model.h index 2e26a1fd8..e38f03097 100644 --- a/tests/resources/generator/cellml_state_initialised_using_variable/model.h +++ b/tests/resources/generator/cellml_state_initialised_using_variable/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_state_initialised_using_variable/model.py b/tests/resources/generator/cellml_state_initialised_using_variable/model.py index e2b042ce9..d6c036b45 100644 --- a/tests/resources/generator/cellml_state_initialised_using_variable/model.py +++ b/tests/resources/generator/cellml_state_initialised_using_variable/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[0] = constants[0] -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.c b/tests/resources/generator/cellml_unit_scaling_constant/model.c index dc22819b2..6b62edc68 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.c +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 9; @@ -91,7 +91,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[8] = constants[7]; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+constants[0]; computedConstants[1] = 0.001*constants[1]+0.001*constants[0]; diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.h b/tests/resources/generator/cellml_unit_scaling_constant/model.h index a183ef741..f3d467e8f 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.h +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.py b/tests/resources/generator/cellml_unit_scaling_constant/model.py index f85680f55..86fb2134d 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.py +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 9 @@ -64,7 +64,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[8] = constants[7] -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+constants[0] computed_constants[1] = 0.001*constants[1]+0.001*constants[0] computed_constants[2] = 1000.0*constants[3]+1000.0*constants[4] diff --git a/tests/resources/generator/cellml_unit_scaling_rate/model.c b/tests/resources/generator/cellml_unit_scaling_rate/model.c index 5c4e633af..8dfd254f4 100644 --- a/tests/resources/generator/cellml_unit_scaling_rate/model.c +++ b/tests/resources/generator/cellml_unit_scaling_rate/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[0] = 123.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_unit_scaling_rate/model.h b/tests/resources/generator/cellml_unit_scaling_rate/model.h index 2e26a1fd8..e38f03097 100644 --- a/tests/resources/generator/cellml_unit_scaling_rate/model.h +++ b/tests/resources/generator/cellml_unit_scaling_rate/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_rate/model.py b/tests/resources/generator/cellml_unit_scaling_rate/model.py index 9b7d90ad8..a59f9284d 100644 --- a/tests/resources/generator/cellml_unit_scaling_rate/model.py +++ b/tests/resources/generator/cellml_unit_scaling_rate/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[0] = 123.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cellml_unit_scaling_state/model.c b/tests/resources/generator/cellml_unit_scaling_state/model.c index 73d795648..9969f3699 100644 --- a/tests/resources/generator/cellml_unit_scaling_state/model.c +++ b/tests/resources/generator/cellml_unit_scaling_state/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[0] = 123.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_unit_scaling_state/model.h b/tests/resources/generator/cellml_unit_scaling_state/model.h index 2e26a1fd8..e38f03097 100644 --- a/tests/resources/generator/cellml_unit_scaling_state/model.h +++ b/tests/resources/generator/cellml_unit_scaling_state/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_state/model.py b/tests/resources/generator/cellml_unit_scaling_state/model.py index b2454a768..b2b4ce86d 100644 --- a/tests/resources/generator/cellml_unit_scaling_state/model.py +++ b/tests/resources/generator/cellml_unit_scaling_state/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[0] = 123.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c index a65c53da8..b526f508f 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[1] = 0.001*789.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h index d27f4f5e7..00c23eac7 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py index d77590f17..959d2d08d 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[1] = 0.001*789.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c index a7d21b7c6..28ff7aaf9 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -88,7 +88,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[1] = 0.001*constants[1]; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h index 91b6f8df3..361272fca 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py index 61db6240c..f3bd8f783 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -54,7 +54,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[1] = 0.001*constants[1] -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c index 71e07eb6a..5d7fa1595 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c +++ b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[1] = 5.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h index 77fc3ba73..e0c41442a 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h +++ b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py index d76c8c661..822e27212 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py +++ b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[1] = 5.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c index f56b39c72..6cb7fda39 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c +++ b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 3; @@ -86,7 +86,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[2] = 11.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h index 91d20c68c..048745be9 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h +++ b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py index 3e2a7e1c5..471f5fecd 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py +++ b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 3 @@ -52,7 +52,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[2] = 11.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/dae_cellml_1_1_model/model.c b/tests/resources/generator/dae_cellml_1_1_model/model.c index a5ebbb5eb..c2ee0054b 100644 --- a/tests/resources/generator/dae_cellml_1_1_model/model.c +++ b/tests/resources/generator/dae_cellml_1_1_model/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -165,7 +165,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[2] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/dae_cellml_1_1_model/model.h b/tests/resources/generator/dae_cellml_1_1_model/model.h index 3350366ae..f707815ff 100644 --- a/tests/resources/generator/dae_cellml_1_1_model/model.h +++ b/tests/resources/generator/dae_cellml_1_1_model/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/dae_cellml_1_1_model/model.py b/tests/resources/generator/dae_cellml_1_1_model/model.py index e84732552..e0eb2ab44 100644 --- a/tests/resources/generator/dae_cellml_1_1_model/model.py +++ b/tests/resources/generator/dae_cellml_1_1_model/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -116,7 +116,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[2] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/dependent_eqns/model.c b/tests/resources/generator/dependent_eqns/model.c index 4764fb652..5eae25781 100644 --- a/tests/resources/generator/dependent_eqns/model.c +++ b/tests/resources/generator/dependent_eqns/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[0] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/dependent_eqns/model.h b/tests/resources/generator/dependent_eqns/model.h index 04fbb2071..7325a5a85 100644 --- a/tests/resources/generator/dependent_eqns/model.h +++ b/tests/resources/generator/dependent_eqns/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/dependent_eqns/model.py b/tests/resources/generator/dependent_eqns/model.py index 9ffd00bc2..12cc4c5ce 100644 --- a/tests/resources/generator/dependent_eqns/model.py +++ b/tests/resources/generator/dependent_eqns/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[0] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c index 2bb7d60ae..68341e6f0 100644 --- a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c +++ b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 33; @@ -454,7 +454,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[90] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[62]*constants[61]/constants[6]; computedConstants[1] = computedConstants[0]*log(constants[4]/constants[3]); diff --git a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h index 3a126e50d..8a1123647 100644 --- a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h +++ b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py index 5dcdbd888..ea341633d 100644 --- a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py +++ b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 33 @@ -440,7 +440,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[90] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[62]*constants[61]/constants[6] computed_constants[1] = computed_constants[0]*log(constants[4]/constants[3]) computed_constants[4] = 1.2 if gt_func(constants[1], 0.0) else 1.0 diff --git a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c index d3dd33e91..19e6a3251 100644 --- a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c +++ b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 15; @@ -405,7 +405,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[109] = 0.006875; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = (constants[1] == 0.0)?1.07*(3.0*constants[0]-0.1)/(3.0*(1.0+0.7745*exp(-(3.0*constants[0]-2.05)/0.295))):(constants[1] == 1.0)?constants[2]*constants[0]/(1.0+0.7745*exp(-(3.0*constants[0]-2.05)/0.295)):1.07*29.0*constants[0]/(30.0*(1.0+0.7745*exp(-(29.0*constants[0]-24.5)/1.95))); computedConstants[1] = constants[3]+computedConstants[0]*(constants[4]-constants[3]); diff --git a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h index 115dc5443..b9fc05184 100644 --- a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h +++ b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py index b7702ec72..b54397736 100644 --- a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py +++ b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 15 @@ -379,7 +379,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[109] = 0.006875 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = 1.07*(3.0*constants[0]-0.1)/(3.0*(1.0+0.7745*exp(-(3.0*constants[0]-2.05)/0.295))) if eq_func(constants[1], 0.0) else constants[2]*constants[0]/(1.0+0.7745*exp(-(3.0*constants[0]-2.05)/0.295)) if eq_func(constants[1], 1.0) else 1.07*29.0*constants[0]/(30.0*(1.0+0.7745*exp(-(29.0*constants[0]-24.5)/1.95))) computed_constants[1] = constants[3]+computed_constants[0]*(constants[4]-constants[3]) computed_constants[3] = constants[8]+computed_constants[0]*(constants[9]-constants[8]) if eq_func(constants[1], 0.0) else constants[12]+computed_constants[0]*(constants[13]-constants[12]) if eq_func(constants[1], 1.0) else constants[10]+computed_constants[0]*(constants[11]-constants[10]) diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c index df64cf045..caa1074e1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -126,7 +126,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py index 87c4c38f1..a43dd47ab 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -97,7 +97,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c index 77bbfadd4..a7c3f4853 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -111,7 +111,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c index dcd6f4146..01f9541f0 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -126,7 +126,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-115.0; computedConstants[1] = constants[1]+12.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py index 0b2ef3ca9..b32e4bf17 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -97,7 +97,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-115.0 computed_constants[1] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c index cbb2ec3a0..d1d7a2ffc 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -125,7 +125,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[3] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[0]-10.613; computedConstants[1] = constants[0]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py index 4d168187c..a91ede64c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -96,7 +96,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[3] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[0]-10.613 computed_constants[1] = constants[0]-115.0 computed_constants[2] = constants[0]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c index f00efa362..81b5252ac 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -582,7 +582,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[12] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c index 1386eb196..cb94c2396 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 3; @@ -530,7 +530,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py index 11a049b37..34950a684 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 3 @@ -449,7 +449,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c index 1d492ef11..de2cc92e9 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -528,7 +528,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[11] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+12.0; } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py index cf694f89f..b7a26f618 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -452,7 +452,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[11] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c index 8d627701c..ba5cb6c21 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -531,7 +531,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+12.0; } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py index 1a6636938..9ea17f086 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -450,7 +450,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c index 9f29da79c..464a4c135 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -529,7 +529,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+12.0; } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py index a0d5e4799..a0240bd8d 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -453,7 +453,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c index 2378daeb5..509ad81e6 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -531,7 +531,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+12.0; } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py index 1a6636938..9ea17f086 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -450,7 +450,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c index 30b1053df..ff25500c8 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -529,7 +529,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[11] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py index 8646765e4..907ed05eb 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -453,7 +453,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[11] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c index 10a0dfc65..667dddddc 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -531,7 +531,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+12.0; } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py index 1a6636938..9ea17f086 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -450,7 +450,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c index 684ff7842..12db2a248 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -530,7 +530,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[11] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { double membrane_E_R = 0.0; computedConstants[0] = membrane_E_R+12.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py index a4f28ae36..51738166f 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -454,7 +454,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[11] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): membrane_E_R = 0.0 computed_constants[0] = membrane_E_R+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c index 402b069e4..1d823001d 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -531,7 +531,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { double membrane_E_R = 0.0; computedConstants[0] = membrane_E_R+12.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py index 2ba6ac032..6aa8a3c0a 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -450,7 +450,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): membrane_E_R = 0.0 computed_constants[0] = membrane_E_R+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c index 7c27928bf..65955665b 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -532,7 +532,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py index c45b1acbe..ce2bd6c7e 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -456,7 +456,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c index 01a666804..0ae04838b 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -531,7 +531,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[10] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { double membrane_E_R = 0.0; computedConstants[0] = membrane_E_R+12.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py index 2ba6ac032..6aa8a3c0a 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -450,7 +450,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[10] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): membrane_E_R = 0.0 computed_constants[0] = membrane_E_R+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py index 19e1d5d42..ae499c1d5 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -500,7 +500,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[12] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c index 8e4ccdb9c..7bd467a55 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -126,7 +126,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py index e6db35ecf..796c89422 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -97,7 +97,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c index c3526688c..dcced3faa 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -125,7 +125,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[3] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py index 2d6d09a09..402c548cd 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -96,7 +96,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[3] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c index 56cec3ef8..6651af13b 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -124,7 +124,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[2] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[0]-10.613; computedConstants[1] = constants[0]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py index 0eecf8dae..82e97a5ba 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -95,7 +95,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[2] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[0]-10.613 computed_constants[1] = constants[0]-115.0 computed_constants[2] = constants[0]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c index fda55001d..946c760d7 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -124,7 +124,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py index 090628993..1b5f7e7e6 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -95,7 +95,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c index 247e8ff16..a0f384ada 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 3; @@ -125,7 +125,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py index c3b13c212..54e6d10a2 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 3 @@ -96,7 +96,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py index 296d6f267..30d1b7f01 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -89,7 +89,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c index 0a34fbaff..1ee44cdb4 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 3; @@ -125,7 +125,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py index 8a869a934..4b2211a2c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 3 @@ -96,7 +96,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c index 5916e75f6..e044d0b67 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -101,7 +101,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h index cfc013f3b..4c8593783 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py index 970d2e57d..785ff8596 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -79,7 +79,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c index ecfede2bd..395f2d856 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -118,7 +118,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]-10.613; computedConstants[1] = constants[1]-115.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py index cdc3538a4..2932ee845 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -89,7 +89,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]-10.613 computed_constants[1] = constants[1]-115.0 computed_constants[2] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c index 1a0f8548c..5352f4d8b 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -108,7 +108,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py index e08938232..e99bc71ab 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -86,7 +86,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c index db11b6482..6febd7cdd 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -124,7 +124,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 36.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+12.0; } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py index 8121562c6..6dec60551 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -95,7 +95,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 36.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+12.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c index 43c8bf1c4..55d9a2d36 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -101,7 +101,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[3] = 0.325; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { double membrane_E_R = 0.0; computedConstants[0] = membrane_E_R-10.613; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h index 42166250c..a60fd83da 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py index 11b5db173..a8a5c7d31 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -79,7 +79,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[3] = 0.325 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): membrane_E_R = 0.0 computed_constants[0] = membrane_E_R-10.613 computed_constants[1] = membrane_E_R-115.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c index ea555fbb0..0e60701d4 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -118,7 +118,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { double membrane_E_R = 0.0; computedConstants[0] = membrane_E_R-10.613; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py index 2ad0d6571..7cfd93e29 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -89,7 +89,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): membrane_E_R = 0.0 computed_constants[0] = membrane_E_R-10.613 computed_constants[1] = membrane_E_R-115.0 diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c index 14eceb062..14637cc45 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -88,7 +88,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[3] = 0.325; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h index 48c35e85f..7fa1048f0 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py index 5d123acf2..6b3b1a36a 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -66,7 +66,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[3] = 0.325 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c index af325fec9..a4b06c703 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -108,7 +108,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { double membrane_E_R = 0.0; computedConstants[0] = membrane_E_R+12.0; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h index ce6057728..1863ba007 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h @@ -37,6 +37,6 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py index 417ff539b..9a204057d 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -79,7 +79,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): membrane_E_R = 0.0 computed_constants[0] = membrane_E_R+12.0 diff --git a/tests/resources/generator/noble_model_1962/model.c b/tests/resources/generator/noble_model_1962/model.c index 478d6313b..b4e5a7e34 100644 --- a/tests/resources/generator/noble_model_1962/model.c +++ b/tests/resources/generator/noble_model_1962/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 4; @@ -110,7 +110,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[4] = 40.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/noble_model_1962/model.h b/tests/resources/generator/noble_model_1962/model.h index ab8a773bd..d266915c6 100644 --- a/tests/resources/generator/noble_model_1962/model.h +++ b/tests/resources/generator/noble_model_1962/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/noble_model_1962/model.py b/tests/resources/generator/noble_model_1962/model.py index 364e1e0aa..a5ef0b484 100644 --- a/tests/resources/generator/noble_model_1962/model.py +++ b/tests/resources/generator/noble_model_1962/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 4 @@ -76,7 +76,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[4] = 40.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_computed_var_on_rhs/model.c b/tests/resources/generator/ode_computed_var_on_rhs/model.c index fcc7ff203..c5163a261 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs/model.c +++ b/tests/resources/generator/ode_computed_var_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * computedConstants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_computed_var_on_rhs/model.h b/tests/resources/generator/ode_computed_var_on_rhs/model.h index 77fc3ba73..e0c41442a 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs/model.h +++ b/tests/resources/generator/ode_computed_var_on_rhs/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_computed_var_on_rhs/model.py b/tests/resources/generator/ode_computed_var_on_rhs/model.py index df9a63a65..7d9f0516a 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs/model.py +++ b/tests/resources/generator/ode_computed_var_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va computed_constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c index 1cfd3811e..36bd458e3 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c +++ b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * computedConstants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h index 94ce70879..535adebc6 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h +++ b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py index a168ec78d..0a5e9e61c 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py +++ b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va computed_constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_const_var_on_rhs/model.c b/tests/resources/generator/ode_const_var_on_rhs/model.c index aa63c71a8..d8fb5d28d 100644 --- a/tests/resources/generator/ode_const_var_on_rhs/model.c +++ b/tests/resources/generator/ode_const_var_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_const_var_on_rhs/model.h b/tests/resources/generator/ode_const_var_on_rhs/model.h index 77fc3ba73..e0c41442a 100644 --- a/tests/resources/generator/ode_const_var_on_rhs/model.h +++ b/tests/resources/generator/ode_const_var_on_rhs/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_const_var_on_rhs/model.py b/tests/resources/generator/ode_const_var_on_rhs/model.py index 9b8635746..c3ff97f85 100644 --- a/tests/resources/generator/ode_const_var_on_rhs/model.py +++ b/tests/resources/generator/ode_const_var_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c index 91ff04853..c8709b603 100644 --- a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c +++ b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h index 94ce70879..535adebc6 100644 --- a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h +++ b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py index fefb2b70e..51cdec550 100644 --- a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py +++ b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_constant_on_rhs/model.c b/tests/resources/generator/ode_constant_on_rhs/model.c index dbc6d14ed..a1b78a74a 100644 --- a/tests/resources/generator/ode_constant_on_rhs/model.c +++ b/tests/resources/generator/ode_constant_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -82,7 +82,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_constant_on_rhs/model.h b/tests/resources/generator/ode_constant_on_rhs/model.h index 77fc3ba73..e0c41442a 100644 --- a/tests/resources/generator/ode_constant_on_rhs/model.h +++ b/tests/resources/generator/ode_constant_on_rhs/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_constant_on_rhs/model.py b/tests/resources/generator/ode_constant_on_rhs/model.py index f44993163..3501b147b 100644 --- a/tests/resources/generator/ode_constant_on_rhs/model.py +++ b/tests/resources/generator/ode_constant_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -48,7 +48,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_constant_on_rhs_one_component/model.c b/tests/resources/generator/ode_constant_on_rhs_one_component/model.c index 501d29487..57842d1b7 100644 --- a/tests/resources/generator/ode_constant_on_rhs_one_component/model.c +++ b/tests/resources/generator/ode_constant_on_rhs_one_component/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -82,7 +82,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_constant_on_rhs_one_component/model.h b/tests/resources/generator/ode_constant_on_rhs_one_component/model.h index 94ce70879..535adebc6 100644 --- a/tests/resources/generator/ode_constant_on_rhs_one_component/model.h +++ b/tests/resources/generator/ode_constant_on_rhs_one_component/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_constant_on_rhs_one_component/model.py b/tests/resources/generator/ode_constant_on_rhs_one_component/model.py index 7ceec19df..840e7fcbb 100644 --- a/tests/resources/generator/ode_constant_on_rhs_one_component/model.py +++ b/tests/resources/generator/ode_constant_on_rhs_one_component/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -48,7 +48,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_multiple_dependent_odes/model.c b/tests/resources/generator/ode_multiple_dependent_odes/model.c index fccb0c0fd..650db23ed 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes/model.c +++ b/tests/resources/generator/ode_multiple_dependent_odes/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -86,7 +86,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_multiple_dependent_odes/model.h b/tests/resources/generator/ode_multiple_dependent_odes/model.h index 990b801ab..739173b74 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes/model.h +++ b/tests/resources/generator/ode_multiple_dependent_odes/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_multiple_dependent_odes/model.py b/tests/resources/generator/ode_multiple_dependent_odes/model.py index 3a6e55180..231457d1a 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes/model.py +++ b/tests/resources/generator/ode_multiple_dependent_odes/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -52,7 +52,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c index 8bf0e0c15..4f86ee5ce 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c +++ b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -86,7 +86,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h index 1e0a626c6..82d4d5c2b 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h +++ b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py index 63bfb2913..150ca81ed 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py +++ b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -52,7 +52,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_multiple_odes_with_same_name/model.c b/tests/resources/generator/ode_multiple_odes_with_same_name/model.c index 6c51205d8..7aa53fa07 100644 --- a/tests/resources/generator/ode_multiple_odes_with_same_name/model.c +++ b/tests/resources/generator/ode_multiple_odes_with_same_name/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -86,7 +86,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[0] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_multiple_odes_with_same_name/model.h b/tests/resources/generator/ode_multiple_odes_with_same_name/model.h index b31ed3b01..2244d7cd1 100644 --- a/tests/resources/generator/ode_multiple_odes_with_same_name/model.h +++ b/tests/resources/generator/ode_multiple_odes_with_same_name/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_multiple_odes_with_same_name/model.py b/tests/resources/generator/ode_multiple_odes_with_same_name/model.py index 1eb1dc56e..46376518d 100644 --- a/tests/resources/generator/ode_multiple_odes_with_same_name/model.py +++ b/tests/resources/generator/ode_multiple_odes_with_same_name/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -52,7 +52,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[0] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/ode_unknown_var_on_rhs/model.c b/tests/resources/generator/ode_unknown_var_on_rhs/model.c index 0c5cd74ca..c74855209 100644 --- a/tests/resources/generator/ode_unknown_var_on_rhs/model.c +++ b/tests/resources/generator/ode_unknown_var_on_rhs/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -84,7 +84,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * states[1] = 1.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/ode_unknown_var_on_rhs/model.h b/tests/resources/generator/ode_unknown_var_on_rhs/model.h index 77fc3ba73..e0c41442a 100644 --- a/tests/resources/generator/ode_unknown_var_on_rhs/model.h +++ b/tests/resources/generator/ode_unknown_var_on_rhs/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/ode_unknown_var_on_rhs/model.py b/tests/resources/generator/ode_unknown_var_on_rhs/model.py index 58b203c3a..045e1153f 100644 --- a/tests/resources/generator/ode_unknown_var_on_rhs/model.py +++ b/tests/resources/generator/ode_unknown_var_on_rhs/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -50,7 +50,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va states[1] = 1.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/robertson_model_1966/model.dae.c b/tests/resources/generator/robertson_model_1966/model.dae.c index a9d620fdb..aa876a9ee 100644 --- a/tests/resources/generator/robertson_model_1966/model.dae.c +++ b/tests/resources/generator/robertson_model_1966/model.dae.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 2; @@ -131,7 +131,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[0] = 0.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/robertson_model_1966/model.dae.h b/tests/resources/generator/robertson_model_1966/model.dae.h index e0920c811..24201cf90 100644 --- a/tests/resources/generator/robertson_model_1966/model.dae.h +++ b/tests/resources/generator/robertson_model_1966/model.dae.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/robertson_model_1966/model.dae.py b/tests/resources/generator/robertson_model_1966/model.dae.py index 464d0d2c8..afe68d64c 100644 --- a/tests/resources/generator/robertson_model_1966/model.dae.py +++ b/tests/resources/generator/robertson_model_1966/model.dae.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 2 @@ -85,7 +85,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[0] = 0.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/robertson_model_1966/model.ode.c b/tests/resources/generator/robertson_model_1966/model.ode.c index d6d2380c0..85699eb9a 100644 --- a/tests/resources/generator/robertson_model_1966/model.ode.c +++ b/tests/resources/generator/robertson_model_1966/model.ode.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 3; @@ -93,7 +93,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * constants[2] = 3.0e7; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/robertson_model_1966/model.ode.h b/tests/resources/generator/robertson_model_1966/model.ode.h index e0920c811..24201cf90 100644 --- a/tests/resources/generator/robertson_model_1966/model.ode.h +++ b/tests/resources/generator/robertson_model_1966/model.ode.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/robertson_model_1966/model.ode.py b/tests/resources/generator/robertson_model_1966/model.ode.py index beabee914..32a11e02f 100644 --- a/tests/resources/generator/robertson_model_1966/model.ode.py +++ b/tests/resources/generator/robertson_model_1966/model.ode.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 3 @@ -59,7 +59,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va constants[2] = 3.0e7 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/sine_model_imports/model.c b/tests/resources/generator/sine_model_imports/model.c index 5eb541fa9..3cbad1da0 100644 --- a/tests/resources/generator/sine_model_imports/model.c +++ b/tests/resources/generator/sine_model_imports/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 1; @@ -99,7 +99,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * computedConstants[4] = 3.0*3.14159265358979/2.0; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/sine_model_imports/model.h b/tests/resources/generator/sine_model_imports/model.h index bdf368648..da250a69a 100644 --- a/tests/resources/generator/sine_model_imports/model.h +++ b/tests/resources/generator/sine_model_imports/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/sine_model_imports/model.py b/tests/resources/generator/sine_model_imports/model.py index 635b0ebad..76039a8bf 100644 --- a/tests/resources/generator/sine_model_imports/model.py +++ b/tests/resources/generator/sine_model_imports/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 1 @@ -69,7 +69,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va computed_constants[4] = 3.0*3.14159265358979/2.0 -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.c b/tests/resources/generator/unknown_variable_as_external_variable/model.c index 59259bcc5..717037e34 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.c +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t CONSTANT_COUNT = 8; @@ -96,7 +96,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[7] = 1.1; } -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.h b/tests/resources/generator/unknown_variable_as_external_variable/model.h index 75c0733e2..5b434e253 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.h +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.py b/tests/resources/generator/unknown_variable_as_external_variable/model.py index 6e488c804..10867fd6b 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.py +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" CONSTANT_COUNT = 8 @@ -62,7 +62,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[7] = 1.1 -def compute_computed_constants(constants, computed_constants, algebraic): +def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/variable_initialised_using_another_variable/model.c b/tests/resources/generator/variable_initialised_using_another_variable/model.c index 69f212522..1743c482a 100644 --- a/tests/resources/generator/variable_initialised_using_another_variable/model.c +++ b/tests/resources/generator/variable_initialised_using_another_variable/model.c @@ -5,7 +5,7 @@ #include #include -const char VERSION[] = "0.7.0"; +const char VERSION[] = "0.8.0"; const char LIBCELLML_VERSION[] = "0.6.3"; const size_t STATE_COUNT = 22; @@ -748,7 +748,7 @@ void initialiseArrays(double *states, double *rates, double *constants, double * algebraicVariables[20] = algebraicVariables[21]; } -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic) +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = 1.23*constants[0]; states[3] = computedConstants[0]; diff --git a/tests/resources/generator/variable_initialised_using_another_variable/model.h b/tests/resources/generator/variable_initialised_using_another_variable/model.h index da5835c72..3b617fbbb 100644 --- a/tests/resources/generator/variable_initialised_using_another_variable/model.h +++ b/tests/resources/generator/variable_initialised_using_another_variable/model.h @@ -32,6 +32,6 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double *states, double *rates, double *constants, double *computedConstants, double *algebraic); +void computeComputedConstants(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeRates(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double voi, double *states, double *rates, double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/variable_initialised_using_another_variable/model.py b/tests/resources/generator/variable_initialised_using_another_variable/model.py index 3c6dab99a..8a4f1e0e6 100644 --- a/tests/resources/generator/variable_initialised_using_another_variable/model.py +++ b/tests/resources/generator/variable_initialised_using_another_variable/model.py @@ -4,7 +4,7 @@ from math import * -__version__ = "0.6.0" +__version__ = "0.7.0" LIBCELLML_VERSION = "0.6.3" STATE_COUNT = 22 @@ -639,7 +639,7 @@ def initialise_arrays(states, rates, constants, computed_constants, algebraic_va algebraicVariables[20] = algebraicVariables[21] -def compute_computed_constants(states, rates, constants, computed_constants, algebraic): +def compute_computed_constants(voi, states, rates, constants, computed_constants, algebraic_variables): computed_constants[0] = 1.23*constants[0] states[3] = computed_constants[0] states[2] = states[3] From dca740426d848275f0cee556a4be4fe250f1e510 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 2 Mar 2026 14:00:08 +1300 Subject: [PATCH 3/4] Generator profile: renamed `ALGEBRAIC_INFO` to `ALGEBRAIC_VARIABLE_INFO` and `EXTERNAL_INFO` to `EXTERNAL_VARIABLE_INFO`. --- src/generatorprofile.cpp | 12 ++++++------ src/generatorprofilesha1values.h | 4 ++-- tests/bindings/python/test_generator_profile.py | 8 ++++---- tests/generator/generatorprofile.cpp | 8 ++++---- tests/resources/coverage/generator/model.c | 4 ++-- tests/resources/coverage/generator/model.h | 4 ++-- .../coverage/generator/model.modified.profile.c | 4 ++-- .../coverage/generator/model.modified.profile.h | 4 ++-- .../coverage/generator/model.modified.profile.py | 4 ++-- .../resources/coverage/generator/model.no.tracking.c | 2 +- .../resources/coverage/generator/model.no.tracking.h | 2 +- tests/resources/coverage/generator/model.py | 4 ++-- .../algebraic_eqn_computed_var_on_rhs/model.c | 2 +- .../model.external.c | 4 ++-- .../model.external.h | 4 ++-- .../model.external.py | 4 ++-- .../algebraic_eqn_computed_var_on_rhs/model.h | 2 +- .../algebraic_eqn_computed_var_on_rhs/model.py | 2 +- .../generator/algebraic_eqn_const_var_on_rhs/model.c | 2 +- .../generator/algebraic_eqn_const_var_on_rhs/model.h | 2 +- .../algebraic_eqn_const_var_on_rhs/model.py | 2 +- .../generator/algebraic_eqn_constant_on_rhs/model.c | 2 +- .../generator/algebraic_eqn_constant_on_rhs/model.h | 2 +- .../generator/algebraic_eqn_constant_on_rhs/model.py | 2 +- .../algebraic_eqn_derivative_on_rhs/model.c | 2 +- .../algebraic_eqn_derivative_on_rhs/model.h | 2 +- .../algebraic_eqn_derivative_on_rhs/model.py | 2 +- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- .../generator/algebraic_eqn_state_var_on_rhs/model.c | 2 +- .../generator/algebraic_eqn_state_var_on_rhs/model.h | 2 +- .../algebraic_eqn_state_var_on_rhs/model.py | 2 +- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- .../model.c | 2 +- .../model.external.c | 4 ++-- .../model.external.h | 4 ++-- .../model.external.py | 4 ++-- .../model.h | 2 +- .../model.py | 2 +- .../model.c | 2 +- .../model.external.c | 4 ++-- .../model.external.h | 4 ++-- .../model.external.py | 4 ++-- .../model.h | 2 +- .../model.py | 2 +- .../model.not.ordered.c | 2 +- .../model.not.ordered.h | 2 +- .../model.not.ordered.py | 2 +- .../model.ordered.c | 2 +- .../model.ordered.h | 2 +- .../model.ordered.py | 2 +- .../generator/algebraic_unknown_var_on_rhs/model.c | 2 +- .../generator/algebraic_unknown_var_on_rhs/model.h | 2 +- .../generator/algebraic_unknown_var_on_rhs/model.py | 2 +- .../resources/generator/cell_geometry_model/model.c | 2 +- .../generator/cell_geometry_model/model.external.c | 4 ++-- .../generator/cell_geometry_model/model.external.h | 4 ++-- .../generator/cell_geometry_model/model.external.py | 4 ++-- .../resources/generator/cell_geometry_model/model.h | 2 +- .../resources/generator/cell_geometry_model/model.py | 2 +- .../cellml_mappings_and_encapsulations/model.c | 2 +- .../cellml_mappings_and_encapsulations/model.h | 2 +- .../cellml_mappings_and_encapsulations/model.py | 2 +- .../resources/generator/cellml_slc_example/model.py | 2 +- .../cellml_state_initialised_using_variable/model.c | 2 +- .../cellml_state_initialised_using_variable/model.h | 2 +- .../cellml_state_initialised_using_variable/model.py | 2 +- .../generator/cellml_unit_scaling_constant/model.c | 2 +- .../generator/cellml_unit_scaling_constant/model.h | 2 +- .../generator/cellml_unit_scaling_constant/model.py | 2 +- .../generator/cellml_unit_scaling_rate/model.c | 2 +- .../generator/cellml_unit_scaling_rate/model.h | 2 +- .../generator/cellml_unit_scaling_rate/model.py | 2 +- .../generator/cellml_unit_scaling_state/model.c | 2 +- .../generator/cellml_unit_scaling_state/model.h | 2 +- .../generator/cellml_unit_scaling_state/model.py | 2 +- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- .../generator/cellml_unit_scaling_voi_direct/model.c | 2 +- .../generator/cellml_unit_scaling_voi_direct/model.h | 2 +- .../cellml_unit_scaling_voi_direct/model.py | 2 +- .../cellml_unit_scaling_voi_indirect/model.c | 2 +- .../cellml_unit_scaling_voi_indirect/model.h | 2 +- .../cellml_unit_scaling_voi_indirect/model.py | 2 +- .../resources/generator/dae_cellml_1_1_model/model.c | 2 +- .../resources/generator/dae_cellml_1_1_model/model.h | 2 +- .../generator/dae_cellml_1_1_model/model.py | 2 +- tests/resources/generator/dependent_eqns/model.c | 2 +- tests/resources/generator/dependent_eqns/model.h | 2 +- tests/resources/generator/dependent_eqns/model.py | 2 +- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- .../model.algebraic.c | 4 ++-- .../model.algebraic.h | 4 ++-- .../model.algebraic.py | 4 ++-- .../hodgkin_huxley_squid_axon_model_1952/model.c | 2 +- .../model.computed.constant.c | 4 ++-- .../model.computed.constant.h | 4 ++-- .../model.computed.constant.py | 4 ++-- .../model.constant.c | 4 ++-- .../model.constant.h | 4 ++-- .../model.constant.py | 4 ++-- .../hodgkin_huxley_squid_axon_model_1952/model.dae.c | 2 +- .../model.dae.external.c | 4 ++-- .../model.dae.external.h | 4 ++-- .../model.dae.external.py | 4 ++-- .../model.dae.for.tracking.control.c | 2 +- .../model.dae.for.tracking.control.h | 2 +- .../model.dae.for.tracking.control.py | 2 +- .../model.dae.for.tracking.control.with.externals.c | 4 ++-- .../model.dae.for.tracking.control.with.externals.h | 4 ++-- .../model.dae.for.tracking.control.with.externals.py | 4 ++-- ....dae.for.tracking.untracked.algebraic.variables.c | 2 +- ....dae.for.tracking.untracked.algebraic.variables.h | 2 +- ...dae.for.tracking.untracked.algebraic.variables.py | 2 +- ...ng.untracked.algebraic.variables.with.externals.c | 4 ++-- ...ng.untracked.algebraic.variables.with.externals.h | 4 ++-- ...g.untracked.algebraic.variables.with.externals.py | 4 ++-- ...l.dae.for.tracking.untracked.computed.constants.c | 2 +- ...l.dae.for.tracking.untracked.computed.constants.h | 2 +- ....dae.for.tracking.untracked.computed.constants.py | 2 +- ...ing.untracked.computed.constants.with.externals.c | 4 ++-- ...ing.untracked.computed.constants.with.externals.h | 4 ++-- ...ng.untracked.computed.constants.with.externals.py | 4 ++-- .../model.dae.for.tracking.untracked.constants.c | 2 +- .../model.dae.for.tracking.untracked.constants.h | 2 +- .../model.dae.for.tracking.untracked.constants.py | 2 +- ...for.tracking.untracked.constants.with.externals.c | 4 ++-- ...for.tracking.untracked.constants.with.externals.h | 4 ++-- ...or.tracking.untracked.constants.with.externals.py | 4 ++-- .../model.dae.for.tracking.untracked.variables.c | 2 +- .../model.dae.for.tracking.untracked.variables.h | 2 +- .../model.dae.for.tracking.untracked.variables.py | 2 +- ...for.tracking.untracked.variables.with.externals.c | 4 ++-- ...for.tracking.untracked.variables.with.externals.h | 4 ++-- ...or.tracking.untracked.variables.with.externals.py | 4 ++-- .../hodgkin_huxley_squid_axon_model_1952/model.dae.h | 2 +- .../model.dae.py | 2 +- .../model.dependent.algebraic.c | 4 ++-- .../model.dependent.algebraic.h | 4 ++-- .../model.dependent.algebraic.py | 4 ++-- .../model.dependent.computed.constant.c | 4 ++-- .../model.dependent.computed.constant.h | 4 ++-- .../model.dependent.computed.constant.py | 4 ++-- .../model.dependent.constant.c | 4 ++-- .../model.dependent.constant.h | 4 ++-- .../model.dependent.constant.py | 4 ++-- .../model.dependent.state.c | 4 ++-- .../model.dependent.state.h | 4 ++-- .../model.dependent.state.py | 4 ++-- .../model.external.c | 4 ++-- .../model.external.h | 4 ++-- .../model.external.py | 4 ++-- .../hodgkin_huxley_squid_axon_model_1952/model.h | 2 +- .../hodgkin_huxley_squid_axon_model_1952/model.py | 2 +- .../model.state.c | 4 ++-- .../model.state.h | 4 ++-- .../model.state.py | 4 ++-- .../model.untracked.algebraic.variables.c | 2 +- .../model.untracked.algebraic.variables.h | 2 +- .../model.untracked.algebraic.variables.py | 2 +- ...el.untracked.algebraic.variables.with.externals.c | 4 ++-- ...el.untracked.algebraic.variables.with.externals.h | 4 ++-- ...l.untracked.algebraic.variables.with.externals.py | 4 ++-- .../model.untracked.computed.constants.c | 2 +- .../model.untracked.computed.constants.h | 2 +- .../model.untracked.computed.constants.py | 2 +- ...del.untracked.computed.constants.with.externals.c | 4 ++-- ...del.untracked.computed.constants.with.externals.h | 4 ++-- ...el.untracked.computed.constants.with.externals.py | 4 ++-- .../model.untracked.constants.c | 2 +- .../model.untracked.constants.h | 2 +- .../model.untracked.constants.py | 2 +- .../model.untracked.constants.with.externals.c | 4 ++-- .../model.untracked.constants.with.externals.h | 4 ++-- .../model.untracked.constants.with.externals.py | 4 ++-- .../model.untracked.variables.c | 2 +- .../model.untracked.variables.h | 2 +- .../model.untracked.variables.py | 2 +- .../model.untracked.variables.with.externals.c | 4 ++-- .../model.untracked.variables.with.externals.h | 4 ++-- .../model.untracked.variables.with.externals.py | 4 ++-- tests/resources/generator/noble_model_1962/model.c | 2 +- tests/resources/generator/noble_model_1962/model.h | 2 +- tests/resources/generator/noble_model_1962/model.py | 2 +- .../generator/ode_computed_var_on_rhs/model.c | 2 +- .../generator/ode_computed_var_on_rhs/model.h | 2 +- .../generator/ode_computed_var_on_rhs/model.py | 2 +- .../ode_computed_var_on_rhs_one_component/model.c | 2 +- .../ode_computed_var_on_rhs_one_component/model.h | 2 +- .../ode_computed_var_on_rhs_one_component/model.py | 2 +- .../resources/generator/ode_const_var_on_rhs/model.c | 2 +- .../resources/generator/ode_const_var_on_rhs/model.h | 2 +- .../generator/ode_const_var_on_rhs/model.py | 2 +- .../ode_const_var_on_rhs_one_component/model.c | 2 +- .../ode_const_var_on_rhs_one_component/model.h | 2 +- .../ode_const_var_on_rhs_one_component/model.py | 2 +- .../resources/generator/ode_constant_on_rhs/model.c | 2 +- .../resources/generator/ode_constant_on_rhs/model.h | 2 +- .../resources/generator/ode_constant_on_rhs/model.py | 2 +- .../ode_constant_on_rhs_one_component/model.c | 2 +- .../ode_constant_on_rhs_one_component/model.h | 2 +- .../ode_constant_on_rhs_one_component/model.py | 2 +- .../generator/ode_multiple_dependent_odes/model.c | 2 +- .../generator/ode_multiple_dependent_odes/model.h | 2 +- .../generator/ode_multiple_dependent_odes/model.py | 2 +- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- .../ode_multiple_odes_with_same_name/model.c | 2 +- .../ode_multiple_odes_with_same_name/model.h | 2 +- .../ode_multiple_odes_with_same_name/model.py | 2 +- .../generator/ode_unknown_var_on_rhs/model.c | 2 +- .../generator/ode_unknown_var_on_rhs/model.h | 2 +- .../generator/ode_unknown_var_on_rhs/model.py | 2 +- .../generator/robertson_model_1966/model.dae.c | 2 +- .../generator/robertson_model_1966/model.dae.h | 2 +- .../generator/robertson_model_1966/model.dae.py | 2 +- .../generator/robertson_model_1966/model.ode.c | 2 +- .../generator/robertson_model_1966/model.ode.h | 2 +- .../generator/robertson_model_1966/model.ode.py | 2 +- tests/resources/generator/sine_model_imports/model.c | 2 +- tests/resources/generator/sine_model_imports/model.h | 2 +- .../resources/generator/sine_model_imports/model.py | 2 +- .../unknown_variable_as_external_variable/model.c | 4 ++-- .../unknown_variable_as_external_variable/model.h | 4 ++-- .../unknown_variable_as_external_variable/model.py | 4 ++-- .../model.c | 2 +- .../model.h | 2 +- .../model.py | 2 +- 241 files changed, 331 insertions(+), 331 deletions(-) diff --git a/src/generatorprofile.cpp b/src/generatorprofile.cpp index cda6f5256..a1aa16104 100644 --- a/src/generatorprofile.cpp +++ b/src/generatorprofile.cpp @@ -269,13 +269,13 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi "[CODE]" "};\n"; - mInterfaceAlgebraicVariableInfoString = "extern const VariableInfo ALGEBRAIC_INFO[];\n"; - mImplementationAlgebraicVariableInfoString = "const VariableInfo ALGEBRAIC_INFO[] = {\n" + mInterfaceAlgebraicVariableInfoString = "extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[];\n"; + mImplementationAlgebraicVariableInfoString = "const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = {\n" "[CODE]" "};\n"; - mInterfaceExternalVariableInfoString = "extern const VariableInfo EXTERNAL_INFO[];\n"; - mImplementationExternalVariableInfoString = "const VariableInfo EXTERNAL_INFO[] = {\n" + mInterfaceExternalVariableInfoString = "extern const VariableInfo EXTERNAL_VARIABLE_INFO[];\n"; + mImplementationExternalVariableInfoString = "const VariableInfo EXTERNAL_VARIABLE_INFO[] = {\n" "[CODE]" "};\n"; @@ -782,12 +782,12 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi "]\n"; mInterfaceAlgebraicVariableInfoString = ""; - mImplementationAlgebraicVariableInfoString = "ALGEBRAIC_INFO = [\n" + mImplementationAlgebraicVariableInfoString = "ALGEBRAIC_VARIABLE_INFO = [\n" "[CODE]" "]\n"; mInterfaceExternalVariableInfoString = ""; - mImplementationExternalVariableInfoString = "EXTERNAL_INFO = [\n" + mImplementationExternalVariableInfoString = "EXTERNAL_VARIABLE_INFO = [\n" "[CODE]" "]\n"; diff --git a/src/generatorprofilesha1values.h b/src/generatorprofilesha1values.h index e405e3b07..cc79a3e50 100644 --- a/src/generatorprofilesha1values.h +++ b/src/generatorprofilesha1values.h @@ -24,7 +24,7 @@ namespace libcellml { * The content of this file is generated, do not edit this file directly. * See docs/dev_utilities.rst for further information. */ -static const char C_GENERATOR_PROFILE_SHA1[] = "346a4ff247abc2adf940dbd5c864b4a1a765dba9"; -static const char PYTHON_GENERATOR_PROFILE_SHA1[] = "0c0a8c667b3fe4c4dc131a104741a8d13ac33940"; +static const char C_GENERATOR_PROFILE_SHA1[] = "ff3e4c944d74bfc84a107cce7083b5d5ea874b46"; +static const char PYTHON_GENERATOR_PROFILE_SHA1[] = "1b6418e4cfa5e0f0787ac58f3e45d9cf094f50c2"; } // namespace libcellml diff --git a/tests/bindings/python/test_generator_profile.py b/tests/bindings/python/test_generator_profile.py index 5dd3494a6..a044d0fb1 100644 --- a/tests/bindings/python/test_generator_profile.py +++ b/tests/bindings/python/test_generator_profile.py @@ -895,7 +895,7 @@ def test_implementation_algebraic_info_string(self): g = GeneratorProfile() - self.assertEqual('const VariableInfo ALGEBRAIC_INFO[] = {\n[CODE]};\n', g.implementationAlgebraicVariableInfoString()) + self.assertEqual('const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = {\n[CODE]};\n', g.implementationAlgebraicVariableInfoString()) g.setImplementationAlgebraicVariableInfoString(GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.implementationAlgebraicVariableInfoString()) @@ -904,7 +904,7 @@ def test_implementation_external_info_string(self): g = GeneratorProfile() - self.assertEqual('const VariableInfo EXTERNAL_INFO[] = {\n[CODE]};\n', g.implementationExternalVariableInfoString()) + self.assertEqual('const VariableInfo EXTERNAL_VARIABLE_INFO[] = {\n[CODE]};\n', g.implementationExternalVariableInfoString()) g.setImplementationExternalVariableInfoString(GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.implementationExternalVariableInfoString()) @@ -1178,7 +1178,7 @@ def test_interface_algebraic_info_string(self): g = GeneratorProfile() - self.assertEqual('extern const VariableInfo ALGEBRAIC_INFO[];\n', g.interfaceAlgebraicVariableInfoString()) + self.assertEqual('extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[];\n', g.interfaceAlgebraicVariableInfoString()) g.setInterfaceAlgebraicVariableInfoString(GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.interfaceAlgebraicVariableInfoString()) @@ -1187,7 +1187,7 @@ def test_interface_external_info_string(self): g = GeneratorProfile() - self.assertEqual('extern const VariableInfo EXTERNAL_INFO[];\n', g.interfaceExternalVariableInfoString()) + self.assertEqual('extern const VariableInfo EXTERNAL_VARIABLE_INFO[];\n', g.interfaceExternalVariableInfoString()) g.setInterfaceExternalVariableInfoString(GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.interfaceExternalVariableInfoString()) diff --git a/tests/generator/generatorprofile.cpp b/tests/generator/generatorprofile.cpp index 93531c7b0..b596bb992 100644 --- a/tests/generator/generatorprofile.cpp +++ b/tests/generator/generatorprofile.cpp @@ -319,14 +319,14 @@ TEST(GeneratorProfile, defaultMiscellaneousValues) "};\n", generatorProfile->implementationComputedConstantInfoString()); - EXPECT_EQ("extern const VariableInfo ALGEBRAIC_INFO[];\n", generatorProfile->interfaceAlgebraicVariableInfoString()); - EXPECT_EQ("const VariableInfo ALGEBRAIC_INFO[] = {\n" + EXPECT_EQ("extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[];\n", generatorProfile->interfaceAlgebraicVariableInfoString()); + EXPECT_EQ("const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = {\n" "[CODE]" "};\n", generatorProfile->implementationAlgebraicVariableInfoString()); - EXPECT_EQ("extern const VariableInfo EXTERNAL_INFO[];\n", generatorProfile->interfaceExternalVariableInfoString()); - EXPECT_EQ("const VariableInfo EXTERNAL_INFO[] = {\n" + EXPECT_EQ("extern const VariableInfo EXTERNAL_VARIABLE_INFO[];\n", generatorProfile->interfaceExternalVariableInfoString()); + EXPECT_EQ("const VariableInfo EXTERNAL_VARIABLE_INFO[] = {\n" "[CODE]" "};\n", generatorProfile->implementationExternalVariableInfoString()); diff --git a/tests/resources/coverage/generator/model.c b/tests/resources/coverage/generator/model.c index ed52fcd9d..6e1abb245 100644 --- a/tests/resources/coverage/generator/model.c +++ b/tests/resources/coverage/generator/model.c @@ -232,12 +232,12 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"eqnComputedConstant1", "dimensionless", "my_component"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"eqnNlaVariable2", "dimensionless", "my_component"}, {"eqnNlaVariable1", "dimensionless", "my_component"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"eqnPlus", "dimensionless", "my_component"} }; diff --git a/tests/resources/coverage/generator/model.h b/tests/resources/coverage/generator/model.h index 803f89918..25c5c203d 100644 --- a/tests/resources/coverage/generator/model.h +++ b/tests/resources/coverage/generator/model.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/coverage/generator/model.modified.profile.c b/tests/resources/coverage/generator/model.modified.profile.c index 3de4b607c..d996fdd34 100644 --- a/tests/resources/coverage/generator/model.modified.profile.c +++ b/tests/resources/coverage/generator/model.modified.profile.c @@ -232,12 +232,12 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"eqnComputedConstant1", "dimensionless", "my_component"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"eqnNlaVariable2", "dimensionless", "my_component"}, {"eqnNlaVariable1", "dimensionless", "my_component"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"eqnPlus", "dimensionless", "my_component"} }; diff --git a/tests/resources/coverage/generator/model.modified.profile.h b/tests/resources/coverage/generator/model.modified.profile.h index 98628d8d0..4f7508ee5 100644 --- a/tests/resources/coverage/generator/model.modified.profile.h +++ b/tests/resources/coverage/generator/model.modified.profile.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesVector(); double * createConstantsArray(); diff --git a/tests/resources/coverage/generator/model.modified.profile.py b/tests/resources/coverage/generator/model.modified.profile.py index b2bb6ea66..603652cf1 100644 --- a/tests/resources/coverage/generator/model.modified.profile.py +++ b/tests/resources/coverage/generator/model.modified.profile.py @@ -231,12 +231,12 @@ {"name": "eqnComputedConstant1", "units": "dimensionless", "component": "my_component"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "eqnNlaVariable2", "units": "dimensionless", "component": "my_component"}, {"name": "eqnNlaVariable1", "units": "dimensionless", "component": "my_component"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "eqnPlus", "units": "dimensionless", "component": "my_component"} ] diff --git a/tests/resources/coverage/generator/model.no.tracking.c b/tests/resources/coverage/generator/model.no.tracking.c index 770732218..ce71f600b 100644 --- a/tests/resources/coverage/generator/model.no.tracking.c +++ b/tests/resources/coverage/generator/model.no.tracking.c @@ -25,7 +25,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"eqnNlaVariable2", "dimensionless", "my_component"}, {"eqnNlaVariable1", "dimensionless", "my_component"} }; diff --git a/tests/resources/coverage/generator/model.no.tracking.h b/tests/resources/coverage/generator/model.no.tracking.h index d35de4621..c5d2c65e9 100644 --- a/tests/resources/coverage/generator/model.no.tracking.h +++ b/tests/resources/coverage/generator/model.no.tracking.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/coverage/generator/model.py b/tests/resources/coverage/generator/model.py index 6326fd8b9..55645126e 100644 --- a/tests/resources/coverage/generator/model.py +++ b/tests/resources/coverage/generator/model.py @@ -231,12 +231,12 @@ {"name": "eqnComputedConstant1", "units": "dimensionless", "component": "my_component"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "eqnNlaVariable2", "units": "dimensionless", "component": "my_component"}, {"name": "eqnNlaVariable1", "units": "dimensionless", "component": "my_component"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "eqnPlus", "units": "dimensionless", "component": "my_component"} ] diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c index d8df1ed0f..d212af3d5 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c @@ -20,7 +20,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"x", "dimensionless", "my_algebraic_eqn"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createConstantsArray() diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c index 47aa6f47f..5f0efa6b2 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c @@ -19,11 +19,11 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"x", "dimensionless", "my_algebraic_eqn"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"a", "dimensionless", "my_algebraic_eqn"} }; diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h index 8cd32420d..ce1e494c1 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h @@ -20,8 +20,8 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py index 5b70ae1cf..e8953c415 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py @@ -18,11 +18,11 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "x", "units": "dimensionless", "component": "my_algebraic_eqn"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "a", "units": "dimensionless", "component": "my_algebraic_eqn"} ] diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h index 6837b0137..24b343cd0 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py index fe978b168..1779207bf 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py @@ -19,7 +19,7 @@ {"name": "x", "units": "dimensionless", "component": "my_algebraic_eqn"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c index 91d6a0c0b..6604a8b68 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c @@ -20,7 +20,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"x", "dimensionless", "my_algebraic_eqn"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createConstantsArray() diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h index 6837b0137..24b343cd0 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py index a3328a017..83c352118 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py @@ -19,7 +19,7 @@ {"name": "x", "units": "dimensionless", "component": "my_algebraic_eqn"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c index cbeeb424f..fd965bdb6 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c @@ -19,7 +19,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"x", "dimensionless", "my_component"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createConstantsArray() diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h index fd94bc969..2c09d236b 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py index 41a32acdb..2cbdd876f 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py @@ -18,7 +18,7 @@ {"name": "x", "units": "dimensionless", "component": "my_component"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c index 0968c2c19..fc18809be 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.c @@ -26,7 +26,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "per_s", "my_ode"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"x", "per_s", "my_algebraic_eqn"} }; diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h index f89b96712..69c13fecc 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py index 16da3f6e3..3d68245dd 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs/model.py @@ -25,7 +25,7 @@ {"name": "a", "units": "per_s", "component": "my_ode"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "x", "units": "per_s", "component": "my_algebraic_eqn"} ] diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c index 2253db49f..4fe3fb76c 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.c @@ -26,7 +26,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "per_s", "my_component"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"x", "per_s", "my_component"} }; diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h index 535adebc6..54713b6b3 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py index 77b2811fa..6ce13496b 100644 --- a/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py +++ b/tests/resources/generator/algebraic_eqn_derivative_on_rhs_one_component/model.py @@ -25,7 +25,7 @@ {"name": "a", "units": "per_s", "component": "my_component"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "x", "units": "per_s", "component": "my_component"} ] diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c index 61b5a702d..c878a8151 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.c @@ -26,7 +26,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "per_s", "my_ode"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"xx", "dimensionless", "my_algebraic_eqn"} }; diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h index b611ef5e7..7a1675bc8 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py index d23fa61f0..86c8c1dda 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs/model.py @@ -25,7 +25,7 @@ {"name": "a", "units": "per_s", "component": "my_ode"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "xx", "units": "dimensionless", "component": "my_algebraic_eqn"} ] diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c index 06be03520..d8f6ac1d6 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.c @@ -26,7 +26,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "per_s", "my_model"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"xx", "dimensionless", "my_model"} }; diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h index 9942cf36c..73458f268 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py index ae818ea91..52f7a474f 100644 --- a/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py +++ b/tests/resources/generator/algebraic_eqn_state_var_on_rhs_one_component/model.py @@ -25,7 +25,7 @@ {"name": "a", "units": "per_s", "component": "my_model"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "xx", "units": "dimensionless", "component": "my_model"} ] diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c index 663af6d35..5a5313adf 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c @@ -21,7 +21,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"d", "dimensionless", "my_algebraic_eqn"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"a", "dimensionless", "my_algebraic_eqn"} }; diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c index 8f3c5b4f6..628272fd2 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c @@ -21,11 +21,11 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"d", "dimensionless", "my_algebraic_eqn"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"a", "dimensionless", "my_algebraic_eqn"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"c", "dimensionless", "my_algebraic_eqn"} }; diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h index 8cd32420d..ce1e494c1 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h @@ -20,8 +20,8 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py index 01d4ca866..4133e13d0 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py @@ -20,11 +20,11 @@ {"name": "d", "units": "dimensionless", "component": "my_algebraic_eqn"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "a", "units": "dimensionless", "component": "my_algebraic_eqn"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "c", "units": "dimensionless", "component": "my_algebraic_eqn"} ] diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h index 6837b0137..24b343cd0 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py index 1e0b6ddab..1cedd3bb2 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py @@ -20,7 +20,7 @@ {"name": "d", "units": "dimensionless", "component": "my_algebraic_eqn"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "a", "units": "dimensionless", "component": "my_algebraic_eqn"} ] diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c index 5d90a6059..7f12cb1c0 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c @@ -18,7 +18,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"z", "dimensionless", "my_algebraic_system"}, {"y", "dimensionless", "my_algebraic_system"}, {"x", "dimensionless", "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c index 558ad655d..c69175009 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c @@ -19,10 +19,10 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"z", "dimensionless", "my_algebraic_system"}, {"y", "dimensionless", "my_algebraic_system"}, {"x", "dimensionless", "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h index ea890f331..404831493 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h @@ -20,8 +20,8 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py index bab36d749..f7c3b1f01 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py @@ -18,10 +18,10 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "z", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "y", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "x", "units": "dimensionless", "component": "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h index e54351fb7..dd3dd4e2a 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py index f7e2c45d5..7b8a991de 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py @@ -17,7 +17,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "z", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "y", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "x", "units": "dimensionless", "component": "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c index 938e3d9b0..e734c00e7 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c @@ -21,7 +21,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "dimensionless", "my_algebraic_system"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"c", "dimensionless", "my_algebraic_system"}, {"b", "dimensionless", "my_algebraic_system"}, {"d", "dimensionless", "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h index e54351fb7..dd3dd4e2a 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py index 60b943a64..83b8558f1 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py @@ -20,7 +20,7 @@ {"name": "a", "units": "dimensionless", "component": "my_algebraic_system"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "c", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "b", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "d", "units": "dimensionless", "component": "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c index b5c504457..c0cf6d2ee 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c @@ -21,7 +21,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "dimensionless", "my_algebraic_system"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"c", "dimensionless", "my_algebraic_system"}, {"b", "dimensionless", "my_algebraic_system"}, {"d", "dimensionless", "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h index e54351fb7..dd3dd4e2a 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py index 60b943a64..83b8558f1 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py @@ -20,7 +20,7 @@ {"name": "a", "units": "dimensionless", "component": "my_algebraic_system"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "c", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "b", "units": "dimensionless", "component": "my_algebraic_system"}, {"name": "d", "units": "dimensionless", "component": "my_algebraic_system"} diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c index ee89f145b..b6e71cc53 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c @@ -20,7 +20,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"y", "dimensionless", "my_component"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createConstantsArray() diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h index fd94bc969..2c09d236b 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py index 1f648fe95..021992f17 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py @@ -19,7 +19,7 @@ {"name": "y", "units": "dimensionless", "component": "my_component"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cell_geometry_model/model.c b/tests/resources/generator/cell_geometry_model/model.c index 5fb6df240..a431ee8c2 100644 --- a/tests/resources/generator/cell_geometry_model/model.c +++ b/tests/resources/generator/cell_geometry_model/model.c @@ -22,7 +22,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"vss", "microlitre", "cell_geometry"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createConstantsArray() diff --git a/tests/resources/generator/cell_geometry_model/model.external.c b/tests/resources/generator/cell_geometry_model/model.external.c index 35af80f76..097e4c541 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.c +++ b/tests/resources/generator/cell_geometry_model/model.external.c @@ -19,12 +19,12 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"vcell", "microlitre", "cell_geometry"}, {"vss", "microlitre", "cell_geometry"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"L", "centimeter", "cell_geometry"}, {"rad", "centimeter", "cell_geometry"} }; diff --git a/tests/resources/generator/cell_geometry_model/model.external.h b/tests/resources/generator/cell_geometry_model/model.external.h index 6acc7db94..894b572bd 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.h +++ b/tests/resources/generator/cell_geometry_model/model.external.h @@ -20,8 +20,8 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/cell_geometry_model/model.external.py b/tests/resources/generator/cell_geometry_model/model.external.py index 1e54c6ed4..52bc3396a 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.py +++ b/tests/resources/generator/cell_geometry_model/model.external.py @@ -18,12 +18,12 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "vcell", "units": "microlitre", "component": "cell_geometry"}, {"name": "vss", "units": "microlitre", "component": "cell_geometry"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "L", "units": "centimeter", "component": "cell_geometry"}, {"name": "rad", "units": "centimeter", "component": "cell_geometry"} ] diff --git a/tests/resources/generator/cell_geometry_model/model.h b/tests/resources/generator/cell_geometry_model/model.h index a11339ee1..4a71adc29 100644 --- a/tests/resources/generator/cell_geometry_model/model.h +++ b/tests/resources/generator/cell_geometry_model/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/cell_geometry_model/model.py b/tests/resources/generator/cell_geometry_model/model.py index 72220d21e..f5c87ce7e 100644 --- a/tests/resources/generator/cell_geometry_model/model.py +++ b/tests/resources/generator/cell_geometry_model/model.py @@ -21,7 +21,7 @@ {"name": "vss", "units": "microlitre", "component": "cell_geometry"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cellml_mappings_and_encapsulations/model.c b/tests/resources/generator/cellml_mappings_and_encapsulations/model.c index 8ac5dd4da..0546c1ae5 100644 --- a/tests/resources/generator/cellml_mappings_and_encapsulations/model.c +++ b/tests/resources/generator/cellml_mappings_and_encapsulations/model.c @@ -26,7 +26,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"local_complex_maths", "mM", "circle_sibling"}, {"two_x", "milli_mole", "circle_x_sibling"} }; diff --git a/tests/resources/generator/cellml_mappings_and_encapsulations/model.h b/tests/resources/generator/cellml_mappings_and_encapsulations/model.h index 8173c451a..8c442a234 100644 --- a/tests/resources/generator/cellml_mappings_and_encapsulations/model.h +++ b/tests/resources/generator/cellml_mappings_and_encapsulations/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_mappings_and_encapsulations/model.py b/tests/resources/generator/cellml_mappings_and_encapsulations/model.py index 296196b0b..03764674d 100644 --- a/tests/resources/generator/cellml_mappings_and_encapsulations/model.py +++ b/tests/resources/generator/cellml_mappings_and_encapsulations/model.py @@ -25,7 +25,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "local_complex_maths", "units": "mM", "component": "circle_sibling"}, {"name": "two_x", "units": "milli_mole", "component": "circle_x_sibling"} ] diff --git a/tests/resources/generator/cellml_slc_example/model.py b/tests/resources/generator/cellml_slc_example/model.py index 5842c159b..b40595d8d 100644 --- a/tests/resources/generator/cellml_slc_example/model.py +++ b/tests/resources/generator/cellml_slc_example/model.py @@ -27,7 +27,7 @@ {"name": "v", "units": "fmol_per_sec", "component": "SLC_template3_ss"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cellml_state_initialised_using_variable/model.c b/tests/resources/generator/cellml_state_initialised_using_variable/model.c index 8995d8253..7e3fbe0ec 100644 --- a/tests/resources/generator/cellml_state_initialised_using_variable/model.c +++ b/tests/resources/generator/cellml_state_initialised_using_variable/model.c @@ -26,7 +26,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/cellml_state_initialised_using_variable/model.h b/tests/resources/generator/cellml_state_initialised_using_variable/model.h index e38f03097..80222fc39 100644 --- a/tests/resources/generator/cellml_state_initialised_using_variable/model.h +++ b/tests/resources/generator/cellml_state_initialised_using_variable/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_state_initialised_using_variable/model.py b/tests/resources/generator/cellml_state_initialised_using_variable/model.py index d6c036b45..dbcfb929a 100644 --- a/tests/resources/generator/cellml_state_initialised_using_variable/model.py +++ b/tests/resources/generator/cellml_state_initialised_using_variable/model.py @@ -25,7 +25,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.c b/tests/resources/generator/cellml_unit_scaling_constant/model.c index 6b62edc68..ed55279d3 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.c +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.c @@ -37,7 +37,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"comp_oc_M_M", "M", "main"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createConstantsArray() diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.h b/tests/resources/generator/cellml_unit_scaling_constant/model.h index f3d467e8f..f0ba06c6d 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.h +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.h @@ -19,7 +19,7 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.py b/tests/resources/generator/cellml_unit_scaling_constant/model.py index 86fb2134d..1c3c628b9 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.py +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.py @@ -36,7 +36,7 @@ {"name": "comp_oc_M_M", "units": "M", "component": "main"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cellml_unit_scaling_rate/model.c b/tests/resources/generator/cellml_unit_scaling_rate/model.c index 8dfd254f4..1015bbec5 100644 --- a/tests/resources/generator/cellml_unit_scaling_rate/model.c +++ b/tests/resources/generator/cellml_unit_scaling_rate/model.c @@ -25,7 +25,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"x", "mM", "main"}, {"y", "M", "main"} }; diff --git a/tests/resources/generator/cellml_unit_scaling_rate/model.h b/tests/resources/generator/cellml_unit_scaling_rate/model.h index e38f03097..80222fc39 100644 --- a/tests/resources/generator/cellml_unit_scaling_rate/model.h +++ b/tests/resources/generator/cellml_unit_scaling_rate/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_unit_scaling_rate/model.py b/tests/resources/generator/cellml_unit_scaling_rate/model.py index a59f9284d..760a375cf 100644 --- a/tests/resources/generator/cellml_unit_scaling_rate/model.py +++ b/tests/resources/generator/cellml_unit_scaling_rate/model.py @@ -24,7 +24,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "x", "units": "mM", "component": "main"}, {"name": "y", "units": "M", "component": "main"} ] diff --git a/tests/resources/generator/cellml_unit_scaling_state/model.c b/tests/resources/generator/cellml_unit_scaling_state/model.c index 9969f3699..81e4b3893 100644 --- a/tests/resources/generator/cellml_unit_scaling_state/model.c +++ b/tests/resources/generator/cellml_unit_scaling_state/model.c @@ -25,7 +25,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"x", "mM", "main"}, {"y", "M", "main"} }; diff --git a/tests/resources/generator/cellml_unit_scaling_state/model.h b/tests/resources/generator/cellml_unit_scaling_state/model.h index e38f03097..80222fc39 100644 --- a/tests/resources/generator/cellml_unit_scaling_state/model.h +++ b/tests/resources/generator/cellml_unit_scaling_state/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_unit_scaling_state/model.py b/tests/resources/generator/cellml_unit_scaling_state/model.py index b2b4ce86d..fbdcb253e 100644 --- a/tests/resources/generator/cellml_unit_scaling_state/model.py +++ b/tests/resources/generator/cellml_unit_scaling_state/model.py @@ -24,7 +24,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "x", "units": "mM", "component": "main"}, {"name": "y", "units": "M", "component": "main"} ] diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c index b526f508f..0e402b4a7 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.c @@ -26,7 +26,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h index 00c23eac7..82cdcccd9 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py index 959d2d08d..82d337a3f 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_constant/model.py @@ -25,7 +25,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c index 28ff7aaf9..1de42fdd1 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.c @@ -28,7 +28,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h index 361272fca..ecfa9e39b 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py index f3bd8f783..89708d6d2 100644 --- a/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py +++ b/tests/resources/generator/cellml_unit_scaling_state_initialised_using_variable/model.py @@ -27,7 +27,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c index 5d7fa1595..b0ab0097f 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c +++ b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.c @@ -26,7 +26,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h index e0c41442a..4bb10bae7 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h +++ b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py index 822e27212..98aa586a2 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py +++ b/tests/resources/generator/cellml_unit_scaling_voi_direct/model.py @@ -25,7 +25,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c index 6cb7fda39..5500a9958 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c +++ b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.c @@ -27,7 +27,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h index 048745be9..42d15c5db 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h +++ b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py index 471f5fecd..604556993 100644 --- a/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py +++ b/tests/resources/generator/cellml_unit_scaling_voi_indirect/model.py @@ -26,7 +26,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/dae_cellml_1_1_model/model.c b/tests/resources/generator/dae_cellml_1_1_model/model.c index c2ee0054b..37389a5ad 100644 --- a/tests/resources/generator/dae_cellml_1_1_model/model.c +++ b/tests/resources/generator/dae_cellml_1_1_model/model.c @@ -31,7 +31,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"v_1", "C_per_s", "main"}, {"v_2", "C_per_s", "main"}, {"u_3", "J_per_C", "main"}, diff --git a/tests/resources/generator/dae_cellml_1_1_model/model.h b/tests/resources/generator/dae_cellml_1_1_model/model.h index f707815ff..91b551a51 100644 --- a/tests/resources/generator/dae_cellml_1_1_model/model.h +++ b/tests/resources/generator/dae_cellml_1_1_model/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/dae_cellml_1_1_model/model.py b/tests/resources/generator/dae_cellml_1_1_model/model.py index e0eb2ab44..10c977c3c 100644 --- a/tests/resources/generator/dae_cellml_1_1_model/model.py +++ b/tests/resources/generator/dae_cellml_1_1_model/model.py @@ -30,7 +30,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "v_1", "units": "C_per_s", "component": "main"}, {"name": "v_2", "units": "C_per_s", "component": "main"}, {"name": "u_3", "units": "J_per_C", "component": "main"}, diff --git a/tests/resources/generator/dependent_eqns/model.c b/tests/resources/generator/dependent_eqns/model.c index 5eae25781..114d43b2c 100644 --- a/tests/resources/generator/dependent_eqns/model.c +++ b/tests/resources/generator/dependent_eqns/model.c @@ -25,7 +25,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"b", "second", "my_component"}, {"a", "second", "my_component"} }; diff --git a/tests/resources/generator/dependent_eqns/model.h b/tests/resources/generator/dependent_eqns/model.h index 7325a5a85..394d05dcb 100644 --- a/tests/resources/generator/dependent_eqns/model.h +++ b/tests/resources/generator/dependent_eqns/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/dependent_eqns/model.py b/tests/resources/generator/dependent_eqns/model.py index 12cc4c5ce..fc8a72c66 100644 --- a/tests/resources/generator/dependent_eqns/model.py +++ b/tests/resources/generator/dependent_eqns/model.py @@ -24,7 +24,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "b", "units": "second", "component": "my_component"}, {"name": "a", "units": "second", "component": "my_component"} ] diff --git a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c index 68341e6f0..abb551173 100644 --- a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c +++ b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.c @@ -173,7 +173,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"alpha_a", "per_second", "i_KACh_a_gate"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"Nai", "millimolar", "Nai_concentration"}, {"E_Na", "millivolt", "Ionic_values"}, {"E_Ca", "millivolt", "Ionic_values"}, diff --git a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h index 8a1123647..7dcd72507 100644 --- a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h +++ b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py index ea341633d..650e0f13e 100644 --- a/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py +++ b/tests/resources/generator/fabbri_fantini_wilders_severi_human_san_model_2017/model.py @@ -172,7 +172,7 @@ {"name": "alpha_a", "units": "per_second", "component": "i_KACh_a_gate"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "Nai", "units": "millimolar", "component": "Nai_concentration"}, {"name": "E_Na", "units": "millivolt", "component": "Ionic_values"}, {"name": "E_Ca", "units": "millivolt", "component": "Ionic_values"}, diff --git a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c index 19e6a3251..953cb29a8 100644 --- a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c +++ b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.c @@ -172,7 +172,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"g_f_K", "microS", "hyperpolarisation_activated_current"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_p", "nanoA", "sodium_potassium_pump"}, {"i_NaCa", "nanoA", "sodium_calcium_exchanger"}, {"i_b_K", "nanoA", "potassium_background_current"}, diff --git a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h index b9fc05184..77adbc5cf 100644 --- a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h +++ b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py index b54397736..e1766c72c 100644 --- a/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py +++ b/tests/resources/generator/garny_kohl_hunter_boyett_noble_rabbit_san_model_2003/model.py @@ -171,7 +171,7 @@ {"name": "g_f_K", "units": "microS", "component": "hyperpolarisation_activated_current"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_p", "units": "nanoA", "component": "sodium_potassium_pump"}, {"name": "i_NaCa", "units": "nanoA", "component": "sodium_calcium_exchanger"}, {"name": "i_b_K", "units": "nanoA", "component": "potassium_background_current"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c index caa1074e1..07f2fa3aa 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.c @@ -37,7 +37,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, {"i_Na", "microA_per_cm2", "sodium_channel"}, @@ -49,7 +49,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py index a43dd47ab..8718c033c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.algebraic.py @@ -36,7 +36,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"}, @@ -48,7 +48,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c index a7c3f4853..8e73a2f10 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.c @@ -36,7 +36,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c index 01f9541f0..edaa0bfca 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.c @@ -36,7 +36,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -49,7 +49,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"E_L", "millivolt", "leakage_current"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py index b32e4bf17..21d1e96a7 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.computed.constant.py @@ -35,7 +35,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -48,7 +48,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "E_L", "units": "millivolt", "component": "leakage_current"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c index d1d7a2ffc..d0902df49 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.c @@ -36,7 +36,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -49,7 +49,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"Cm", "microF_per_cm2", "membrane"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py index a91ede64c..fd0852ee0 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.constant.py @@ -35,7 +35,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -48,7 +48,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "Cm", "units": "microF_per_cm2", "component": "membrane"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c index 81b5252ac..4d3897d11 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c @@ -33,7 +33,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c index cb94c2396..ff1c30b10 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.c @@ -33,7 +33,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -47,7 +47,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"}, {"V", "millivolt", "membrane"}, {"alpha_n", "per_millisecond", "potassium_channel_n_gate"} diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py index 34950a684..4d8b4e0a5 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.external.py @@ -32,7 +32,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -46,7 +46,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"}, {"name": "V", "units": "millivolt", "component": "membrane"}, {"name": "alpha_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c index de2cc92e9..d630a514f 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.c @@ -34,7 +34,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py index b7a26f618..c3ac34918 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.py @@ -33,7 +33,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c index ba5cb6c21..ac00a31ea 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.c @@ -35,7 +35,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -49,7 +49,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py index 9ea17f086..cefb0c4f1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.control.with.externals.py @@ -34,7 +34,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -48,7 +48,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c index 464a4c135..05adce4a1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.c @@ -34,7 +34,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py index a0240bd8d..54cda15bb 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.py @@ -33,7 +33,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c index 509ad81e6..06bc05afb 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.c @@ -35,7 +35,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -49,7 +49,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py index 9ea17f086..cefb0c4f1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.algebraic.variables.with.externals.py @@ -34,7 +34,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -48,7 +48,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c index ff25500c8..e737f9574 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.c @@ -33,7 +33,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py index 907ed05eb..05596b61c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.py @@ -32,7 +32,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c index 667dddddc..c7d8e23e1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.c @@ -35,7 +35,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -49,7 +49,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py index 9ea17f086..cefb0c4f1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.computed.constants.with.externals.py @@ -34,7 +34,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -48,7 +48,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c index 12db2a248..2dcdbcbdf 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.c @@ -29,7 +29,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py index 51738166f..f0f818fcf 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.py @@ -28,7 +28,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c index 1d823001d..4cc114bfa 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.c @@ -31,7 +31,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -45,7 +45,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py index 6aa8a3c0a..679c6da7c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.constants.with.externals.py @@ -30,7 +30,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -44,7 +44,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c index 65955665b..7be2370d1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.c @@ -28,7 +28,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py index ce2bd6c7e..3efd2a8ad 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.py @@ -27,7 +27,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c index 0ae04838b..ba30baae0 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.c @@ -31,7 +31,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -45,7 +45,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py index 6aa8a3c0a..679c6da7c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.for.tracking.untracked.variables.with.externals.py @@ -30,7 +30,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -44,7 +44,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py index ae499c1d5..17f89ac7e 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.py @@ -32,7 +32,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c index 7bd467a55..8a3bd0fc9 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.c @@ -37,7 +37,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, {"i_Na", "microA_per_cm2", "sodium_channel"}, @@ -48,7 +48,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"alpha_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py index 796c89422..bc7a0e08c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.algebraic.py @@ -36,7 +36,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"}, @@ -47,7 +47,7 @@ {"name": "alpha_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c index dcced3faa..f81a337a8 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.c @@ -33,7 +33,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -48,7 +48,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"E_R", "millivolt", "membrane"}, {"E_K", "millivolt", "potassium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py index 402c548cd..fdad3e492 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.computed.constant.py @@ -32,7 +32,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -47,7 +47,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "E_R", "units": "millivolt", "component": "membrane"}, {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c index 6651af13b..ceb96eaf2 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.c @@ -35,7 +35,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -48,7 +48,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"Cm", "microF_per_cm2", "membrane"}, {"g_Na", "milliS_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py index 82e97a5ba..aee57033c 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.constant.py @@ -34,7 +34,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -47,7 +47,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "Cm", "units": "microF_per_cm2", "component": "membrane"}, {"name": "g_Na", "units": "milliS_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c index 946c760d7..48a8ddb55 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.c @@ -35,7 +35,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -48,7 +48,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"V", "millivolt", "membrane"}, {"m", "dimensionless", "sodium_channel_m_gate"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py index 1b5f7e7e6..539d5767f 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dependent.state.py @@ -34,7 +34,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -47,7 +47,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "V", "units": "millivolt", "component": "membrane"}, {"name": "m", "units": "dimensionless", "component": "sodium_channel_m_gate"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c index a0f384ada..bd0de8aaf 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.c @@ -36,7 +36,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -47,7 +47,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"}, {"V", "millivolt", "membrane"}, {"alpha_n", "per_millisecond", "potassium_channel_n_gate"} diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py index 54e6d10a2..f227d78e0 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.external.py @@ -35,7 +35,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -46,7 +46,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"}, {"name": "V", "units": "millivolt", "component": "membrane"}, {"name": "alpha_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py index 30d1b7f01..c8dd92cf2 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.py @@ -35,7 +35,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c index 1ee44cdb4..0fd4445fd 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.c @@ -36,7 +36,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -49,7 +49,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"m", "dimensionless", "sodium_channel_m_gate"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py index 4b2211a2c..8391d46a1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.state.py @@ -35,7 +35,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -48,7 +48,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "m", "units": "dimensionless", "component": "sodium_channel_m_gate"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c index e044d0b67..1281108d0 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.c @@ -36,7 +36,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h index 4c8593783..6c399856f 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py index 785ff8596..73871d0cb 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.py @@ -35,7 +35,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c index 395f2d856..971788064 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.c @@ -37,11 +37,11 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"alpha_m", "per_millisecond", "sodium_channel_m_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py index 2932ee845..d5a857b8a 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.algebraic.variables.with.externals.py @@ -36,11 +36,11 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "alpha_m", "units": "per_millisecond", "component": "sodium_channel_m_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c index 5352f4d8b..55c881fc9 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.c @@ -33,7 +33,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py index e99bc71ab..2a6d8b8a0 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.py @@ -32,7 +32,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c index 6febd7cdd..7c9fb8fc1 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.c @@ -35,7 +35,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -47,7 +47,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py index 6dec60551..c6d58757b 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.computed.constants.with.externals.py @@ -34,7 +34,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -46,7 +46,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c index 55d9a2d36..aab922c42 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.c @@ -31,7 +31,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h index a60fd83da..2ef580e61 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py index a8a5c7d31..4e436b10b 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.py @@ -30,7 +30,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c index 0e60701d4..ae3599129 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.c @@ -33,7 +33,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Stim", "microA_per_cm2", "membrane"}, {"i_L", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, @@ -45,7 +45,7 @@ const VariableInfo ALGEBRAIC_INFO[] = { {"beta_n", "per_millisecond", "potassium_channel_n_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py index 7cfd93e29..18416f030 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.constants.with.externals.py @@ -32,7 +32,7 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Stim", "units": "microA_per_cm2", "component": "membrane"}, {"name": "i_L", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, @@ -44,7 +44,7 @@ {"name": "beta_n", "units": "per_millisecond", "component": "potassium_channel_n_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c index 14637cc45..1d4d94924 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.c @@ -28,7 +28,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h index 7fa1048f0..95a200142 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py index 6b3b1a36a..806fd1dad 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.py @@ -27,7 +27,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c index a4b06c703..bcbe9aff8 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.c @@ -31,11 +31,11 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"E_K", "millivolt", "potassium_channel"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"alpha_m", "per_millisecond", "sodium_channel_m_gate"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"i_Na", "microA_per_cm2", "sodium_channel"} }; diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h index 1863ba007..d4d575667 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.h @@ -23,8 +23,8 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py index 9a204057d..e6f221fc9 100644 --- a/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py +++ b/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.untracked.variables.with.externals.py @@ -30,11 +30,11 @@ {"name": "E_K", "units": "millivolt", "component": "potassium_channel"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "alpha_m", "units": "per_millisecond", "component": "sodium_channel_m_gate"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"} ] diff --git a/tests/resources/generator/noble_model_1962/model.c b/tests/resources/generator/noble_model_1962/model.c index b4e5a7e34..465587b45 100644 --- a/tests/resources/generator/noble_model_1962/model.c +++ b/tests/resources/generator/noble_model_1962/model.c @@ -33,7 +33,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"i_Leak", "microA_per_cm2", "leakage_current"}, {"i_K", "microA_per_cm2", "potassium_channel"}, {"i_Na", "microA_per_cm2", "sodium_channel"}, diff --git a/tests/resources/generator/noble_model_1962/model.h b/tests/resources/generator/noble_model_1962/model.h index d266915c6..30dfb4d53 100644 --- a/tests/resources/generator/noble_model_1962/model.h +++ b/tests/resources/generator/noble_model_1962/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/noble_model_1962/model.py b/tests/resources/generator/noble_model_1962/model.py index a5ef0b484..cdeadbbb8 100644 --- a/tests/resources/generator/noble_model_1962/model.py +++ b/tests/resources/generator/noble_model_1962/model.py @@ -32,7 +32,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "i_Leak", "units": "microA_per_cm2", "component": "leakage_current"}, {"name": "i_K", "units": "microA_per_cm2", "component": "potassium_channel"}, {"name": "i_Na", "units": "microA_per_cm2", "component": "sodium_channel"}, diff --git a/tests/resources/generator/ode_computed_var_on_rhs/model.c b/tests/resources/generator/ode_computed_var_on_rhs/model.c index c5163a261..98ebeca61 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs/model.c +++ b/tests/resources/generator/ode_computed_var_on_rhs/model.c @@ -26,7 +26,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "per_s", "my_ode"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_computed_var_on_rhs/model.h b/tests/resources/generator/ode_computed_var_on_rhs/model.h index e0c41442a..4bb10bae7 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs/model.h +++ b/tests/resources/generator/ode_computed_var_on_rhs/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_computed_var_on_rhs/model.py b/tests/resources/generator/ode_computed_var_on_rhs/model.py index 7d9f0516a..ea6daea8f 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs/model.py +++ b/tests/resources/generator/ode_computed_var_on_rhs/model.py @@ -25,7 +25,7 @@ {"name": "a", "units": "per_s", "component": "my_ode"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c index 36bd458e3..1b08d8558 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c +++ b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.c @@ -26,7 +26,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"a", "per_s", "my_component"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h index 535adebc6..54713b6b3 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h +++ b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py index 0a5e9e61c..125f61a8c 100644 --- a/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py +++ b/tests/resources/generator/ode_computed_var_on_rhs_one_component/model.py @@ -25,7 +25,7 @@ {"name": "a", "units": "per_s", "component": "my_component"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_const_var_on_rhs/model.c b/tests/resources/generator/ode_const_var_on_rhs/model.c index d8fb5d28d..b20b3f4c7 100644 --- a/tests/resources/generator/ode_const_var_on_rhs/model.c +++ b/tests/resources/generator/ode_const_var_on_rhs/model.c @@ -26,7 +26,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_const_var_on_rhs/model.h b/tests/resources/generator/ode_const_var_on_rhs/model.h index e0c41442a..4bb10bae7 100644 --- a/tests/resources/generator/ode_const_var_on_rhs/model.h +++ b/tests/resources/generator/ode_const_var_on_rhs/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_const_var_on_rhs/model.py b/tests/resources/generator/ode_const_var_on_rhs/model.py index c3ff97f85..0c839fd80 100644 --- a/tests/resources/generator/ode_const_var_on_rhs/model.py +++ b/tests/resources/generator/ode_const_var_on_rhs/model.py @@ -25,7 +25,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c index c8709b603..d8dd9a952 100644 --- a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c +++ b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.c @@ -26,7 +26,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h index 535adebc6..54713b6b3 100644 --- a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h +++ b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py index 51cdec550..96d25ccf9 100644 --- a/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py +++ b/tests/resources/generator/ode_const_var_on_rhs_one_component/model.py @@ -25,7 +25,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_constant_on_rhs/model.c b/tests/resources/generator/ode_constant_on_rhs/model.c index a1b78a74a..e274d7be6 100644 --- a/tests/resources/generator/ode_constant_on_rhs/model.c +++ b/tests/resources/generator/ode_constant_on_rhs/model.c @@ -25,7 +25,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_constant_on_rhs/model.h b/tests/resources/generator/ode_constant_on_rhs/model.h index e0c41442a..4bb10bae7 100644 --- a/tests/resources/generator/ode_constant_on_rhs/model.h +++ b/tests/resources/generator/ode_constant_on_rhs/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_constant_on_rhs/model.py b/tests/resources/generator/ode_constant_on_rhs/model.py index 3501b147b..650d84555 100644 --- a/tests/resources/generator/ode_constant_on_rhs/model.py +++ b/tests/resources/generator/ode_constant_on_rhs/model.py @@ -24,7 +24,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_constant_on_rhs_one_component/model.c b/tests/resources/generator/ode_constant_on_rhs_one_component/model.c index 57842d1b7..ef5664365 100644 --- a/tests/resources/generator/ode_constant_on_rhs_one_component/model.c +++ b/tests/resources/generator/ode_constant_on_rhs_one_component/model.c @@ -25,7 +25,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_constant_on_rhs_one_component/model.h b/tests/resources/generator/ode_constant_on_rhs_one_component/model.h index 535adebc6..54713b6b3 100644 --- a/tests/resources/generator/ode_constant_on_rhs_one_component/model.h +++ b/tests/resources/generator/ode_constant_on_rhs_one_component/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_constant_on_rhs_one_component/model.py b/tests/resources/generator/ode_constant_on_rhs_one_component/model.py index 840e7fcbb..bb5ce476c 100644 --- a/tests/resources/generator/ode_constant_on_rhs_one_component/model.py +++ b/tests/resources/generator/ode_constant_on_rhs_one_component/model.py @@ -24,7 +24,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_multiple_dependent_odes/model.c b/tests/resources/generator/ode_multiple_dependent_odes/model.c index 650db23ed..2d8b9bd95 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes/model.c +++ b/tests/resources/generator/ode_multiple_dependent_odes/model.c @@ -27,7 +27,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_multiple_dependent_odes/model.h b/tests/resources/generator/ode_multiple_dependent_odes/model.h index 739173b74..25a89c8c9 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes/model.h +++ b/tests/resources/generator/ode_multiple_dependent_odes/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_multiple_dependent_odes/model.py b/tests/resources/generator/ode_multiple_dependent_odes/model.py index 231457d1a..d998fb096 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes/model.py +++ b/tests/resources/generator/ode_multiple_dependent_odes/model.py @@ -26,7 +26,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c index 4f86ee5ce..eb955fd1b 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c +++ b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.c @@ -27,7 +27,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h index 82d4d5c2b..b599f6b2d 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h +++ b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py index 150ca81ed..5616a22a4 100644 --- a/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py +++ b/tests/resources/generator/ode_multiple_dependent_odes_one_component/model.py @@ -26,7 +26,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_multiple_odes_with_same_name/model.c b/tests/resources/generator/ode_multiple_odes_with_same_name/model.c index 7aa53fa07..ec5ced8b7 100644 --- a/tests/resources/generator/ode_multiple_odes_with_same_name/model.c +++ b/tests/resources/generator/ode_multiple_odes_with_same_name/model.c @@ -27,7 +27,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_multiple_odes_with_same_name/model.h b/tests/resources/generator/ode_multiple_odes_with_same_name/model.h index 2244d7cd1..21f4f64ae 100644 --- a/tests/resources/generator/ode_multiple_odes_with_same_name/model.h +++ b/tests/resources/generator/ode_multiple_odes_with_same_name/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_multiple_odes_with_same_name/model.py b/tests/resources/generator/ode_multiple_odes_with_same_name/model.py index 46376518d..82aa5eaac 100644 --- a/tests/resources/generator/ode_multiple_odes_with_same_name/model.py +++ b/tests/resources/generator/ode_multiple_odes_with_same_name/model.py @@ -26,7 +26,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/ode_unknown_var_on_rhs/model.c b/tests/resources/generator/ode_unknown_var_on_rhs/model.c index c74855209..d651deadb 100644 --- a/tests/resources/generator/ode_unknown_var_on_rhs/model.c +++ b/tests/resources/generator/ode_unknown_var_on_rhs/model.c @@ -26,7 +26,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { }; double * createStatesArray() diff --git a/tests/resources/generator/ode_unknown_var_on_rhs/model.h b/tests/resources/generator/ode_unknown_var_on_rhs/model.h index e0c41442a..4bb10bae7 100644 --- a/tests/resources/generator/ode_unknown_var_on_rhs/model.h +++ b/tests/resources/generator/ode_unknown_var_on_rhs/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/ode_unknown_var_on_rhs/model.py b/tests/resources/generator/ode_unknown_var_on_rhs/model.py index 045e1153f..932e6f07a 100644 --- a/tests/resources/generator/ode_unknown_var_on_rhs/model.py +++ b/tests/resources/generator/ode_unknown_var_on_rhs/model.py @@ -25,7 +25,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ ] diff --git a/tests/resources/generator/robertson_model_1966/model.dae.c b/tests/resources/generator/robertson_model_1966/model.dae.c index aa876a9ee..0a57824a3 100644 --- a/tests/resources/generator/robertson_model_1966/model.dae.c +++ b/tests/resources/generator/robertson_model_1966/model.dae.c @@ -29,7 +29,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"y3", "dimensionless", "main"}, {"y2_scaled", "dimensionless", "main"} }; diff --git a/tests/resources/generator/robertson_model_1966/model.dae.h b/tests/resources/generator/robertson_model_1966/model.dae.h index 24201cf90..8a99015cb 100644 --- a/tests/resources/generator/robertson_model_1966/model.dae.h +++ b/tests/resources/generator/robertson_model_1966/model.dae.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/robertson_model_1966/model.dae.py b/tests/resources/generator/robertson_model_1966/model.dae.py index afe68d64c..4c8ad1eb6 100644 --- a/tests/resources/generator/robertson_model_1966/model.dae.py +++ b/tests/resources/generator/robertson_model_1966/model.dae.py @@ -28,7 +28,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "y3", "units": "dimensionless", "component": "main"}, {"name": "y2_scaled", "units": "dimensionless", "component": "main"} ] diff --git a/tests/resources/generator/robertson_model_1966/model.ode.c b/tests/resources/generator/robertson_model_1966/model.ode.c index 85699eb9a..48a171486 100644 --- a/tests/resources/generator/robertson_model_1966/model.ode.c +++ b/tests/resources/generator/robertson_model_1966/model.ode.c @@ -30,7 +30,7 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"y2_scaled", "dimensionless", "main"} }; diff --git a/tests/resources/generator/robertson_model_1966/model.ode.h b/tests/resources/generator/robertson_model_1966/model.ode.h index 24201cf90..8a99015cb 100644 --- a/tests/resources/generator/robertson_model_1966/model.ode.h +++ b/tests/resources/generator/robertson_model_1966/model.ode.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/robertson_model_1966/model.ode.py b/tests/resources/generator/robertson_model_1966/model.ode.py index 32a11e02f..e9fd0db69 100644 --- a/tests/resources/generator/robertson_model_1966/model.ode.py +++ b/tests/resources/generator/robertson_model_1966/model.ode.py @@ -29,7 +29,7 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "y2_scaled", "units": "dimensionless", "component": "main"} ] diff --git a/tests/resources/generator/sine_model_imports/model.c b/tests/resources/generator/sine_model_imports/model.c index 3cbad1da0..92eac1c77 100644 --- a/tests/resources/generator/sine_model_imports/model.c +++ b/tests/resources/generator/sine_model_imports/model.c @@ -32,7 +32,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"kPi_32", "dimensionless", "parabolic_approx_sin"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"sin", "dimensionless", "actual_sin"}, {"sin", "dimensionless", "parabolic_approx_sin"}, {"z", "dimensionless", "parabolic_approx_sin"} diff --git a/tests/resources/generator/sine_model_imports/model.h b/tests/resources/generator/sine_model_imports/model.h index da250a69a..99ded8f02 100644 --- a/tests/resources/generator/sine_model_imports/model.h +++ b/tests/resources/generator/sine_model_imports/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/sine_model_imports/model.py b/tests/resources/generator/sine_model_imports/model.py index 76039a8bf..f669d9c6f 100644 --- a/tests/resources/generator/sine_model_imports/model.py +++ b/tests/resources/generator/sine_model_imports/model.py @@ -31,7 +31,7 @@ {"name": "kPi_32", "units": "dimensionless", "component": "parabolic_approx_sin"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "sin", "units": "dimensionless", "component": "actual_sin"}, {"name": "sin", "units": "dimensionless", "component": "parabolic_approx_sin"}, {"name": "z", "units": "dimensionless", "component": "parabolic_approx_sin"} diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.c b/tests/resources/generator/unknown_variable_as_external_variable/model.c index 717037e34..3e95d0abe 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.c +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.c @@ -27,11 +27,11 @@ const VariableInfo CONSTANT_INFO[] = { const VariableInfo COMPUTED_CONSTANT_INFO[] = { }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"v", "fmol_per_sec", "SLC_template3_ss"} }; -const VariableInfo EXTERNAL_INFO[] = { +const VariableInfo EXTERNAL_VARIABLE_INFO[] = { {"P_3", "per_fmol_sec3", "SLC_template3_ss"} }; diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.h b/tests/resources/generator/unknown_variable_as_external_variable/model.h index 5b434e253..dbfb73ebc 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.h +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.h @@ -20,8 +20,8 @@ typedef struct { extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; -extern const VariableInfo EXTERNAL_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; +extern const VariableInfo EXTERNAL_VARIABLE_INFO[]; double * createConstantsArray(); double * createComputedConstantsArray(); diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.py b/tests/resources/generator/unknown_variable_as_external_variable/model.py index 10867fd6b..ac506e0d0 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.py +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.py @@ -26,11 +26,11 @@ COMPUTED_CONSTANT_INFO = [ ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "v", "units": "fmol_per_sec", "component": "SLC_template3_ss"} ] -EXTERNAL_INFO = [ +EXTERNAL_VARIABLE_INFO = [ {"name": "P_3", "units": "per_fmol_sec3", "component": "SLC_template3_ss"} ] diff --git a/tests/resources/generator/variable_initialised_using_another_variable/model.c b/tests/resources/generator/variable_initialised_using_another_variable/model.c index 1743c482a..5d7677310 100644 --- a/tests/resources/generator/variable_initialised_using_another_variable/model.c +++ b/tests/resources/generator/variable_initialised_using_another_variable/model.c @@ -50,7 +50,7 @@ const VariableInfo COMPUTED_CONSTANT_INFO[] = { {"kNlaCompCst", "dimensionless", "main"} }; -const VariableInfo ALGEBRAIC_INFO[] = { +const VariableInfo ALGEBRAIC_VARIABLE_INFO[] = { {"xNlaStateCst", "dimensionless", "main"}, {"xNlaStateCompCst", "dimensionless", "main"}, {"xNlaStateState", "dimensionless", "main"}, diff --git a/tests/resources/generator/variable_initialised_using_another_variable/model.h b/tests/resources/generator/variable_initialised_using_another_variable/model.h index 3b617fbbb..48447600a 100644 --- a/tests/resources/generator/variable_initialised_using_another_variable/model.h +++ b/tests/resources/generator/variable_initialised_using_another_variable/model.h @@ -22,7 +22,7 @@ extern const VariableInfo VOI_INFO; extern const VariableInfo STATE_INFO[]; extern const VariableInfo CONSTANT_INFO[]; extern const VariableInfo COMPUTED_CONSTANT_INFO[]; -extern const VariableInfo ALGEBRAIC_INFO[]; +extern const VariableInfo ALGEBRAIC_VARIABLE_INFO[]; double * createStatesArray(); double * createConstantsArray(); diff --git a/tests/resources/generator/variable_initialised_using_another_variable/model.py b/tests/resources/generator/variable_initialised_using_another_variable/model.py index 8a4f1e0e6..a424d8a39 100644 --- a/tests/resources/generator/variable_initialised_using_another_variable/model.py +++ b/tests/resources/generator/variable_initialised_using_another_variable/model.py @@ -49,7 +49,7 @@ {"name": "kNlaCompCst", "units": "dimensionless", "component": "main"} ] -ALGEBRAIC_INFO = [ +ALGEBRAIC_VARIABLE_INFO = [ {"name": "xNlaStateCst", "units": "dimensionless", "component": "main"}, {"name": "xNlaStateCompCst", "units": "dimensionless", "component": "main"}, {"name": "xNlaStateState", "units": "dimensionless", "component": "main"}, From d01feac9f94ee018dca0bb8fac61a1063b478870 Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 2 Mar 2026 18:18:38 +1300 Subject: [PATCH 4/4] Generator profile: fixed `computeComputedConstants()`'s signature. --- src/generatorprofile.cpp | 6 +++--- src/generatorprofilesha1values.h | 4 ++-- tests/bindings/python/test_generator_profile.py | 4 ++-- tests/generator/generatorprofile.cpp | 4 ++-- .../generator/algebraic_eqn_computed_var_on_rhs/model.c | 2 +- .../algebraic_eqn_computed_var_on_rhs/model.external.c | 2 +- .../algebraic_eqn_computed_var_on_rhs/model.external.h | 2 +- .../algebraic_eqn_computed_var_on_rhs/model.external.py | 2 +- .../generator/algebraic_eqn_computed_var_on_rhs/model.h | 2 +- .../generator/algebraic_eqn_computed_var_on_rhs/model.py | 2 +- .../generator/algebraic_eqn_const_var_on_rhs/model.c | 2 +- .../generator/algebraic_eqn_const_var_on_rhs/model.h | 2 +- .../generator/algebraic_eqn_const_var_on_rhs/model.py | 2 +- .../generator/algebraic_eqn_constant_on_rhs/model.c | 2 +- .../generator/algebraic_eqn_constant_on_rhs/model.h | 2 +- .../generator/algebraic_eqn_constant_on_rhs/model.py | 2 +- .../algebraic_eqn_with_one_non_isolated_unknown/model.c | 2 +- .../model.external.c | 2 +- .../model.external.h | 2 +- .../model.external.py | 2 +- .../algebraic_eqn_with_one_non_isolated_unknown/model.h | 2 +- .../algebraic_eqn_with_one_non_isolated_unknown/model.py | 2 +- .../algebraic_system_with_three_linked_unknowns/model.c | 2 +- .../model.external.c | 2 +- .../model.external.h | 2 +- .../model.external.py | 2 +- .../algebraic_system_with_three_linked_unknowns/model.h | 2 +- .../algebraic_system_with_three_linked_unknowns/model.py | 2 +- .../model.not.ordered.c | 2 +- .../model.not.ordered.h | 2 +- .../model.not.ordered.py | 2 +- .../model.ordered.c | 2 +- .../model.ordered.h | 2 +- .../model.ordered.py | 2 +- .../generator/algebraic_unknown_var_on_rhs/model.c | 2 +- .../generator/algebraic_unknown_var_on_rhs/model.h | 2 +- .../generator/algebraic_unknown_var_on_rhs/model.py | 2 +- tests/resources/generator/cell_geometry_model/model.c | 2 +- .../generator/cell_geometry_model/model.external.c | 2 +- .../generator/cell_geometry_model/model.external.h | 2 +- .../generator/cell_geometry_model/model.external.py | 2 +- tests/resources/generator/cell_geometry_model/model.h | 2 +- tests/resources/generator/cell_geometry_model/model.py | 2 +- tests/resources/generator/cellml_slc_example/model.py | 2 +- .../generator/cellml_unit_scaling_constant/model.c | 2 +- .../generator/cellml_unit_scaling_constant/model.h | 2 +- .../generator/cellml_unit_scaling_constant/model.py | 2 +- .../generator/unknown_variable_as_external_variable/model.c | 2 +- .../generator/unknown_variable_as_external_variable/model.h | 2 +- .../unknown_variable_as_external_variable/model.py | 2 +- 50 files changed, 55 insertions(+), 55 deletions(-) diff --git a/src/generatorprofile.cpp b/src/generatorprofile.cpp index a1aa16104..f4904a2f7 100644 --- a/src/generatorprofile.cpp +++ b/src/generatorprofile.cpp @@ -489,8 +489,8 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi "[CODE]" "}\n"; - mInterfaceComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables);\n"; - mImplementationComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables)\n" + mInterfaceComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables);\n"; + mImplementationComputeComputedConstantsMethodNonDiffString = "void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables)\n" "{\n" "[CODE]" "}\n"; @@ -928,7 +928,7 @@ void GeneratorProfile::GeneratorProfileImpl::loadProfile(GeneratorProfile::Profi mInterfaceComputeComputedConstantsMethodNonDiffString = ""; mImplementationComputeComputedConstantsMethodNonDiffString = "\n" - "def compute_computed_constants(voi, constants, computed_constants, algebraic_variables):\n" + "def compute_computed_constants(constants, computed_constants, algebraic_variables):\n" "[CODE]"; mInterfaceComputeComputedConstantsMethodDiffString = ""; diff --git a/src/generatorprofilesha1values.h b/src/generatorprofilesha1values.h index cc79a3e50..9c1ced1f1 100644 --- a/src/generatorprofilesha1values.h +++ b/src/generatorprofilesha1values.h @@ -24,7 +24,7 @@ namespace libcellml { * The content of this file is generated, do not edit this file directly. * See docs/dev_utilities.rst for further information. */ -static const char C_GENERATOR_PROFILE_SHA1[] = "ff3e4c944d74bfc84a107cce7083b5d5ea874b46"; -static const char PYTHON_GENERATOR_PROFILE_SHA1[] = "1b6418e4cfa5e0f0787ac58f3e45d9cf094f50c2"; +static const char C_GENERATOR_PROFILE_SHA1[] = "949c36b0108bc8cf9f41ff563f9ec1369d399a7c"; +static const char PYTHON_GENERATOR_PROFILE_SHA1[] = "83fd0b434381e6afb19fce7ab2f4002ad884f3cb"; } // namespace libcellml diff --git a/tests/bindings/python/test_generator_profile.py b/tests/bindings/python/test_generator_profile.py index a044d0fb1..6e0ace69a 100644 --- a/tests/bindings/python/test_generator_profile.py +++ b/tests/bindings/python/test_generator_profile.py @@ -698,7 +698,7 @@ def test_implementation_compute_computed_constants_method_string(self): g = GeneratorProfile() - self.assertEqual('void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables)\n{\n[CODE]}\n', + self.assertEqual('void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables)\n{\n[CODE]}\n', g.implementationComputeComputedConstantsMethodString(False)) g.setImplementationComputeComputedConstantsMethodString(False, GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.implementationComputeComputedConstantsMethodString(False)) @@ -985,7 +985,7 @@ def test_interface_compute_computed_constants_method_string(self): g = GeneratorProfile() - self.assertEqual('void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables);\n', + self.assertEqual('void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables);\n', g.interfaceComputeComputedConstantsMethodString(False)) g.setInterfaceComputeComputedConstantsMethodString(False, GeneratorProfileTestCase.VALUE) self.assertEqual(GeneratorProfileTestCase.VALUE, g.interfaceComputeComputedConstantsMethodString(False)) diff --git a/tests/generator/generatorprofile.cpp b/tests/generator/generatorprofile.cpp index b596bb992..b2e3e1337 100644 --- a/tests/generator/generatorprofile.cpp +++ b/tests/generator/generatorprofile.cpp @@ -574,9 +574,9 @@ TEST(GeneratorProfile, defaultMiscellaneousValues) "}\n", generatorProfile->implementationInitialiseArraysMethodString(true)); - EXPECT_EQ("void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables);\n", + EXPECT_EQ("void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables);\n", generatorProfile->interfaceComputeComputedConstantsMethodString(false)); - EXPECT_EQ("void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables)\n" + EXPECT_EQ("void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables)\n" "{\n" "[CODE]" "}\n", diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c index d212af3d5..595770e21 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.c @@ -66,7 +66,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge computedConstants[0] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[1] = computedConstants[0]; } diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c index 5f0efa6b2..cb3e48ed2 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.c @@ -80,7 +80,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge { } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h index ce1e494c1..0fc904c1e 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py index e8953c415..f22e51118 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.external.py @@ -47,7 +47,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): pass -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h index 24b343cd0..3b19fd7c5 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py index 1779207bf..3f9dae7d5 100644 --- a/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_computed_var_on_rhs/model.py @@ -39,7 +39,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): computed_constants[0] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[1] = computed_constants[0] diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c index 6604a8b68..6c77c7e21 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.c @@ -66,7 +66,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[0] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[0]; } diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h index 24b343cd0..3b19fd7c5 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py index 83c352118..bea37d559 100644 --- a/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_const_var_on_rhs/model.py @@ -39,7 +39,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[0] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[0] = constants[0] diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c index fd965bdb6..e5005e043 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.c @@ -65,7 +65,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge computedConstants[0] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h index 2c09d236b..ee4b2b2fa 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py index 2cbdd876f..fc8af4ae8 100644 --- a/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py +++ b/tests/resources/generator/algebraic_eqn_constant_on_rhs/model.py @@ -38,7 +38,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): computed_constants[0] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c index 5a5313adf..cb934ab30 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.c @@ -103,7 +103,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[0] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c index 628272fd2..edfcf480e 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.c @@ -119,7 +119,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[0] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h index ce1e494c1..0fc904c1e 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py index 4133e13d0..137410f20 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.external.py @@ -75,7 +75,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[0] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h index 24b343cd0..3b19fd7c5 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py index 1cedd3bb2..b7cd9e672 100644 --- a/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py +++ b/tests/resources/generator/algebraic_eqn_with_one_non_isolated_unknown/model.py @@ -67,7 +67,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[0] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c index 7f12cb1c0..211c519eb 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.c @@ -109,7 +109,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[2] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c index c69175009..7f0f8b08a 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.c @@ -81,7 +81,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge { } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h index 404831493..dd87fb08e 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py index f7c3b1f01..633bc3b2a 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.external.py @@ -48,7 +48,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): pass -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h index dd3dd4e2a..619593dab 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py index 7b8a991de..56961247a 100644 --- a/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py +++ b/tests/resources/generator/algebraic_system_with_three_linked_unknowns/model.py @@ -73,7 +73,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[2] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c index e734c00e7..3719acdfe 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.c @@ -109,7 +109,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[1] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = 3.0*constants[1]+constants[0]; } diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h index dd3dd4e2a..619593dab 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py index 83b8558f1..107f6cb16 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.not.ordered.py @@ -73,7 +73,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[1] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[0] = 3.0*constants[1]+constants[0] diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c index c0cf6d2ee..5d18cb33c 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.c @@ -109,7 +109,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge algebraicVariables[1] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = 3.0*constants[1]+constants[0]; } diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h index dd3dd4e2a..619593dab 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py index 83b8558f1..107f6cb16 100644 --- a/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py +++ b/tests/resources/generator/algebraic_system_with_various_dependencies/model.ordered.py @@ -73,7 +73,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): algebraicVariables[1] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[0] = 3.0*constants[1]+constants[0] diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c index b6e71cc53..4755564e0 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.c @@ -66,7 +66,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge computedConstants[0] = 1.0; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[1] = computedConstants[0]; } diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h index 2c09d236b..ee4b2b2fa 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py index 021992f17..bfa129476 100644 --- a/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py +++ b/tests/resources/generator/algebraic_unknown_var_on_rhs/model.py @@ -39,7 +39,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): computed_constants[0] = 1.0 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[1] = computed_constants[0] diff --git a/tests/resources/generator/cell_geometry_model/model.c b/tests/resources/generator/cell_geometry_model/model.c index a431ee8c2..93e47ba5e 100644 --- a/tests/resources/generator/cell_geometry_model/model.c +++ b/tests/resources/generator/cell_geometry_model/model.c @@ -69,7 +69,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[1] = 0.0011; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = 1000.0*3.14*constants[1]*constants[1]*constants[0]; computedConstants[1] = 0.02*computedConstants[0]; diff --git a/tests/resources/generator/cell_geometry_model/model.external.c b/tests/resources/generator/cell_geometry_model/model.external.c index 097e4c541..5f470e3f1 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.c +++ b/tests/resources/generator/cell_geometry_model/model.external.c @@ -82,7 +82,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge { } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/cell_geometry_model/model.external.h b/tests/resources/generator/cell_geometry_model/model.external.h index 894b572bd..dd7f9ac1e 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.h +++ b/tests/resources/generator/cell_geometry_model/model.external.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/cell_geometry_model/model.external.py b/tests/resources/generator/cell_geometry_model/model.external.py index 52bc3396a..ed5686726 100644 --- a/tests/resources/generator/cell_geometry_model/model.external.py +++ b/tests/resources/generator/cell_geometry_model/model.external.py @@ -49,7 +49,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): pass -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass diff --git a/tests/resources/generator/cell_geometry_model/model.h b/tests/resources/generator/cell_geometry_model/model.h index 4a71adc29..ad56f2378 100644 --- a/tests/resources/generator/cell_geometry_model/model.h +++ b/tests/resources/generator/cell_geometry_model/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cell_geometry_model/model.py b/tests/resources/generator/cell_geometry_model/model.py index f5c87ce7e..1351f4347 100644 --- a/tests/resources/generator/cell_geometry_model/model.py +++ b/tests/resources/generator/cell_geometry_model/model.py @@ -42,7 +42,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[1] = 0.0011 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[0] = 1000.0*3.14*constants[1]*constants[1]*constants[0] computed_constants[1] = 0.02*computed_constants[0] diff --git a/tests/resources/generator/cellml_slc_example/model.py b/tests/resources/generator/cellml_slc_example/model.py index b40595d8d..5bd69004f 100644 --- a/tests/resources/generator/cellml_slc_example/model.py +++ b/tests/resources/generator/cellml_slc_example/model.py @@ -55,7 +55,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[8] = 1.1 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[0] = constants[8]*(constants[7]*constants[1]-constants[6]*constants[2])/(constants[5]*constants[2]+constants[4]*constants[1]+constants[3]*constants[2]*constants[1]+constants[0]) diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.c b/tests/resources/generator/cellml_unit_scaling_constant/model.c index ed55279d3..e0eb68653 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.c +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.c @@ -91,7 +91,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[8] = constants[7]; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { computedConstants[0] = constants[1]+constants[0]; computedConstants[1] = 0.001*constants[1]+0.001*constants[0]; diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.h b/tests/resources/generator/cellml_unit_scaling_constant/model.h index f0ba06c6d..331db407b 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.h +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.h @@ -28,5 +28,5 @@ double * createAlgebraicVariablesArray(); void deleteArray(double *array); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables); diff --git a/tests/resources/generator/cellml_unit_scaling_constant/model.py b/tests/resources/generator/cellml_unit_scaling_constant/model.py index 1c3c628b9..91bae643f 100644 --- a/tests/resources/generator/cellml_unit_scaling_constant/model.py +++ b/tests/resources/generator/cellml_unit_scaling_constant/model.py @@ -64,7 +64,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[8] = constants[7] -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): computed_constants[0] = constants[1]+constants[0] computed_constants[1] = 0.001*constants[1]+0.001*constants[0] computed_constants[2] = 1000.0*constants[3]+1000.0*constants[4] diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.c b/tests/resources/generator/unknown_variable_as_external_variable/model.c index 3e95d0abe..719b22056 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.c +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.c @@ -96,7 +96,7 @@ void initialiseArrays(double *constants, double *computedConstants, double *alge constants[7] = 1.1; } -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables) +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables) { } diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.h b/tests/resources/generator/unknown_variable_as_external_variable/model.h index dbfb73ebc..f974d9cf2 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.h +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.h @@ -33,5 +33,5 @@ void deleteArray(double *array); typedef double (* ExternalVariable)(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, size_t index); void initialiseArrays(double *constants, double *computedConstants, double *algebraicVariables); -void computeComputedConstants(double voi, double *constants, double *computedConstants, double *algebraicVariables); +void computeComputedConstants(double *constants, double *computedConstants, double *algebraicVariables); void computeVariables(double *constants, double *computedConstants, double *algebraicVariables, double *externalVariables, ExternalVariable externalVariable); diff --git a/tests/resources/generator/unknown_variable_as_external_variable/model.py b/tests/resources/generator/unknown_variable_as_external_variable/model.py index ac506e0d0..6921502ce 100644 --- a/tests/resources/generator/unknown_variable_as_external_variable/model.py +++ b/tests/resources/generator/unknown_variable_as_external_variable/model.py @@ -62,7 +62,7 @@ def initialise_arrays(constants, computed_constants, algebraic_variables): constants[7] = 1.1 -def compute_computed_constants(voi, constants, computed_constants, algebraic_variables): +def compute_computed_constants(constants, computed_constants, algebraic_variables): pass