1 ;;; Compiled by f2cl version:
2 ;;; ("f2cl1.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
3 ;;; "f2cl2.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
4 ;;; "f2cl3.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
5 ;;; "f2cl4.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
6 ;;; "f2cl5.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
7 ;;; "f2cl6.l,v 1d5cbacbb977 2008/08/24 00:56:27 rtoy $"
8 ;;; "macros.l,v 1409c1352feb 2013/03/24 20:44:50 toy $")
10 ;;; Using Lisp CMU Common Lisp snapshot-2013-11 (20E Unicode)
12 ;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
13 ;;; (:coerce-assigns :as-needed) (:array-type ':array)
14 ;;; (:array-slicing t) (:declare-common nil)
15 ;;; (:float-format single-float))
17 (in-package "ODEPACK")
20 (defun dprjis (neq y yh nyh ewt rtem savr s wk iwk res jac adda
)
21 (declare (type (f2cl-lib:integer4
) nyh
)
22 (type (array double-float
(*)) wk s savr rtem ewt yh y
)
23 (type (array f2cl-lib
:integer4
(*)) iwk neq
))
25 (symbol-macrolet ((el0 (aref (dls001-part-0 *dls001-common-block
*) 210))
26 (h (aref (dls001-part-0 *dls001-common-block
*) 211))
27 (tn (aref (dls001-part-0 *dls001-common-block
*) 216))
28 (ierpj (aref (dls001-part-1 *dls001-common-block
*) 13))
29 (jcur (aref (dls001-part-1 *dls001-common-block
*) 15))
30 (miter (aref (dls001-part-1 *dls001-common-block
*) 26))
31 (n (aref (dls001-part-1 *dls001-common-block
*) 31))
32 (nfe (aref (dls001-part-1 *dls001-common-block
*) 34))
33 (nje (aref (dls001-part-1 *dls001-common-block
*) 35))
34 (iesp (aref (dlss01-part-1 *dlss01-common-block
*) 1))
35 (iys (aref (dlss01-part-1 *dlss01-common-block
*) 3))
36 (iba (aref (dlss01-part-1 *dlss01-common-block
*) 4))
37 (ibian (aref (dlss01-part-1 *dlss01-common-block
*) 5))
38 (ibjan (aref (dlss01-part-1 *dlss01-common-block
*) 6))
39 (ibjgp (aref (dlss01-part-1 *dlss01-common-block
*) 7))
40 (ipian (aref (dlss01-part-1 *dlss01-common-block
*) 8))
41 (ipjan (aref (dlss01-part-1 *dlss01-common-block
*) 9))
42 (ipigp (aref (dlss01-part-1 *dlss01-common-block
*) 11))
43 (ipr (aref (dlss01-part-1 *dlss01-common-block
*) 12))
44 (ipc (aref (dlss01-part-1 *dlss01-common-block
*) 13))
45 (ipic (aref (dlss01-part-1 *dlss01-common-block
*) 14))
46 (ipisp (aref (dlss01-part-1 *dlss01-common-block
*) 15))
47 (iprsp (aref (dlss01-part-1 *dlss01-common-block
*) 16))
48 (ipa (aref (dlss01-part-1 *dlss01-common-block
*) 17))
49 (ngp (aref (dlss01-part-1 *dlss01-common-block
*) 28))
50 (nlu (aref (dlss01-part-1 *dlss01-common-block
*) 29))
51 (nsp (aref (dlss01-part-1 *dlss01-common-block
*) 31)))
52 (f2cl-lib:with-multi-array-data
53 ((neq f2cl-lib
:integer4 neq-%data% neq-%offset%
)
54 (iwk f2cl-lib
:integer4 iwk-%data% iwk-%offset%
)
55 (y double-float y-%data% y-%offset%
)
56 (yh double-float yh-%data% yh-%offset%
)
57 (ewt double-float ewt-%data% ewt-%offset%
)
58 (rtem double-float rtem-%data% rtem-%offset%
)
59 (savr double-float savr-%data% savr-%offset%
)
60 (s double-float s-%data% s-%offset%
)
61 (wk double-float wk-%data% wk-%offset%
))
62 (prog ((ng 0) (kmin 0) (kmax 0) (k 0) (jmin 0) (jmax 0) (jj 0) (j 0)
63 (ires 0) (imul 0) (i 0) (srur 0.0d0
) (r 0.0d0
) (hl0 0.0d0
)
64 (fac 0.0d0
) (con 0.0d0
))
65 (declare (type (double-float) con fac hl0 r srur
)
66 (type (f2cl-lib:integer4
) i imul ires j jj jmax jmin k kmax
71 (setf nje
(f2cl-lib:int-add nje
1))
72 (f2cl-lib:computed-goto
(label100 label200
) miter
)
75 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5
)
76 (funcall res neq tn y s savr ires
)
77 (declare (ignore var-0 var-2 var-3 var-4
))
82 (setf nfe
(f2cl-lib:int-add nfe
1))
83 (if (> ires
1) (go label600
))
84 (setf kmin
(f2cl-lib:fref iwk-%data%
(ipian) ((1 *)) iwk-%offset%
))
85 (f2cl-lib:fdo
(j 1 (f2cl-lib:int-add j
1))
90 (f2cl-lib:fref iwk-%data%
91 ((f2cl-lib:int-add ipian j
))
95 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
99 (setf (f2cl-lib:fref rtem-%data%
(i) ((1 *)) rtem-%offset%
)
102 (var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7
)
109 (f2cl-lib:array-slice iwk-%data%
114 (f2cl-lib:array-slice iwk-%data%
120 (declare (ignore var-0 var-2 var-3 var-5 var-6 var-7
))
125 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
129 (setf (f2cl-lib:fref rtem-%data%
(i) ((1 *)) rtem-%offset%
)
131 (f2cl-lib:fref rtem-%data%
136 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5 var-6
)
142 (f2cl-lib:array-slice iwk-%data%
147 (f2cl-lib:array-slice iwk-%data%
153 (declare (ignore var-0 var-2 var-4 var-5 var-6
))
158 (f2cl-lib:fdo
(k kmin
(f2cl-lib:int-add k
1))
162 (f2cl-lib:fref iwk-%data%
163 ((f2cl-lib:int-add ibjan k
))
166 (setf (f2cl-lib:fref wk-%data%
167 ((f2cl-lib:int-add iba k
))
170 (f2cl-lib:fref rtem-%data%
175 (setf kmin
(f2cl-lib:int-add kmax
1))
180 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5
)
181 (funcall res neq tn y s savr ires
)
182 (declare (ignore var-0 var-2 var-3 var-4
))
187 (setf nfe
(f2cl-lib:int-add nfe
1))
188 (if (> ires
1) (go label600
))
189 (setf srur
(f2cl-lib:fref wk-%data%
(1) ((1 *)) wk-%offset%
))
190 (setf jmin
(f2cl-lib:fref iwk-%data%
(ipigp) ((1 *)) iwk-%offset%
))
191 (f2cl-lib:fdo
(ng 1 (f2cl-lib:int-add ng
1))
196 (f2cl-lib:fref iwk-%data%
197 ((f2cl-lib:int-add ipigp ng
))
201 (f2cl-lib:fdo
(j jmin
(f2cl-lib:int-add j
1))
205 (f2cl-lib:fref iwk-%data%
206 ((f2cl-lib:int-add ibjgp j
))
213 (f2cl-lib:fref y-%data%
218 (f2cl-lib:fref ewt-%data%
223 (setf (f2cl-lib:fref y-%data%
(jj) ((1 *)) y-%offset%
)
224 (+ (f2cl-lib:fref y-%data%
(jj) ((1 *)) y-%offset%
)
226 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5
)
227 (funcall res neq tn y s rtem ires
)
228 (declare (ignore var-0 var-2 var-3 var-4
))
233 (setf nfe
(f2cl-lib:int-add nfe
1))
234 (if (> ires
1) (go label600
))
235 (f2cl-lib:fdo
(j jmin
(f2cl-lib:int-add j
1))
239 (f2cl-lib:fref iwk-%data%
240 ((f2cl-lib:int-add ibjgp j
))
243 (setf (f2cl-lib:fref y-%data%
(jj) ((1 *)) y-%offset%
)
244 (f2cl-lib:fref yh-%data%
252 (f2cl-lib:fref y-%data%
257 (f2cl-lib:fref ewt-%data%
261 (setf fac
(/ (- hl0
) r
))
263 (f2cl-lib:fref iwk-%data%
264 ((f2cl-lib:int-add ibian jj
))
269 (f2cl-lib:fref iwk-%data%
270 ((f2cl-lib:int-add ibian jj
1))
274 (f2cl-lib:fdo
(k kmin
(f2cl-lib:int-add k
1))
278 (f2cl-lib:fref iwk-%data%
279 ((f2cl-lib:int-add ibjan k
))
282 (setf (f2cl-lib:fref rtem-%data%
288 (f2cl-lib:fref rtem-%data%
292 (f2cl-lib:fref savr-%data%
299 (var-0 var-1 var-2 var-3 var-4 var-5 var-6
)
305 (f2cl-lib:array-slice iwk-%data%
310 (f2cl-lib:array-slice iwk-%data%
316 (declare (ignore var-0 var-2 var-4 var-5 var-6
))
321 (f2cl-lib:fdo
(k kmin
(f2cl-lib:int-add k
1))
325 (f2cl-lib:fref iwk-%data%
326 ((f2cl-lib:int-add ibjan k
))
329 (setf (f2cl-lib:fref wk-%data%
330 ((f2cl-lib:int-add iba k
))
333 (f2cl-lib:fref rtem-%data%
339 (setf jmin
(f2cl-lib:int-add jmax
1))
342 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5
)
343 (funcall res neq tn y s savr ires
)
344 (declare (ignore var-0 var-2 var-3 var-4
))
349 (setf nfe
(f2cl-lib:int-add nfe
1))
350 (if (> ires
1) (go label600
))
352 (setf nlu
(f2cl-lib:int-add nlu
1))
354 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
358 (setf (f2cl-lib:fref rtem-%data%
(i) ((1 *)) rtem-%offset%
)
361 (var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7 var-8 var-9
362 var-10 var-11 var-12 var-13 var-14
)
364 (f2cl-lib:array-slice iwk-%data%
369 (f2cl-lib:array-slice iwk-%data%
374 (f2cl-lib:array-slice iwk-%data%
379 (f2cl-lib:array-slice iwk-%data%
384 (f2cl-lib:array-slice iwk-%data%
389 (f2cl-lib:array-slice wk-%data%
395 (f2cl-lib:array-slice iwk-%data%
400 (f2cl-lib:array-slice wk-%data%
406 (declare (ignore var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7
407 var-8 var-9 var-10 var-11 var-13
))
410 (if (= iys
0) (go end_label
))
411 (setf imul
(the f2cl-lib
:integer4
(truncate (- iys
1) n
)))
413 (if (= imul
8) (setf ierpj
1))
414 (if (= imul
10) (setf ierpj -
1))
421 (values nil nil nil nil nil nil nil nil nil nil nil nil nil
)))))))
423 (in-package #:cl-user
)
424 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
425 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
426 (setf (gethash 'fortran-to-lisp
::dprjis
427 fortran-to-lisp
::*f2cl-function-info
*)
428 (fortran-to-lisp::make-f2cl-finfo
429 :arg-types
'((array fortran-to-lisp
::integer4
(*))
430 (array double-float
(*)) (array double-float
(*))
431 (fortran-to-lisp::integer4
) (array double-float
(*))
432 (array double-float
(*)) (array double-float
(*))
433 (array double-float
(*)) (array double-float
(*))
434 (array fortran-to-lisp
::integer4
(*)) t t t
)
435 :return-values
'(nil nil nil nil nil nil nil nil nil nil nil nil
437 :calls
'(fortran-to-lisp::cdrv
))))