00001
00002
00003
00004
00005 #ifndef INCLUDED_SOLVER2_H
00006 #define INCLUDED_SOLVER2_H
00007
00008 #include "vodesolv.h"
00009 #include "hoinit.h"
00010 #include "obrtgt.h"
00011 #include "varstep.h"
00012 #include "constorder.h"
00013
00024 class SOLVER_2 : public VODE_SOLVER
00025 {
00026
00027 public:
00028
00043 SOLVER_2( const PtrODENumeric ODE, const PtrDataRepr Data,
00044 int order = 17 );
00045
00046 };
00047
00048
00049 inline SOLVER_2 :: SOLVER_2( const PtrODENumeric ODE,
00050 const PtrDataRepr Data,
00051 int order = 17 )
00052 :
00053 VODE_SOLVER( ODE, Data,
00054 new CONST_ORDER( order ),
00055 new VAR_STEP_CTRL,
00056 new HOE,
00057 new IHO( (order-1)/2, (order)/2 ) )
00058
00059 {
00060 }
00061
00062
00063 #endif