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