1 SUBROUTINE RHOJAC
(A
,LAMBDA
,X
,V
,K
,PAR
,IPAR
)
2 DOUBLE PRECISION A
(*),LAMBDA
,X
(*),V
(*),PAR
(*)
5 C PAR(1:*) AND IPAR(1:*) ARE ARRAYS FOR (OPTIONAL) USER PARAMETERS,
6 C WHICH ARE SIMPLY PASSED THROUGH TO THE USER WRITTEN SUBROUTINES
9 C RETURN IN THE VECTOR V THE KTH COLUMN OF THE JACOBIAN
10 C MATRIX [D RHO/D LAMBDA, D RHO/DX] EVALUATED AT THE POINT
13 C THE FOLLOWING CODE IS SPECIFICALLY FOR THE POLYNOMIAL SYSTEM DRIVER
14 C POLSYS , AND SHOULD BE USED VERBATUM WITH POLSYS . IF THE USER IS
15 C CALLING FIXP?? OR STEP?? DIRECTLY, HE MUST SUPPLY APPROPRIATE
16 C REPLACEMENT CODE HERE.
21 C FORCE PREDICTED POINT TO HAVE LAMBDA .GE. 0 .
22 IF (LAMBDA
.LT
. 0.0) LAMBDA
=0.0
23 CALL HFUNP
(A
,LAMBDA
,X
,PAR
,IPAR
)
25 V
(J
)=PAR
(IPAR
(3 + (6-1)) + (J
-1))
30 V
(J
)=PAR
(IPAR
(3 + (5-1)) + (J
-1) + N2*
(K
-2))