36#ifndef BACKWARDEULERIVPODESOLVER_HPP_
37#define BACKWARDEULERIVPODESOLVER_HPP_
39#include "AbstractOneStepIvpOdeSolver.hpp"
40#include "AbstractOdeSystemWithAnalyticJacobian.hpp"
43#include <boost/serialization/base_object.hpp>
45#include "AbstractOneStepIvpOdeSolver.hpp"
62 template<
class Archive>
63 void serialize(Archive & archive,
const unsigned int version)
66 archive & boost::serialization::base_object<AbstractOneStepIvpOdeSolver>(*
this);
111 std::vector<double>& rCurrentYValues,
112 std::vector<double>& rCurrentGuess);
126 std::vector<double>& rCurrentYValues,
127 std::vector<double>& rCurrentGuess);
158 std::vector<double>& rCurrentYValues,
159 std::vector<double>& rCurrentGuess);
179 std::vector<double>& rCurrentYValues,
180 std::vector<double>& rNextYValues);
223namespace serialization
229template<
class Archive>
230inline void save_construct_data(
233 const unsigned system_size = t->GetSystemSize();
243template<
class Archive>
244inline void load_construct_data(
247 unsigned ode_system_size;
248 ar >> ode_system_size;
gcov doesn't like this file...
#define CHASTE_CLASS_EXPORT(T)
void ForceUseOfNumericalJacobian()
void ComputeNumericalJacobian(AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rCurrentGuess)
double mNumericalJacobianEpsilon
void CalculateNextYValue(AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rNextYValues)
unsigned mSizeOfOdeSystem
~BackwardEulerIvpOdeSolver()
void ComputeResidual(AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rCurrentGuess)
void SetEpsilonForNumericalJacobian(double epsilon)
unsigned GetSystemSize() const
void ComputeJacobian(AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rCurrentGuess)
friend class boost::serialization::access
bool mForceUseOfNumericalJacobian
void serialize(Archive &archive, const unsigned int version)
double ComputeNorm(double *pVector)