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 daigbt (res adda neq t$ y ydot mb nb pw ipvt ier
)
21 (declare (type (f2cl-lib:integer4
) ier nb mb
)
22 (type (array double-float
(*)) pw ydot y
)
23 (type (double-float) t$
)
24 (type (array f2cl-lib
:integer4
(*)) ipvt neq
))
25 (f2cl-lib:with-multi-array-data
26 ((neq f2cl-lib
:integer4 neq-%data% neq-%offset%
)
27 (ipvt f2cl-lib
:integer4 ipvt-%data% ipvt-%offset%
)
28 (y double-float y-%data% y-%offset%
)
29 (ydot double-float ydot-%data% ydot-%offset%
)
30 (pw double-float pw-%data% pw-%offset%
))
31 (prog ((i 0) (lenpw 0) (lblox 0) (lpb 0) (lpc 0))
32 (declare (type (f2cl-lib:integer4
) lpc lpb lblox lenpw i
))
33 (setf lblox
(f2cl-lib:int-mul mb mb nb
))
34 (setf lpb
(f2cl-lib:int-add
1 lblox
))
35 (setf lpc
(f2cl-lib:int-add lpb lblox
))
36 (setf lenpw
(f2cl-lib:int-mul
3 lblox
))
37 (f2cl-lib:fdo
(i 1 (f2cl-lib:int-add i
1))
41 (setf (f2cl-lib:fref pw-%data%
(i) ((1 *)) pw-%offset%
) 0.0d0
)))
43 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5
)
44 (funcall res neq t$ y pw ydot ier
)
45 (declare (ignore var-0 var-2 var-3 var-4
))
50 (if (> ier
1) (go end_label
))
51 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7
)
58 (f2cl-lib:array-slice pw-%data%
63 (f2cl-lib:array-slice pw-%data%
68 (f2cl-lib:array-slice pw-%data%
73 (declare (ignore var-0 var-2 var-5 var-6 var-7
))
80 (multiple-value-bind (var-0 var-1 var-2 var-3 var-4 var-5 var-6
)
82 (f2cl-lib:array-slice pw-%data%
87 (f2cl-lib:array-slice pw-%data%
93 (declare (ignore var-0 var-1 var-2 var-3 var-4 var-5
))
95 (if (= ier
0) (go label20
))
96 (setf ier
(f2cl-lib:int-sub ier
))
100 (f2cl-lib:array-slice pw-%data% double-float
(lpb) ((1 *)) pw-%offset%
)
101 (f2cl-lib:array-slice pw-%data% double-float
(lpc) ((1 *)) pw-%offset%
)
105 (return (values nil nil nil t$ nil nil mb nb nil nil ier
)))))
107 (in-package #:cl-user
)
108 #+#.
(cl:if
(cl:find-package
'#:f2cl
) '(and) '(or))
109 (eval-when (:load-toplevel
:compile-toplevel
:execute
)
110 (setf (gethash 'fortran-to-lisp
::daigbt
111 fortran-to-lisp
::*f2cl-function-info
*)
112 (fortran-to-lisp::make-f2cl-finfo
113 :arg-types
'(t t
(array fortran-to-lisp
::integer4
(*))
114 (double-float) (array double-float
(*))
115 (array double-float
(*)) (fortran-to-lisp::integer4
)
116 (fortran-to-lisp::integer4
) (array double-float
(*))
117 (array fortran-to-lisp
::integer4
(*))
118 (fortran-to-lisp::integer4
))
119 :return-values
'(nil nil nil fortran-to-lisp
::t$ nil nil
120 fortran-to-lisp
::mb fortran-to-lisp
::nb nil nil
121 fortran-to-lisp
::ier
)
122 :calls
'(fortran-to-lisp::dsolbt fortran-to-lisp
::ddecbt
))))