Changeset 514 in Sophya for trunk/SophyaLib/NTools/rk4cdifeq.h


Ignore:
Timestamp:
Oct 25, 1999, 6:43:04 PM (26 years ago)
Author:
ansari
Message:

elimination des OVector/OMatrix au profit des TVector/TMatrix cmv 25/10/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/rk4cdifeq.h

    r508 r514  
    44
    55#include "difeq.h"
     6
     7namespace PlanckDPC {
    68
    79// <summary> Runge-Kutta ordre 4 adaptatif </summary>
     
    2022  // <group>
    2123  RK4CDiffEq& Accuracy(double);
    22   RK4CDiffEq& AbsAccuracy(OVector const& vScal);
     24  RK4CDiffEq& AbsAccuracy(Vector const& vScal);
    2325  RK4CDiffEq& AbsAccuracy(double scal);
    2426  RK4CDiffEq& RelAccuracy();
     
    2628 
    2729  // Implementation RK4 adaptatif
    28   virtual void SolveArr(OMatrix& y, double* t, double tf, int n);
     30  virtual void SolveArr(Matrix& y, double* t, double tf, int n);
    2931
    3032protected:
    3133  // Un pas adaptatif
    32   void RKCStep(OVector& newY, OVector const& y0, OVector const& yScale,
     34  void RKCStep(Vector& newY, Vector const& y0, Vector const& yScale,
    3335               double dttry, double& dtdone, double& dtnext);
    3436
    3537  double eps;
    3638  bool   relAccuracy;
    37   OVector accScale;
    38   OVector yTemp; // Pour ne pas reallouer
    39   OVector ySave;
     39  Vector accScale;
     40  Vector yTemp; // Pour ne pas reallouer
     41  Vector ySave;
    4042};
    4143
     44} // Fin du namespace
     45
    4246#endif
Note: See TracChangeset for help on using the changeset viewer.