35 #ifndef FAKEBATHCELL_HPP_
36 #define FAKEBATHCELL_HPP_
39 #include <boost/serialization/base_object.hpp>
41 #include "AbstractCardiacCell.hpp"
42 #include "AbstractStimulusFunction.hpp"
63 template<
class Archive>
64 void serialize(Archive & archive,
const unsigned int version)
66 archive & boost::serialization::base_object<AbstractCardiacCell>(*this);
78 FakeBathCell(boost::shared_ptr<AbstractIvpOdeSolver> pSolver,
79 boost::shared_ptr<AbstractStimulusFunction> pIntracellularStimulus);
102 double GetIIonic(
const std::vector<double>* pStateVariables=NULL);
127 namespace serialization
132 template<
class Archive>
133 inline void save_construct_data(
134 Archive & ar,
const FakeBathCell * t,
const unsigned int file_version)
136 const boost::shared_ptr<AbstractIvpOdeSolver> p_solver = t->
GetSolver();
146 template<
class Archive>
147 inline void load_construct_data(
148 Archive & ar,
FakeBathCell * t,
const unsigned int file_version)
151 boost::shared_ptr<AbstractIvpOdeSolver> p_solver;
152 boost::shared_ptr<AbstractStimulusFunction> p_stimulus;
const boost::shared_ptr< AbstractIvpOdeSolver > GetSolver() const
void ComputeExceptVoltage(double tStart, double tEnd)
void EvaluateYDerivatives(double time, const std::vector< double > &rY, std::vector< double > &rDY)
void serialize(Archive &archive, const unsigned int version)
double GetIIonic(const std::vector< double > *pStateVariables=NULL)
FakeBathCell(boost::shared_ptr< AbstractIvpOdeSolver > pSolver, boost::shared_ptr< AbstractStimulusFunction > pIntracellularStimulus)
double GetIntracellularCalciumConcentration()
friend class boost::serialization::access
boost::shared_ptr< AbstractStimulusFunction > GetStimulusFunction()
#define CHASTE_CLASS_EXPORT(T)
unsigned mNumberOfStateVariables