00001
00002
00004
00005 #if !defined(AFX_RK4MOVER_H__15C36C58_5786_42B4_A9D6_4AEA2150941D__INCLUDED_)
00006 #define AFX_RK4MOVER_H__15C36C58_5786_42B4_A9D6_4AEA2150941D__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "DifferentialEquationMover.h"
00013
00014 class CRK4Mover : public CDifferentialEquationMover
00015 {
00016 public:
00017 CRK4Mover();
00018 CRK4Mover(double frequency, double stepSize);
00019 virtual ~CRK4Mover();
00020 void Move(double xInitial, double xFinal, ReactionNetwork *pReactionNetwork);
00021 void FourthOrderStep(int nRHS, double *y, double *dydt);
00022 };
00023
00024 #endif // !defined(AFX_RK4MOVER_H__15C36C58_5786_42B4_A9D6_4AEA2150941D__INCLUDED_)