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-2017-01 (21B Unicode)
12 ;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
13 ;;; (:coerce-assigns :as-needed) (:array-type ':simple-array)
14 ;;; (:array-slicing t) (:declare-common nil)
15 ;;; (:float-format double-float))
17 (in-package "ODEPACK")
20 (defun dewset (n itol rtol atol ycur ewt
)
21 (declare (type (array double-float
(*)) ewt ycur atol rtol
)
22 (type (f2cl-lib:integer4
) itol n
))
24 (declare (type (f2cl-lib:integer4
) i
))
25 (f2cl-lib:computed-goto
(label10 label20 label30 label40
) itol
)
27 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
31 (setf (f2cl-lib:fref ewt
(i) ((1 n
)))
33 (* (f2cl-lib:fref rtol
(1) ((1 *)))
34 (abs (f2cl-lib:fref ycur
(i) ((1 n
)))))
35 (f2cl-lib:fref atol
(1) ((1 *)))))))
38 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
42 (setf (f2cl-lib:fref ewt
(i) ((1 n
)))
44 (* (f2cl-lib:fref rtol
(1) ((1 *)))
45 (abs (f2cl-lib:fref ycur
(i) ((1 n
)))))
46 (f2cl-lib:fref atol
(i) ((1 *)))))))
49 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
53 (setf (f2cl-lib:fref ewt
(i) ((1 n
)))
55 (* (f2cl-lib:fref rtol
(i) ((1 *)))
56 (abs (f2cl-lib:fref ycur
(i) ((1 n
)))))
57 (f2cl-lib:fref atol
(1) ((1 *)))))))
60 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
64 (setf (f2cl-lib:fref ewt
(i) ((1 n
)))
66 (* (f2cl-lib:fref rtol
(i) ((1 *)))
67 (abs (f2cl-lib:fref ycur
(i) ((1 n
)))))
68 (f2cl-lib:fref atol
(i) ((1 *)))))))
71 (return (values nil nil nil nil nil nil
))))
73 (in-package #:cl-user
)
74 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
75 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
76 (setf (gethash 'fortran-to-lisp
::dewset
77 fortran-to-lisp
::*f2cl-function-info
*)
78 (fortran-to-lisp::make-f2cl-finfo
79 :arg-types
'((fortran-to-lisp::integer4
) (fortran-to-lisp::integer4
)
80 (array double-float
(*)) (array double-float
(*))
81 (array double-float
(*)) (array double-float
(*)))
82 :return-values
'(nil nil nil nil nil nil
)