23 character(len=LENMEMPATH) :: memorypath
24 integer(I4B),
POINTER :: iout => null()
25 integer(I4B),
POINTER :: iprims => null()
27 real(dp),
pointer :: dvclose => null()
28 real(dp),
pointer :: rclose => null()
29 integer(I4B),
pointer :: icnvgopt => null()
30 integer(I4B),
pointer :: iter1 => null()
31 integer(I4B),
pointer :: ilinmeth => null()
32 integer(I4B),
pointer :: iscl => null()
33 integer(I4B),
pointer :: iord => null()
34 integer(I4B),
pointer :: north => null()
36 real(dp),
pointer :: relax => null()
37 integer(I4B),
pointer :: level => null()
38 real(dp),
pointer :: droptol => null()
40 integer(I4B),
POINTER :: ipc => null()
41 integer(I4B),
POINTER :: iacpc => null()
42 integer(I4B),
POINTER :: niterc => null()
43 integer(I4B),
POINTER :: niabcgs => null()
44 integer(I4B),
POINTER :: niapc => null()
45 integer(I4B),
POINTER :: njapc => null()
46 real(dp),
POINTER :: epfact => null()
47 real(dp),
POINTER :: l2norm0 => null()
49 integer(I4B),
POINTER :: njlu => null()
50 integer(I4B),
POINTER :: njw => null()
51 integer(I4B),
POINTER :: nwlu => null()
53 integer(I4B),
POINTER :: neq => null()
54 integer(I4B),
POINTER :: nja => null()
55 integer(I4B),
dimension(:),
pointer,
contiguous :: ia => null()
56 integer(I4B),
dimension(:),
pointer,
contiguous :: ja => null()
57 real(dp),
dimension(:),
pointer,
contiguous :: amat => null()
58 real(dp),
dimension(:),
pointer,
contiguous :: rhs => null()
59 real(dp),
dimension(:),
pointer,
contiguous :: x => null()
61 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: dscale => null()
62 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: dscale2 => null()
63 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: rscale => null()
64 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: hscale => null()
65 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: iapc => null()
66 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: japc => null()
67 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: apc => null()
68 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: lorder => null()
69 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: iorder => null()
70 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: iaro => null()
71 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: jaro => null()
72 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: aro => null()
74 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: iw => null()
75 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: w => null()
76 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: id => null()
77 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: d => null()
78 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: p => null()
79 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: q => null()
80 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: z => null()
82 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: t => null()
83 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: v => null()
84 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: dhat => null()
85 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: phat => null()
86 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: qhat => null()
88 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: ia0 => null()
89 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: ja0 => null()
90 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: a0 => null()
92 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: jlu => null()
93 integer(I4B),
POINTER,
DIMENSION(:),
CONTIGUOUS :: jw => null()
94 real(dp),
POINTER,
DIMENSION(:),
CONTIGUOUS :: wlu => null()
115 NEQ, matrix, RHS, X, linear_settings)
123 CHARACTER(LEN=LENSOLUTIONNAME),
INTENT(IN) :: NAME
124 integer(I4B),
INTENT(IN) :: IOUT
125 integer(I4B),
TARGET,
INTENT(IN) :: IPRIMS
126 integer(I4B),
INTENT(IN) :: MXITER
127 integer(I4B),
TARGET,
INTENT(IN) :: NEQ
129 real(DP),
DIMENSION(NEQ),
TARGET,
INTENT(INOUT) :: RHS
130 real(DP),
DIMENSION(NEQ),
TARGET,
INTENT(INOUT) :: X
133 character(len=LINELENGTH) :: errmsg
136 integer(I4B) :: iscllen, iolen
143 this%DVCLOSE => linear_settings%dvclose
144 this%RCLOSE => linear_settings%rclose
145 this%ICNVGOPT => linear_settings%icnvgopt
146 this%ITER1 => linear_settings%iter1
147 this%ILINMETH => linear_settings%ilinmeth
148 this%ISCL => linear_settings%iscl
149 this%IORD => linear_settings%iord
150 this%NORTH => linear_settings%north
151 this%RELAX => linear_settings%relax
152 this%LEVEL => linear_settings%level
153 this%DROPTOL => linear_settings%droptol
156 this%IPRIMS => iprims
158 call matrix%get_aij(this%IA, this%JA, this%AMAT)
160 this%NJA =
size(this%AMAT)
165 call this%allocate_scalars()
17702000
FORMAT(1x, /1x,
'IMSLINEAR -- UNSTRUCTURED LINEAR SOLUTION', &
178 ' PACKAGE, VERSION 8, 04/28/2017')
184 IF (this%ISCL < 0) this%ISCL = 0
185 IF (this%ISCL > 2)
THEN
186 WRITE (errmsg,
'(A)')
'IMSLINEAR7AR ISCL MUST BE <= 2'
189 IF (this%IORD < 0) this%IORD = 0
190 IF (this%IORD > 2)
THEN
191 WRITE (errmsg,
'(A)')
'IMSLINEAR7AR IORD MUST BE <= 2'
194 IF (this%NORTH < 0)
THEN
195 WRITE (errmsg,
'(A)')
'IMSLINEAR7AR NORTH MUST >= 0'
198 IF (this%RCLOSE ==
dzero)
THEN
199 IF (this%ICNVGOPT /= 3)
THEN
200 WRITE (errmsg,
'(A)')
'IMSLINEAR7AR RCLOSE MUST > 0.0'
204 IF (this%RELAX <
dzero)
THEN
205 WRITE (errmsg,
'(A)')
'IMSLINEAR7AR RELAX MUST BE >= 0.0'
208 IF (this%RELAX >
done)
THEN
209 WRITE (errmsg,
'(A)')
'IMSLINEAR7AR RELAX MUST BE <= 1.0'
218 IF (this%ISCL .NE. 0) iscllen = neq
219 CALL mem_allocate(this%DSCALE, iscllen,
'DSCALE', trim(this%memoryPath))
220 CALL mem_allocate(this%DSCALE2, iscllen,
'DSCALE2', trim(this%memoryPath))
221 CALL mem_allocate(this%RSCALE, iscllen,
'RSCALE', trim(this%memoryPath))
222 CALL mem_allocate(this%HSCALE, iscllen,
'HSCALE', trim(this%memoryPath))
230 IF (this%IORD .NE. 0)
THEN
234 CALL mem_allocate(this%LORDER, i0,
'LORDER', trim(this%memoryPath))
235 CALL mem_allocate(this%IORDER, i0,
'IORDER', trim(this%memoryPath))
236 CALL mem_allocate(this%IARO, i0 + 1,
'IARO', trim(this%memoryPath))
237 CALL mem_allocate(this%JARO, iolen,
'JARO', trim(this%memoryPath))
238 CALL mem_allocate(this%ARO, iolen,
'ARO', trim(this%memoryPath))
241 CALL mem_allocate(this%ID, this%NEQ,
'ID', trim(this%memoryPath))
242 CALL mem_allocate(this%D, this%NEQ,
'D', trim(this%memoryPath))
243 CALL mem_allocate(this%P, this%NEQ,
'P', trim(this%memoryPath))
244 CALL mem_allocate(this%Q, this%NEQ,
'Q', trim(this%memoryPath))
245 CALL mem_allocate(this%Z, this%NEQ,
'Z', trim(this%memoryPath))
249 IF (this%ILINMETH == 2)
THEN
250 this%NIABCGS = this%NEQ
252 CALL mem_allocate(this%T, this%NIABCGS,
'T', trim(this%memoryPath))
253 CALL mem_allocate(this%V, this%NIABCGS,
'V', trim(this%memoryPath))
254 CALL mem_allocate(this%DHAT, this%NIABCGS,
'DHAT', trim(this%memoryPath))
255 CALL mem_allocate(this%PHAT, this%NIABCGS,
'PHAT', trim(this%memoryPath))
256 CALL mem_allocate(this%QHAT, this%NIABCGS,
'QHAT', trim(this%memoryPath))
260 this%DSCALE(n) =
done
261 this%DSCALE2(n) =
done
262 this%RSCALE(n) =
done
263 this%HSCALE(n) =
done
280 DO n = 1, this%NIABCGS
309 IF (this%IORD .NE. 0)
THEN
311 this%JA, this%LORDER, this%IORDER)
325 integer(I4B),
intent(in) :: mxiter
327 CHARACTER(LEN=10) :: clin(0:2)
328 CHARACTER(LEN=31) :: clintit(0:2)
329 CHARACTER(LEN=20) :: cipc(0:4)
330 CHARACTER(LEN=20) :: cscale(0:2)
331 CHARACTER(LEN=25) :: corder(0:2)
332 CHARACTER(LEN=16),
DIMENSION(0:4) :: ccnvgopt
333 CHARACTER(LEN=15) :: clevel
334 CHARACTER(LEN=15) :: cdroptol
338 DATA clin/
'UNKNOWN ', &
341 DATA clintit/
' UNKNOWN ', &
342 &
' CONJUGATE-GRADIENT ', &
343 &
'BICONJUGATE-GRADIENT STABILIZED'/
344 DATA cipc/
'UNKNOWN ', &
346 &
'MOD. INCOMPLETE LU ', &
347 &
'INCOMPLETE LUT ', &
348 &
'MOD. INCOMPLETE LUT '/
349 DATA cscale/
'NO SCALING ', &
350 &
'SYMMETRIC SCALING ', &
352 DATA corder/
'ORIGINAL ORDERING ', &
354 &
'MINIMUM DEGREE ORDERING '/
355 DATA ccnvgopt/
'INFINITY NORM ', &
356 &
'INFINITY NORM S ', &
358 &
'RELATIVE L2NORM ', &
36102010
FORMAT(1x, /, 7x,
'SOLUTION BY THE', 1x, a31, 1x,
'METHOD', &
363 ' MAXIMUM OF ', i0,
' CALLS OF SOLUTION ROUTINE', /, &
364 ' MAXIMUM OF ', i0, &
365 ' INTERNAL ITERATIONS PER CALL TO SOLUTION ROUTINE', /, &
366 ' LINEAR ACCELERATION METHOD =', 1x, a, /, &
367 ' MATRIX PRECONDITIONING TYPE =', 1x, a, /, &
368 ' MATRIX SCALING APPROACH =', 1x, a, /, &
369 ' MATRIX REORDERING APPROACH =', 1x, a, /, &
370 ' NUMBER OF ORTHOGONALIZATIONS =', 1x, i0, /, &
371 ' HEAD CHANGE CRITERION FOR CLOSURE =', e15.5, /, &
372 ' RESIDUAL CHANGE CRITERION FOR CLOSURE =', e15.5, /, &
373 ' RESIDUAL CONVERGENCE OPTION =', 1x, i0, /, &
374 ' RESIDUAL CONVERGENCE NORM =', 1x, a, /, &
375 ' RELAXATION FACTOR =', e15.5)
37602015
FORMAT(
' NUMBER OF LEVELS =', a15, /, &
377 ' DROP TOLERANCE =', a15, //)
3782030
FORMAT(1x, a20, 1x, 6(i6, 1x))
3792040
FORMAT(1x, 20(
'-'), 1x, 6(6(
'-'), 1x))
3802050
FORMAT(1x, 62(
'-'),/)
388 write (this%iout, 2010) &
389 clintit(this%ILINMETH), mxiter, this%ITER1, &
390 clin(this%ILINMETH), cipc(this%IPC), &
391 cscale(this%ISCL), corder(this%IORD), &
392 this%NORTH, this%DVCLOSE, this%RCLOSE, &
393 this%ICNVGOPT, ccnvgopt(this%ICNVGOPT), &
395 if (this%level > 0)
then
396 write (clevel,
'(i15)') this%level
398 if (this%droptol >
dzero)
then
399 write (cdroptol,
'(e15.5)') this%droptol
401 IF (this%level > 0 .or. this%droptol >
dzero)
THEN
402 write (this%iout, 2015) trim(adjustl(clevel)), &
403 trim(adjustl(cdroptol))
405 write (this%iout,
'(//)')
408 if (this%iord /= 0)
then
411 if (this%iprims == 2)
then
412 DO i = 1, this%neq, 6
413 write (this%iout, 2030)
'ORIGINAL NODE :', &
414 (j, j=i, min(i + 5, this%neq))
415 write (this%iout, 2040)
416 write (this%iout, 2030)
'REORDERED INDEX :', &
417 (this%lorder(j), j=i, min(i + 5, this%neq))
418 write (this%iout, 2030)
'REORDERED NODE :', &
419 (this%iorder(j), j=i, min(i + 5, this%neq))
420 write (this%iout, 2050)
441 call mem_allocate(this%niterc,
'NITERC', this%memoryPath)
442 call mem_allocate(this%niabcgs,
'NIABCGS', this%memoryPath)
445 call mem_allocate(this%epfact,
'EPFACT', this%memoryPath)
446 call mem_allocate(this%l2norm0,
'L2NORM0', this%memoryPath)
515 nullify (this%iprims)
545 call ims_calc_pcdims(this%NEQ, this%NJA, this%IA, this%LEVEL, this%IPC, &
546 this%NIAPC, this%NJAPC, this%NJLU, this%NJW, this%NWLU)
549 call mem_allocate(this%IAPC, this%NIAPC + 1,
'IAPC', trim(this%memoryPath))
550 call mem_allocate(this%JAPC, this%NJAPC,
'JAPC', trim(this%memoryPath))
551 call mem_allocate(this%APC, this%NJAPC,
'APC', trim(this%memoryPath))
554 call mem_allocate(this%IW, this%NIAPC,
'IW', trim(this%memoryPath))
555 call mem_allocate(this%W, this%NIAPC,
'W', trim(this%memoryPath))
558 call mem_allocate(this%JLU, this%NJLU,
'JLU', trim(this%memoryPath))
559 call mem_allocate(this%JW, this%NJW,
'JW', trim(this%memoryPath))
560 call mem_allocate(this%WLU, this%NWLU,
'WLU', trim(this%memoryPath))
565 this%IAPC, this%JAPC)
615 integer(I4B),
INTENT(IN) :: IFDPARAM
617 SELECT CASE (ifdparam)
671 NCONV, CONVNMOD, CONVMODSTART, &
677 integer(I4B),
INTENT(INOUT) :: ICNVG
678 integer(I4B),
INTENT(IN) :: KSTP
679 integer(I4B),
INTENT(IN) :: KITER
680 integer(I4B),
INTENT(INOUT) :: IN_ITER
682 integer(I4B),
INTENT(IN) :: NCONV
683 integer(I4B),
INTENT(IN) :: CONVNMOD
684 integer(I4B),
DIMENSION(CONVNMOD + 1),
INTENT(INOUT) :: CONVMODSTART
685 character(len=31),
DIMENSION(NCONV),
INTENT(INOUT) :: CACCEL
689 integer(I4B) :: innerit
691 integer(I4B) :: itmax
698 IF (this%ISCL .NE. 0)
THEN
700 this%NEQ, this%NJA, this%IA, this%JA, &
701 this%AMAT, this%X, this%RHS, &
702 this%DSCALE, this%DSCALE2)
706 IF (this%IORD /= 0)
THEN
707 CALL dperm(this%NEQ, this%AMAT, this%JA, this%IA, &
708 this%ARO, this%JARO, this%IARO, &
709 this%LORDER, this%ID, 1)
710 CALL dvperm(this%NEQ, this%X, this%LORDER)
711 CALL dvperm(this%NEQ, this%RHS, this%LORDER)
712 this%IA0 => this%IARO
713 this%JA0 => this%JARO
722 IF (this%ISCL /= 0)
THEN
724 this%DSCALE2, this%LORDER, &
725 this%RSCALE, this%HSCALE)
729 CALL ims_base_pcu(this%iout, this%NJA, this%NEQ, this%NIAPC, this%NJAPC, &
730 this%IPC, this%RELAX, this%A0, this%IA0, this%JA0, &
731 this%APC, this%IAPC, this%JAPC, this%IW, this%W, &
732 this%LEVEL, this%DROPTOL, this%NJLU, this%NJW, &
733 this%NWLU, this%JLU, this%JW, this%WLU)
751 this%A0, this%IA0, this%JA0)
752 IF (this%ISCL /= 0)
THEN
755 this%L2NORM0 = this%L2NORM0 + (this%D(n) * this%RSCALE(n))**2
757 this%L2NORM0 = sqrt(this%L2NORM0)
759 this%L2NORM0 = dnrm2(this%NEQ, this%D, 1)
764 IF (this%L2NORM0 ==
dzero)
THEN
770 IF (this%ILINMETH == 1)
THEN
772 this%NEQ, this%NJA, this%NIAPC, this%NJAPC, &
773 this%IPC, this%ICNVGOPT, this%NORTH, &
774 this%ISCL, this%RSCALE, this%HSCALE, &
775 this%DVCLOSE, this%RCLOSE, this%L2NORM0, &
776 this%EPFACT, this%IA0, this%JA0, this%A0, &
777 this%IAPC, this%JAPC, this%APC, &
778 this%X, this%RHS, this%D, this%P, this%Q, this%Z, &
779 this%NJLU, this%IW, this%JLU, &
780 nconv, convnmod, convmodstart, &
784 ELSE IF (this%ILINMETH == 2)
THEN
786 this%NEQ, this%NJA, this%NIAPC, this%NJAPC, &
787 this%IPC, this%ICNVGOPT, this%NORTH, &
788 this%ISCL, this%RSCALE, this%HSCALE, &
789 this%DVCLOSE, this%RCLOSE, this%L2NORM0, &
790 this%EPFACT, this%IA0, this%JA0, this%A0, &
791 this%IAPC, this%JAPC, this%APC, &
792 this%X, this%RHS, this%D, this%P, this%Q, &
793 this%T, this%V, this%DHAT, this%PHAT, this%QHAT, &
794 this%NJLU, this%IW, this%JLU, &
795 nconv, convnmod, convmodstart, &
800 IF (this%IORD /= 0)
THEN
801 CALL dperm(this%NEQ, this%A0, this%JA0, this%IA0, &
802 this%AMAT, this%JA, this%IA, &
803 this%IORDER, this%ID, 1)
804 CALL dvperm(this%NEQ, this%X, this%IORDER)
805 CALL dvperm(this%NEQ, this%RHS, this%IORDER)
809 IF (this%ISCL .NE. 0)
THEN
811 this%NEQ, this%NJA, this%IA, this%JA, &
812 this%AMAT, this%X, this%RHS, &
813 this%DSCALE, this%DSCALE2)
This module contains block parser methods.
This module contains simulation constants.
real(dp), parameter dsame
real constant for values that are considered the same based on machine precision
integer(i4b), parameter linelength
maximum length of a standard line
integer(i4b), parameter lensolutionname
maximum length of the solution name
real(dp), parameter dem8
real constant 1e-8
real(dp), parameter dem1
real constant 1e-1
real(dp), parameter dhalf
real constant 1/2
real(dp), parameter dem3
real constant 1e-3
integer(i4b), parameter izero
integer constant zero
real(dp), parameter dem4
real constant 1e-4
real(dp), parameter dem6
real constant 1e-6
real(dp), parameter dzero
real constant zero
real(dp), parameter dem5
real constant 1e-5
real(dp), parameter dprec
real constant machine precision
@ vdebug
write debug output
real(dp), parameter dem2
real constant 1e-2
real(dp), parameter dtwo
real constant 2
integer(i4b), parameter lenmempath
maximum length of the memory path
real(dp), parameter done
real constant 1
This module contains the IMS linear accelerator subroutines.
subroutine ims_base_pcu(iout, nja, neq, niapc, njapc, ipc, relax, amat, ia, ja, apc, iapc, japc, iw, w, level, droptol, njlu, njw, nwlu, jlu, jw, wlu)
Update the preconditioner.
subroutine ims_calc_pcdims(neq, nja, ia, level, ipc, niapc, njapc, njlu, njw, nwlu)
real(dp) function ims_base_epfact(icnvgopt, kstp)
Function returning EPFACT.
subroutine ims_base_residual(neq, nja, x, b, d, a, ia, ja)
Calculate residual.
subroutine ims_base_cnvg_scale(neq, iord, dscale, dscale2, lorder, rscale, hscale)
Set the factors that return the residual and head change to model units, in the order of the reordere...
subroutine ims_base_cg(icnvg, itmax, innerit, neq, nja, niapc, njapc, ipc, icnvgopt, north, iscl, rscale, hscale, dvclose, rclose, l2norm0, epfact, ia0, ja0, a0, iapc, japc, apc, x, b, d, p, q, z, njlu, iw, jlu, nconv, convnmod, convmodstart, caccel, summary)
Preconditioned Conjugate Gradient linear accelerator.
subroutine ims_base_calc_order(iord, neq, nja, ia, ja, lorder, iorder)
Calculate LORDER AND IORDER.
subroutine ims_base_bcgs(icnvg, itmax, innerit, neq, nja, niapc, njapc, ipc, icnvgopt, north, iscl, rscale, hscale, dvclose, rclose, l2norm0, epfact, ia0, ja0, a0, iapc, japc, apc, x, b, d, p, q, t, v, dhat, phat, qhat, njlu, iw, jlu, nconv, convnmod, convmodstart, caccel, summary)
Preconditioned BiConjugate Gradient Stabilized linear accelerator.
subroutine ims_base_scale(iopt, iscl, neq, nja, ia, ja, amat, x, b, dscale, dscale2)
Scale the coefficient matrix.
subroutine ims_base_pccrs(neq, nja, ia, ja, iapc, japc)
Generate CRS pointers for the preconditioner.
subroutine allocate_scalars(this)
Allocate and initialize scalars.
subroutine precond_allocate(this)
Allocate and initialize the preconditioner work arrays.
subroutine imslinear_summary(this, mxiter)
Write summary of settings.
subroutine imslinear_da(this)
Deallocate memory.
subroutine precond_destroy(this)
Deallocate the preconditioner work arrays.
subroutine imslinear_ar(this, name, iout, iprims, mxiter, neq, matrix, rhs, x, linear_settings)
Allocate storage and read data.
subroutine imslinear_set_input(this, ifdparam)
Set default settings.
subroutine imslinear_ap(this, icnvg, kstp, kiter, in_iter, nconv, convnmod, convmodstart, caccel, summary)
Base linear accelerator subroutine.
@ ipc_ilut
ILUT (incomplete LU with threshold).
@ ipc_ilu0
ILU0 (incomplete LU, zero fill).
@ ipc_unknown
preconditioner type not set
pure integer(i4b) function, public resolve_ipc(level, relax)
Resolve the preconditioner enum from the ILU controls.
This module defines variable data types.
character(len=lenmempath) function create_mem_path(component, subcomponent, context)
returns the path to the memory object
subroutine, public memorystore_release(varname, memory_path)
Release a single variable from the memory store.
This module contains simulation methods.
subroutine, public store_error(msg, terminate)
Store an error message.
integer(i4b) function, public count_errors()
Return number of errors.
subroutine, public deprecation_warning(cblock, cvar, cver, endmsg, iunit)
Store deprecation warning message.
subroutine dvperm(n, x, perm)
subroutine dperm(nrow, a, ja, ia, ao, jao, iao, perm, qperm, job)
This structure stores the generic convergence info for a solution.