36 #ifndef ABSTRACTPARAMETERISEDSYSTEM_HPP_
37 #define ABSTRACTPARAMETERISEDSYSTEM_HPP_
41 #include <boost/shared_ptr.hpp>
43 #include "AbstractUntemplatedParameterisedSystem.hpp"
54 template<
typename VECTOR>
57 friend class TestAbstractCvodeSystem;
84 std::string
DumpState(
const std::string& rMessage);
95 std::string
DumpState(
const std::string& rMessage,
109 std::string
DumpState(
const std::string& rMessage,
123 const std::vector<std::string>& rParameterNames);
264 void SetParameter(
const std::string& rName,
double value);
292 VECTOR* pDerivedQuantities=NULL);
308 VECTOR* pDerivedQuantities=NULL);
341 const VECTOR& rState);
void SetDefaultInitialCondition(unsigned index, double initialCondition)
void SetDefaultInitialConditions(const VECTOR &rInitialConditions)
VECTOR & rGetStateVariables()
void ResetToInitialConditions()
std::string DumpState(const std::string &rMessage)
void SetStateVariables(const VECTOR &rStateVariables)
double GetStateVariable(unsigned index) const
double GetParameter(unsigned index) const
VECTOR GetInitialConditions() const
VECTOR GetStateVariables()
void SetAnyVariable(unsigned index, double value)
virtual void VerifyStateVariables()
void SetParameter(const std::string &rName, double value)
virtual VECTOR ComputeDerivedQuantities(double time, const VECTOR &rState)
void SetStateVariable(unsigned index, double newValue)
void CheckParametersOnLoad(const std::vector< double > &rParameters, const std::vector< std::string > &rParameterNames)
VECTOR ComputeDerivedQuantitiesFromCurrentState(double time)
std::string GetStateMessage(const std::string &rMessage, VECTOR Y)
double GetAnyVariable(unsigned index, double time=0.0, VECTOR *pDerivedQuantities=NULL)
AbstractParameterisedSystem(unsigned numberOfStateVariables)