36#ifndef ABSTRACTCARDIACCELL_HPP_
37#define ABSTRACTCARDIACCELL_HPP_
42#include <boost/serialization/base_object.hpp>
43#include <boost/shared_ptr.hpp>
44#include <boost/serialization/shared_ptr.hpp>
50#include "AbstractCardiacCellInterface.hpp"
51#include "AbstractOdeSystem.hpp"
52#include "AbstractIvpOdeSolver.hpp"
53#include "AbstractStimulusFunction.hpp"
57typedef enum _CellModelState
85 template<
class Archive>
86 void serialize(Archive & archive,
const unsigned int version)
89 archive & boost::serialization::base_object<AbstractOdeSystem>(*
this);
93 archive & boost::serialization::base_object<AbstractCardiacCellInterface>(*
this);
118 assert(this->
mParameters.size() == this->rGetParameterNames().size());
152 unsigned numberOfStateVariables,
153 unsigned voltageIndex,
154 boost::shared_ptr<AbstractStimulusFunction> pIntracellularStimulus);
343 void SetParameter(
const std::string& rParameterName,
double value);
360 virtual void SetState(CellModelState state);
369 virtual void SetSlowValues(
const std::vector<double> &rSlowValues);
378 virtual void GetSlowValues(std::vector<double>& rSlowValues);
gcov doesn't like this file...
#define CLASS_IS_ABSTRACT(T)
bool mSetVoltageDerivativeToZero
bool mHasDefaultStimulusFromCellML
virtual void SolveAndUpdateState(double tStart, double tEnd)
double GetParameter(const std::string &rParameterName)
virtual bool IsFastOnly()
virtual OdeSolution Compute(double tStart, double tEnd, double tSamp=0.0)
void serialize(Archive &archive, const unsigned int version)
void SetTimestep(double dt)
virtual void AdjustOutOfRangeSlowValues(std::vector< double > &rSlowValues)
virtual void SetState(CellModelState state)
virtual void GetSlowValues(std::vector< double > &rSlowValues)
void SetVoltage(double voltage)
virtual void SetSlowValues(const std::vector< double > &rSlowValues)
virtual ~AbstractCardiacCell()
void CheckForArchiveFix()
void SetParameter(const std::string &rParameterName, double value)
const std::vector< std::string > & rGetStateVariableNames() const
std::vector< double > GetStdVecStateVariables()
double GetAnyVariable(const std::string &rName, double time=0.0)
unsigned GetNumberOfStateVariables() const
void SetStateVariables(const std::vector< double > &rVariables)
friend class boost::serialization::access
virtual unsigned GetNumSlowValues()
virtual void ComputeExceptVoltage(double tStart, double tEnd)
unsigned GetNumberOfParameters() const
void SetStateVariable(unsigned index, double newValue)
std::vector< double > mParameters