/usr/include/huti_fdefs.h is in libelmer-dev 6.1.0.svn.5396.dfsg-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | ! Fortran preprocessor definitons for HUTIter library
!
! $Id: huti_fdefs.h,v 1.1.1.1 1998/07/31 10:19:12 jim Exp $
#ifndef _H_HUTI_FDEFS
#define _H_HUTI_FDEFS
! HUTI defaults
#define HUTI_DFLTMAXIT 5000
#define HUTI_DFLTTOLERANCE 0.000001
#define HUTI_DFLTDBUGLVL 0
#define HUTI_DFLTPROCS 1
#define HUTI_EPSILON 1.17549435E-38
! HUTI status flags
#define HUTI_OK 0
#define HUTI_CONVERGENCE 1
#define HUTI_MAXITER 2
! QMR method
#define HUTI_QMR_RHO_PSI 10
#define HUTI_QMR_DELTA 11
#define HUTI_QMR_EPSILON 12
#define HUTI_QMR_BETA 13
#define HUTI_QMR_GAMMA 14
! CG method
#define HUTI_CG_RHO 20
! CGS method
#define HUTI_CGS_RHO 25
! TFQMR method
#define HUTI_TFQMR_RHO 30
! BiCGSTAB method
#define HUTI_BICGSTAB_RHO 35
#define HUTI_BICGSTAB_SNORM 36
#define HUTI_BICGSTAB_OMEGA 37
! GMRES method
#define HUTI_GMRES_ALPHA 40
#define HUTI_GMRES_BETA 41
! BiCGSTAB(2) method
#define HUTI_BICGSTAB_2_RHO 45
! HUTI debug levels
#define HUTI_NO_DEBUG 0
#define HUTI_ITEROUTPUT 1
! Initial X for solvers
#define HUTI_RANDOMX 0
#define HUTI_USERSUPPLIEDX 1
! Matrix type in external operations
#define HUTI_MAT_NOTTRPSED 0
#define HUTI_MAT_TRPSED 1
! Storage allocation for various methods
#define HUTI_CG_WORKSIZE 4
#define HUTI_CGS_WORKSIZE 7
#define HUTI_BICGSTAB_WORKSIZE 8
#define HUTI_QMR_WORKSIZE 14
#define HUTI_TFQMR_WORKSIZE 10
#define HUTI_GMRES_WORKSIZE 7
#define HUTI_BICGSTAB_2_WORKSIZE 8
! Different stopping criteria
#define HUTI_TRUERESIDUAL 0
#define HUTI_TRESID_SCALED_BYB 1
#define HUTI_PSEUDORESIDUAL 2
#define HUTI_PRESID_SCALED_BYB 3
#define HUTI_PRESID_SCALED_BYPRECB 4
#define HUTI_XDIFF_NORM 5
#define HUTI_UPPERB_STOPC 6
#define HUTI_USUPPLIED_STOPC 10
!
! HUTI ipar structure (used for various parameters)
!
#define HUTI_IPAR_DFLTSIZE 50
! Input parameters supplied by user or by initialization
!
! General parameters (1-9)
#define HUTI_IPAR_LEN ipar(1)
#define HUTI_DPAR_LEN ipar(2)
#define HUTI_NDIM ipar(3)
#define HUTI_WRKDIM ipar(4)
#define HUTI_DBUGLVL ipar(5)
#define HUTI_EXTOP_MATTYPE ipar(6)
! Iteration parameters (10-19)
#define HUTI_MAXIT ipar(10)
#define HUTI_STOPC ipar(12)
#define HUTI_PCOND ipar(13)
#define HUTI_INITIALX ipar(14)
#define HUTI_GMRES_RESTART ipar(15)
! Parallel environment parameters (20-29)
#define HUTI_MYPROC ipar(20)
#define HUTI_PROCS ipar(21)
!
! Output parameters (30-39)
!
#define HUTI_INFO ipar(30)
#define HUTI_ITERS ipar(31)
!
! HUTI dpar structure (used for various parameters)
!
#define HUTI_DPAR_DFLTSIZE 10
! Input parameters supplied by user
#define HUTI_TOLERANCE dpar(1)
!
! End of definitions
!
#endif
|