37#ifndef _ABSTRACTCVODECELL_HPP_
38#define _ABSTRACTCVODECELL_HPP_
43#include <boost/serialization/base_object.hpp>
44#include <boost/shared_ptr.hpp>
45#include <boost/serialization/shared_ptr.hpp>
48#include "AbstractOdeSystemInformation.hpp"
49#include "AbstractStimulusFunction.hpp"
50#include "AbstractIvpOdeSolver.hpp"
51#include "AbstractCvodeSystem.hpp"
52#include "AbstractCardiacCellInterface.hpp"
89 template<
class Archive>
90 void serialize(Archive & archive,
const unsigned int version)
93 archive & boost::serialization::base_object<AbstractCvodeSystem>(*
this);
94 archive & boost::serialization::base_object<AbstractCardiacCellInterface>(*
this);
114 unsigned numberOfStateVariables,
115 unsigned voltageIndex,
116 boost::shared_ptr<AbstractStimulusFunction> pIntracellularStimulus);
331 void SetParameter(
const std::string& rParameterName,
double value);
#define CLASS_IS_ABSTRACT(T)
void SetVoltageDerivativeToZero(bool clamp=true)
double GetAnyVariable(const std::string &rName, double time=0.0)
unsigned GetNumberOfParameters() const
void SetTimestep(double maxDt)
void SetStateVariables(const std::vector< double > &rVariables)
virtual ~AbstractCvodeCell()
void serialize(Archive &archive, const unsigned int version)
double GetParameter(const std::string &rParameterName)
virtual void SolveAndUpdateState(double tStart, double tEnd)
const std::vector< std::string > & rGetStateVariableNames() const
std::vector< double > GetStdVecStateVariables()
void SetStateVariable(unsigned index, double newValue)
void SetVoltage(double voltage)
OdeSolution Compute(double tStart, double tEnd, double tSamp=0.0)
void SetParameter(const std::string &rParameterName, double value)
unsigned GetNumberOfStateVariables() const
void ComputeExceptVoltage(double tStart, double tEnd)
friend class boost::serialization::access
void SetMaxTimestep(double maxDt)