37 #ifndef _ODESOLUTION_HPP_ 38 #define _ODESOLUTION_HPP_ 43 #include <boost/shared_ptr.hpp> 45 #include "AbstractOdeSystemInformation.hpp" 46 #include "AbstractParameterisedSystem.hpp" 50 #include <nvector/nvector_serial.h> 51 #endif // CHASTE_CVODE 129 std::vector<double>
GetAnyVariable(
const std::string& rName)
const;
143 const std::vector<double>&
rGetTimes()
const;
157 const std::vector<std::vector<double> >&
rGetSolutions()
const;
165 mSolverName = solverName;
179 template<
typename VECTOR>
198 #endif //CHASTE_CVODE 207 template<
typename VECTOR>
225 std::string baseResultsFilename,
226 std::string timeUnits,
227 unsigned stepsPerRow=1,
228 bool cleanDirectory=
true,
229 unsigned precision=8,
230 bool includeDerivedQuantities=
false);
234 #endif //_ODESOLUTION_HPP_ boost::shared_ptr< const AbstractOdeSystemInformation > mpOdeSystemInformation
unsigned mNumberOfTimeSteps
unsigned GetNumberOfTimeSteps() const
std::vector< std::vector< double > > & rGetSolutions()
std::vector< std::vector< double > > & rGetDerivedQuantities(AbstractParameterisedSystem< std::vector< double > > *pOdeSystem)
std::vector< std::vector< double > > mDerivedQuantities
std::vector< double > mParameters
std::vector< double > & rGetParameters(AbstractParameterisedSystem< VECTOR > *pOdeSystem)
void SetOdeSystemInformation(boost::shared_ptr< const AbstractOdeSystemInformation > pOdeSystemInfo)
std::vector< double > GetVariableAtIndex(unsigned index) const
std::string GetSolverName()
void WriteToFile(std::string directoryName, std::string baseResultsFilename, std::string timeUnits, unsigned stepsPerRow=1, bool cleanDirectory=true, unsigned precision=8, bool includeDerivedQuantities=false)
void CalculateDerivedQuantitiesAndParameters(AbstractParameterisedSystem< VECTOR > *pOdeSystem)
std::vector< std::vector< double > > mSolutions
std::vector< double > & rGetTimes()
std::vector< double > mTimes
std::vector< double > GetAnyVariable(const std::string &rName) const
void SetSolverName(std::string solverName)
void SetNumberOfTimeSteps(unsigned numTimeSteps)