Chaste Commit::ca8ccdedf819b6e02855bc0e8e6f50bdecbc5208
|
#include <RKC21IvpOdeSolver.hpp>
Public Member Functions | |
RKC21IvpOdeSolver () | |
Public Member Functions inherited from AbstractOneStepIvpOdeSolver | |
virtual OdeSolution | Solve (AbstractOdeSystem *pAbstractOdeSystem, std::vector< double > &rYValues, double startTime, double endTime, double timeStep, double timeSampling) |
virtual void | Solve (AbstractOdeSystem *pAbstractOdeSystem, std::vector< double > &rYValues, double startTime, double endTime, double timeStep) |
virtual | ~AbstractOneStepIvpOdeSolver () |
Public Member Functions inherited from AbstractIvpOdeSolver | |
virtual void | SolveAndUpdateStateVariable (AbstractOdeSystem *pAbstractOdeSystem, double startTime, double endTime, double timeStep) |
bool | StoppingEventOccurred () |
double | GetStoppingTime () |
AbstractIvpOdeSolver () | |
virtual | ~AbstractIvpOdeSolver () |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Protected Member Functions | |
void | CalculateNextYValue (AbstractOdeSystem *pAbstractOdeSystem, double timeStep, double time, std::vector< double > &rCurrentYValues, std::vector< double > &rNextYValues) |
Protected Member Functions inherited from AbstractOneStepIvpOdeSolver | |
virtual void | InternalSolve (AbstractOdeSystem *pAbstractOdeSystem, std::vector< double > &rCurrentYValues, std::vector< double > &rWorkingMemory, double startTime, double endTime, double timeStep) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from AbstractIvpOdeSolver | |
bool | mStoppingEventOccurred |
double | mStoppingTime |
A concrete one step ODE solver class that employs the Runge Kutta Chebyshev 1st order 2 stages solver. Wenxian Guo and Raymond Spiteri University of Saskatchewan May 2017
Definition at line 52 of file RKC21IvpOdeSolver.hpp.
|
inline |
Constructor.
Definition at line 93 of file RKC21IvpOdeSolver.hpp.
|
protectedvirtual |
Calculate the solution to the ODE system at the next timestep.
pAbstractOdeSystem | the ODE system to solve |
timeStep | dt |
time | the current time |
rCurrentYValues | the current (initial) state |
rNextYValues | the state at the next timestep |
A concrete one step ODE solver class that employs the Runge Kutta Chebyshev 1st order 2 stages solver. Wenxian Guo and Raymond Spiteri University of Saskatchewan May 2017
Implements AbstractOneStepIvpOdeSolver.
Definition at line 47 of file RKC21IvpOdeSolver.cpp.
References AbstractOdeSystem::EvaluateYDerivatives(), and AbstractUntemplatedParameterisedSystem::GetNumberOfStateVariables().
|
inlineprivate |
Archive the abstract IVP Solver, never used directly - boost uses this.
archive | the archive |
version | the current version of this class |
Definition at line 65 of file RKC21IvpOdeSolver.hpp.
|
friend |
Needed for serialization.
Definition at line 57 of file RKC21IvpOdeSolver.hpp.