This subroutine constructs groupings of the column indices of the Jacobian matrix, used in the numerical evaluation of the Jacobian by finite differences.
the order of the matrix.
sparse structure descriptors of the matrix by rows.
length of available storage in the IGP array.
number of groups.
array of length N containing the column indices by groups.
pointer array of length NGRP + 1 to the locations in JGP of the beginning of each group.
error indicator. IER = 0 if no error occurred, or 1 if MAXG was insufficient.
INCL and JDONE are working arrays of length N.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | N | |||
integer, | intent(in), | dimension(*) | :: | Ia | ||
integer, | intent(in), | dimension(*) | :: | Ja | ||
integer, | intent(in) | :: | Maxg | |||
integer, | intent(out) | :: | Ngrp | |||
integer, | intent(inout), | dimension(*) | :: | Igp | ||
integer, | intent(out), | dimension(*) | :: | Jgp | ||
integer, | intent(inout), | dimension(*) | :: | Incl | ||
integer, | intent(inout), | dimension(*) | :: | Jdone | ||
integer, | intent(out) | :: | Ier |