44 std::vector<boost::shared_ptr<const AbstractOdeSystemInformation> > info_vec;
45 info_vec.reserve(rSubsystems.size());
46 for (
unsigned i=0; i<rSubsystems.size(); i++)
48 info_vec.push_back(rSubsystems[i]->GetSystemInformation());
51 boost::shared_ptr<CombinedOdeSystemInformation> p_inst;
57 if (info_vec.size() ==
msInstances[i].subsystemInformation.size())
60 for (
unsigned j=0; j<info_vec.size(); j++)
62 if (
msInstances[i].subsystemInformation[j] != info_vec[j])
92 unsigned total_system_size = 0u;
93 for (
unsigned i=0; i<rSubsystemInfo.size(); i++)
95 total_system_size += rSubsystemInfo[i]->rGetStateVariableNames().size();
102 for (
unsigned i=0; i<rSubsystemInfo.size(); i++)
104 std::vector<double> inits = rSubsystemInfo[i]->GetInitialConditions();
105 const std::vector<std::string>& names = rSubsystemInfo[i]->rGetStateVariableNames();
106 const std::vector<std::string>& units = rSubsystemInfo[i]->rGetStateVariableUnits();
107 unsigned system_size = names.size();
108 assert(inits.size() == system_size);
109 assert(units.size() == system_size);
111 for (
unsigned j=0; j<system_size; j++)