Debian Codegraph @

ode-initval2/ChangeLog

raw
1 2018-03-18 Tuomo Keskitalo <[email protected]>
2
3 * rk2imp.c and evolve.c: Added debug printouts, run indent -gnu -nut.
4 Thanks for Dominic Steinitz for the additions!
5 * test.c: Added identifiers to debug printouts.
6
7 2017-11-04 Tuomo Keskitalo <[email protected]>
8
9 * cscal.c: Corrected bug #52336 in cscal.c: Decreased maximum step
10 length increase coefficient (now named maxscale) from 5.0 to 4.9
11 because value of 5.0 hits a singularity in msbdf stepper with
12 order 3, causing a floating point exception. Thanks to Andrew
13 Benson for reporting this bug!
14
15 2017-10-22 Tuomo Keskitalo <[email protected]>
16
17 * msadams.c: Corrected bug #52230 in msadams_apply, where solver
18 crashed to order change -2 error. This could happen in a very rare
19 case when two consecutive failed steps suggest decreasing
20 order. Fix is to reset solver if that happens. Thanks for Michael
21 Kaufman for reporting this bug and testing the fix!
22
23 2013-06-08 Tuomo Keskitalo <[email protected]>
24
25 * driver.c: Removed redundant if clause. Thanks to
26 David Binderman for the report!
27
28 2013-01-27 Tuomo Keskitalo <[email protected]>
29
30 * msbdf.c: Corrected bug which enabled order to be changed
31 by two (first by stability enhancement, then by order evaluation
32 after a rejected step). Thanks for Frantisek Kluknavsky and
33 Andreas Schwab for bug reports!
34
35 * msbdf.c: Added more state variables explicitly to be reset in
36 msbdf_reset.
37
38 *msbdf.c: Added abscorscaled to remove division of abscor for
39 use in msbdf_eval_order and subsequent backwards multiplication.
40
41 *test.c: test_extreme_problems: Increased ringmod case tolerances
42 from 1e-7 to 1e-12 to increase precision. Because that
43 increases computational burden, I also decreased end time
44 from 1e-3 to 1e-5. That decreased the acidity of the test
45 significantly, but the test case is now more appropriate
46 for normal "make check". Thanks for Frantisek Kluknavsky
47 for pointing out bad design of the test case.
48
49 2012-09-10 Rhys Ulerich <[email protected]>
50
51 * test.c: Correct two out-of-order declarations.
52 Thanks to Brian Gladman for spotting the problem.
53
54 2012-03-10 Tuomo Keskitalo <[email protected]>
55
56 * driver.c: Added function gsl_odeiv2_driver_reset_hstart to
57 allow resetting step size, possibly change its sign, too.
58 Check for non-zero hstart in initializations.
59
60 * test.c: Modified test_driver to carry out tests with all
61 steppers. Small printout changes.
62
63 2012-01-21 Tuomo Keskitalo <[email protected]>
64
65 * rkf45.c: Bug correction: Set gives_exact_dydt_out to 1 in
66 rkf45_type
67
68 2012-01-14 Tuomo Keskitalo <[email protected]>
69
70 * evolve.c: Modified initial derivative evaluation in evolve_apply
71 to reuse previously calculated values. This saves calls to the
72 user function. Thanks for Illes Farkas for pointing out redundant
73 function calls!
74
75 2011-06-28 Brian Gough <[email protected]>
76
77 * rk4imp.c (rk4imp_apply): use M_SQRT3 instead of sqrt(3) in array
78 initialiser.
79
80 2011-05-02 Brian Gough <[email protected]>
81
82 * gsl_odeiv2.h: fix header guard to __GSL_ODEIV2_H__
83
84 2011-05-01 Tuomo Keskitalo <[email protected]>
85
86 * Replaced ChangeLog with contents of ode-initval2 development log
87 file (ChangeLog-odeiv2_development) and reformatted the log file.
88
89 2010-10-16 Tuomo Keskitalo <[email protected]>
90
91 * Modified evolve and driver so that when user function returns
92 GSL_EBADFUNC, then ode-initval2 functions return immediately with
93 that same return value.
94
95 * Corrected bug in msadams for saving ordm1coeff to state. Thanks
96 to Andrew Benson for pointing out this bug!
97
98 2010-10-10 Tuomo Keskitalo <[email protected]>
99
100 * driver.c: Corrected error in driver_evolve_apply, integration to
101 negative direction should work now.
102
103 * Added evolve_apply_fixed_step and driver_apply_fixed_step for
104 users who want to use a constant step size to evolve the system.
105
106 * test.c: added test cases for driver (negative evolution,
107 apply_fixed_step).
108
109 * gsl_odeiv2.h: cleaning and add apply_fixed_step functions.
110
111 * doc/ode-initval.texi: Replaced derivative apostrophe with \prime
112 (because my new system fails to make ps otherwise). Added new
113 documentation about apply_fixed_step functions.
114
115 2010-10-09 Tuomo Keskitalo <[email protected]>
116
117 * ode-initval2 bzr development branch now at savannah:
118 http://bzr.savannah.gnu.org/r/gsl/ode-initval2/
119
120 2010-01-02 Tuomo Keskitalo <[email protected]>
121
122 * Changes from ode-initval2-0.9 to ode-initval2-1.0:
123
124 * Removed set_control member from step object and added a
125 set_driver member to evolve, control and step objects, so that the
126 driver object and consequently evolve, control and step objects
127 are all accessible from another. Currently only some steppers
128 utilize this. They access the control_errlevel function via
129 state->driver->c instead of state->control. This modification to
130 the framework enables implementation of more efficient ODE
131 solvers, which utilize communication among evolve, control and
132 stepper objects. This also means that some steppers now require a
133 driver object, and it is best to use those stepper methods through
134 driver object functions.
135
136 * cstd.c and cscal.c: Added a sanity check for errlev <= 0
137
138 * run indent -gnu -nut for *.c *.h
139
140 * driver.c: added function odeiv2_driver_alloc_standard_new and
141 odeiv2_driver_alloc_yp_new
142
143 * driver.c: changed n and nmax in driver struct to unsigned long
144 int
145
146 * modified documentation accordingly with small nomenclature
147 changes and made year updates to source files
148
149 2009-11-01 Tuomo Keskitalo <[email protected]>
150
151 * Merged with master and modified source to be published as a
152 package for gsl-1.13.
153
154 2009-05-09 Tuomo Keskitalo <[email protected]>
155
156 * Agreed with Brian Gough that the modification I've made cannot
157 be incorporated to GSL until a major version number change, due to
158 changes in API.
159
160 * Replated rk2imp with imprk2 and rk4imp with imprk4. Also renamed
161 impeuler to rk1imp for consistency.
162
163 * Deleted steppers that are deprecated considering new major
164 release: gear1, gear2, and rk2simp. Modified test.c accordingly.
165
166 2009-05-01 Tuomo Keskitalo <[email protected]>
167
168 * Merged with master (evolve.c and test.c needed some manual
169 work).
170
171 * driver.c: Modified alloc-functions to minimal interface, added
172 set_hmax, set_nmax and set_hmin functions.
173
174 * test.c: Added test for minimum allowed step size.
175 Applied indent -gnu -nut.
176
177 * doc/ode-initval.texi: Updated documentation, added Driver
178 section, updated examples.
179
180 2009-04-05 Tuomo Keskitalo <[email protected]>
181
182 * Several uninitialized variable corrections from Brian Gough
183 added
184
185 * modnewton1, impeuler, imprk2, imprk4: removed unneeded arguments
186 from solve and init
187
188 * msadams and msbdf modifications:
189
190 * added ordprevbackup, ordwaitbackup (backups) and failcount (to
191 detect repeated steps rejections).
192
193 * added checks to make sure order is not changed by more than one
194 order. Added sanity check to catch it.
195
196 * corrected failure and rejection handling for first step
197
198 * Added a heuristic stability enhancement for msbdf. This is yet
199 to be tested in practice.
200
201 * test.c: Added more benchmark test cases. The results seem
202 sensible.
203
204 * test.c: Note for benchmark_precision: msbdf performs badly in
205 rhs_func_exp. Newton iteration starts to fail to converge at some
206 point, and this forces very small step sizes to be used. I
207 currently think that this is not a bug, but that msbdf is just not
208 suitable for this problem. I think that msbdf's prediction step
209 does not give a good initial guess for Newton iteration in this
210 case.
211
212 * I tried to increase max_iter in msbdf from 3 to 7 (value used in
213 modnewton1), and as a result, the performance was better for this
214 case (Newton iteration convergence was better). However, I would
215 not increase max_iter, because the default value of 3 is the value
216 used by the authors in the references, and because it would
217 decrease the efficiency of msbdf (method would use more function
218 evaluations per step, and convergence might still not be
219 achieved). It is best to useanother stepper in this kind of a
220 case.
221
222 2009-02-28 Tuomo Keskitalo <[email protected]>
223
224 * new stepper: msbdf. This is a variable-coefficient linear
225 multistep backward differentiation formula (BDF) method in
226 Nordsieck form. It appears to handle stiff cases well and it is
227 efficient!
228
229 * test.c: Ordered functions in file. Added extreme test case.
230
231 * modnewton1: Convergence test now takes the desired error level
232 via control object into account. Modified steppers that use
233 modnewton1 accordingly.
234
235 * modnewton1: Removed reuse_decomp. The variable was useless since
236 iteration matrix is reconstructed at each stepper call.
237
238 * modnewton1: Dropped max_iter from 10 to 7. Hairer and Wanner
239 suggests a "relatively high number", but many iterations per step
240 is costly.
241
242 * steppers that use step doubling for error estimates: Introduced
243 constant GSL_ODEIV_ERR_SAFETY in gsl_odeiv.h that is used to
244 multiply the error estimates (yerr). This way user can modify this
245 coefficient in one place if a change is wanted.
246
247 * driver.c: This is a high level wrapper for ode-initval, which
248 was wished for in TODO. Added test_driver to test.c to test it. Is
249 this functionality enough?
250
251 * ode-initval.texi: Added documentation for new steppers. Moved
252 note about user error codes to system definition.
253
254 * Some finetuning / code cleanup.
255
256 2009-01-21 Tuomo Keskitalo <[email protected]>
257
258 * New explicit stepper: msadams (An explicit variable-coefficient
259 linear multistep Adams method in Nordsieck form). Functional
260 iteration is used to solve the non-linear equation system. The
261 algorithms described in the references (see msadams.c) have been
262 adapted to fit GSL odeiv framework. Currently this is beta, but
263 the stepper now passes the odeiv test suite.
264
265 * control.c, cstd.c, cscal.c: Added errlev function which
266 calculates desired error level. This is used in masadams (and can
267 be used in imp* steppers, too) to control accuracy of functional
268 iteration. User must call gsl_odeiv_step_set_control after
269 allocating step and control objects to pass the information about
270 control object to stepper. This change (or something similar) is
271 needed to pass tolerance for the stepper routines that need
272 it. Modified stepper routines accordingly.
273
274 * evolve.c: Changed the step length scaling coefficient for
275 stepper failure from 0.1 to 0.5, because msadams seems to cope
276 much better with this change in stiff[0,1] test case.
277
278 * gsl_odeiv.h: gsl_odeiv_control and control_type introduced
279 earlier because gsl_odeiv_step_type now refers to it.
280
281 2008-11-01 Tuomo Keskitalo <[email protected]>
282
283 * New implicit solvers: imprk4 (replaces imprk42 in previous test
284 package), imprk2 (replaces imprk21 in previous test package) and
285 impeuler, which use modified Newton iteration to solve the
286 implicit equations. I decided to dump imprk42 and imprk21 because
287 I was unsure how to calculate the error estimates for them. I
288 think that these new implicit methods could be used instead of
289 rk4imp, rk2imp, gear2 and gear1, which use functional
290 iteration (which is inefficient for stiff problems.) However, even
291 these new solvers can not be used efficiently for truly nasty
292 stiff problems, and better solvers are still needed.
293
294 * modnewton1.c: a modified Newton solver for solution of
295 non-linear equations of implicit solvers. Jacobian evaluation has
296 been moved from modnewton1 to imprk2, imprk4 and impeuler.
297
298 * evolve.c: modification to decrease step size if stepper fails,
299 instead of giving up immediately.
300
301 * evolve.c: A bug fix: Exit with GSL_FAILURE if step size reaches
302 machine precision instead of continuing with old step size.
303
304 * test.c: added Robertson stiff test
305
306 * test.c: embedded test_oregonator to test_compare_stiff_probelms
307 to test several stiff problems. Note: the tested integration
308 interval is rather short due to inefficiency of solvers other than
309 bsimp in these problems.
310
311 * test.c: modified test_compare_vanderpol and
312 test_compare_stiff_problems to check against results from first
313 ode-solver. Changed rk4 or bsimp to first place.
314
315 * test.c: modified stepfn and stepfn2 and expanded these to be
316 tested with all explicit solvers
317
318 * test.c: removed stepfn3 and added test_broken and
319 test_stepsize_fail to check that evolve decreases step size below
320 machine precision and exits with a failure code in the end if user
321 functions fail continuously.
322
323 * Changes in ode-initval.texi:
324
325 * removed untrue sentence concerning stepping functions: "The
326 step-size @var{h} will be set to the step-size which caused the
327 error."
328
329 * Changed gsl_odeiv_system variable name from dydt to sys for
330 clarity
331
332 * added "explicit" or "implicit" to stepper introductions for
333 clarity
334
335 * reformulated description of evolve_apply and step_apply and made
336 changes to reflect the modifications to the code.
337
338 * clarified the point on integrating over discontinuities. It is
339 best to integrate in sequences.
340
341 * removed the text suggesting the user to force a step size to
342 integrate over the edge of a discontinuity. The applicability of
343 this kind of a numerical tweak depends on the case, and should in
344 my opinion not to be included in a reference book.