Changeset 508 in Sophya for trunk/SophyaLib/NTools/rk4cdifeq.h
- Timestamp:
- Oct 25, 1999, 12:36:22 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/rk4cdifeq.h
r220 r508 20 20 // <group> 21 21 RK4CDiffEq& Accuracy(double); 22 RK4CDiffEq& AbsAccuracy( Vector const& vScal);22 RK4CDiffEq& AbsAccuracy(OVector const& vScal); 23 23 RK4CDiffEq& AbsAccuracy(double scal); 24 24 RK4CDiffEq& RelAccuracy(); … … 26 26 27 27 // Implementation RK4 adaptatif 28 virtual void SolveArr( Matrix& y, double* t, double tf, int n);28 virtual void SolveArr(OMatrix& y, double* t, double tf, int n); 29 29 30 30 protected: 31 31 // Un pas adaptatif 32 void RKCStep( Vector& newY, Vector const& y0,Vector const& yScale,32 void RKCStep(OVector& newY, OVector const& y0, OVector const& yScale, 33 33 double dttry, double& dtdone, double& dtnext); 34 34 35 35 double eps; 36 36 bool relAccuracy; 37 Vector accScale;38 Vector yTemp; // Pour ne pas reallouer39 Vector ySave;37 OVector accScale; 38 OVector yTemp; // Pour ne pas reallouer 39 OVector ySave; 40 40 }; 41 41
Note:
See TracChangeset
for help on using the changeset viewer.