xref: /phasta/phSolver/common/common.h (revision 1e99f302ca5103688ae35115c2fefb7cfa6714f1)
1 c----------------------------------------------------------------------
2 c
3 c This file contains the common blocks and the data declaration needed
4 c for the routines.
5 c
6 c Input variables that have been previously declared in common_c.h have to be
7 c re-declared here, in a consistant block.
8 c
9 c Zdenek Johan, Winter 1991.  (Fortran 90)
10 c----------------------------------------------------------------------
11 
12 	IMPLICIT REAL*8 (a-h,o-z)
13 c
14 c.... parameters  IF YOU CHANGE THES YOU HAVE TO CHANGE THEM IN
15 c                  common_c.h ALSO
16 c
17         parameter     ( MAXBLK = 50000, MAXTS = 100)
18         parameter     ( MAXSH = 32, NSD = 3 , NSDSQ = 9)
19 c
20 c  The five types of region topology are  1= Tet, 2=Hex, 3= Wedge (tri-start),
21 c                                         4= Wedge (quad-first) 5=pyramid
22 c
23 c  The two types of face topology are  1= tri, 2=quad
24 c
25         parameter     ( MAXTOP = 6, MAXSURF=1000 )
26 
27 c the common block nomodule holds all the things which have been removed
28 c from different modules
29 
30         integer seqsize, stepseq
31         integer consrv_sclr_conv_vel
32         integer spongecontinuity, spongemomentum1, spongemomentum2
33         integer spongeenergy, spongemomentum3
34         integer*8 nshgt,minowned, maxowned
35 	common /amgvarr/strong_eps,ramg_eps,ramg_relax,ramg_trunc,
36      &              ramg_chebyratio
37 	common /amgvari/irun_amg,irun_amg_prec,
38      &                  iamg_verb,
39      &                  iamg_neg_sten,iamg_nlevel,
40      &                  iamg_c_solver,
41      &                  iamg_init,
42      &        iamg_setup_frez,
43      &        iamg_interp,maxnev,maxncv,iamg_smoother,mlsdeg,
44      &        iamg_reduce
45 
46         common /nomodule/ bcttimescale,ValueListResist(0:MAXSURF),
47      &  rhovw,thicknessvw, evw, rnuvw, rshearconstantvw, betai,
48      &  icardio, itvn, ipvsq, numResistSrfs, nsrflistResist(0:MAXSURF),
49      &  numImpSrfs, nsrflistImp(0:MAXSURF),impfile,
50      &  numRCRSrfs, nsrflistRCR(0:MAXSURF),ircrfile,
51      &  ideformwall, iwallmassfactor, iwallstiffactor, iviscflux
52         common /sequence/ seqsize, stepseq(100)
53 	common /workfc/ master, numpe, myrank
54 	common /fronts/ maxfront, nlwork
55 	common /newdim/ nshgt, minowned,maxowned, numper, nshg0
56 	common /timer4/ birth, death, comtim
57         common /extrat/ ttim(100)
58         common /spongevar/ zoutSponge, radSponge, zinSponge,
59      &            grthOSponge,grthISponge,betamax,
60      &            spongecontinuity, spongemomentum1, spongemomentum2,
61      &            spongeenergy, spongemomentum3
62         common /turbvar/ eles,ylimit(3,9), rampmdot(2,3),
63      &                   rmutarget, pzero,  wtavei,
64      &                   dtavei, dke,  fwr1, flump, DES_SA_hmin,
65      &                   ierrcalc, ihessian, itwmod, ngaussf,idim,
66      &                   nlist, nintf(MAXTOP)
67         common /turbvari/iRANS, iLES, idistcalc, isubmod, ifproj,
68      &                   i2filt, modlstats, idis, nohomog,
69      &                   ierrsmooth, iramp
70         common /mpistats/iISend, iISendScal, iIRecv, iIRecvScal,
71      &                   iWaitAll,iWaitAllScal, iAllR, iAllRScal,
72      &                   impistat, impistat2, rmpitmr,
73      &                   rISend, rISendScal, rIRecv, rIRecvScal,
74      &                   rWaitAll, rWaitAllScal, rAllR, rAllRScal,
75      &                   rCommu, rCommuScal
76 
77         common /memstats/rheap,rheapavail,rstack,rstackavail,rshared,
78      &                   rpersist,rguard,rmmap,rmemstats
79 
80         common /spebcvr/ irscale, intpres, plandist,
81      &            thetag, ds, tolerence, radcyl, rbltin, rvscal
82 
83         common /sclrs/ scdiff(5),tdecay,nsclr,isclr,nsolt,nosource,
84      &            consrv_sclr_conv_vel
85 c
86 c.... common blocks
87 c
88       parameter (MAXQPT = 125)
89 c
90 c.... common blocks for hierarchic basis functions
91 c
92       common /intpt/  Qpt (MAXTOP ,4,MAXQPT), Qwt (MAXTOP ,MAXQPT),
93      &                Qptb(MAXTOP,4,MAXQPT),  Qwtb(MAXTOP,MAXQPT),
94      &                nint(MAXTOP),           nintb(MAXTOP),
95      &                ngauss,                 ngaussb,   intp,
96      &                   maxnint
97 
98 c nsrflist is a binary switch that tells us if a given srfID should be
99 c included in the consistent flux calculation.  It starts from zero
100 c since we need to be able to handle/ignore surfaces with no srfID attached
101 c
102 c flxID(numfluxes,nIDs+1)
103 c numfluxes = area, mass, fx, fy, fz, heat, scalar_flux_{1,2,3,4}
104 c nIDs currently set to MAXSURF, each surface has its own
105 c
106         common /aerfrc/ flxID(10,0:MAXSURF), Force(3),HFlux,
107      &                  nsrflist(0:MAXSURF), isrfIM,
108      &                  flxIDsclr(4,MAXSURF),
109      &                  irankfilesforce(0:MAXSURF)
110 c
111         common /astore/ a(100000)
112 c
113         common /blkdat/ lcblk(10,MAXBLK+1),      lcblkb(10,MAXBLK+1)
114 c
115         common /mbndnod/ mnodeb(9,8,3)
116 c
117 	integer, target :: numnp,  numel,  numelb, numpbc, nen,    nfaces,
118      &                  numflx, ndof,   nelblk, nelblb,ntopsh, nlwork,
119      &                  nedof,
120      &                  nshg,   nnz,    nflow,
121      &                  nfath, ncorpsize, iownnodes, usingpetsc
122 
123         common /conpar/ numnp,  numel,  numelb, numpbc, nen,    nfaces,
124      &                  numflx, ndof,   iALE,   icoord, navier,
125      &                  irs,    iexec,  necho,  ichem,  iRK,    nedof,
126      &                  nshg,   nnz,    istop,  nflow,  nnz_tot, idtn,
127      &                  ncorpsize, iownnodes, usingpetsc
128 
129 c...........................................................................
130         common /ctrlvari/ iI2Binlet, isetOutPres, isetInitial
131 
132         common /Ductvari/  BlowingVelDuct,
133      &                    BlowingIniMdotDuct,
134      &                    BlowingFnlMdotDuct,
135      &                    suctionVbottom,
136      &                    suctionVside_lower,
137      &                    suctionVside_upper,
138      &                    suctionVtop,
139      &                    blowerVelocity,
140      &                    blowerTemperature,
141      &                    blowerEV,
142      &                    isetOutletID,
143      &                    isetInitial_Duct,
144      &                    isetInlet_Duct,
145      &                    isetSuctionID_Duct,
146      &                    isetBlowerID_Duct,
147      &                    iDuctgeometryType,
148      &                    iStraightPrint,
149      &                    isetEV_IC_BC,
150      &                    isetEVramp,
151      &                    isetBlowing_Duct,
152      &                    ifixBlowingVel_Duct,
153      &                    nBlowingStepsDuct
154         real*8 inletVelX
155         common /ctrlvar/  inletVelX,   outPres1,
156      &                    xvel_ini,    yvel_ini,    zvel_ini,
157      &                    temp_ini,    pres_ini,    evis_ini
158 
159         common /Ductvar/   evis_IC_BC,
160      &                    EVrampXmin,
161      &                    EVrampXmax,
162      &                    EVrampMin,
163      &                    EVrampMax
164 c...........................................................................
165 
166 c
167         common /levlset/ epsilon_ls, epsilon_lsd, dtlset, iLSet,
168      &                   ivconstraint, iExpLSSclr1, iExpLSSclr2
169 
170 c
171         common /shpdat/ nshape, nshapeb, maxshb,
172      &                  nshl, nshlb,nfath,  ntopsh,  nsonmax
173 c
174         common /datpnt/ mshp,   mshgl,  mwght,  mshpb,  mshglb, mwghtb,
175      &                  mmut,   mrhot,  mxst
176 c
177         common /melmcat/ mcsyst, melCat, nenCat(8,3),    nfaCat(8,3)
178 c
179         common /elmpar/ lelCat, lcsyst, iorder, nenb,
180      &                  nelblk, nelblb, ndofl,  nsymdl, nenl,   nfacel,
181      &                  nenbl,  intind, mattyp
182 c
183 
184         integer EntropyPressure
185 
186         common /genpar/ E3nsd,  I3nsd,  nsymdf, ndofBC, ndiBCB, ndBCB,
187      &                  Jactyp, jump,   ires,   iprec,  iprev,  ibound,
188      &                  idiff,  lhs,    itau,   ipord,  ipred,  lstres,
189      &                  iepstm, dtsfct, taucfct, ibksiz, iabc, isurf,
190      &                  idflx,  Bo,     EntropyPressure, irampViscOutlet,
191      &                  istretchOutlet, iremoveStabTimeTerm, iLHScond
192 
193 c
194         integer :: svLSType, svLSFlag
195         common /inpdat/ epstol(6),  Delt(MAXTS),    CFLfl(MAXTS),
196      &                  CFLsl(MAXTS),   nstep(MAXTS),   niter(MAXTS),
197      &                  impl(MAXTS),    rhoinf(MAXTS),
198      &                  LHSupd(6),  loctim(MAXTS),  deltol(MAXTS,2),
199      &                  svLSFlag,   svLSType
200 c
201         common /intdat/ intg(2,MAXTS),  intpt(3),       intptb(3)
202 c
203         common /mintpar/ indQpt(3,3,4),  numQpt(3,3,4),
204      &                  intmax
205 c
206         common /mio    / iin,    igeom,  ipar,   ibndc,  imat,   iecho,
207      &                  iout,   ichmou, irstin, irstou, ihist,  iflux,
208      &                  ierror, itable, iforce, igraph, itime
209 c
210 c /*         common /andres/ fwr1,ngaussf,idim,nlist */
211 
212         character*80    fin,    fgeom,  fpar,   fbndc,  fmat,   fecho,
213      &                  frstin, frstou, fhist,  ferror, ftable, fforce,
214      &                  fgraph, ftime,  iotype
215         common /mioname/ fin,    fgeom,  fpar,   fbndc,  fmat,   fecho,
216      &                  frstin, frstou, fhist,  ferror, ftable, fforce,
217      &                  fgraph, ftime
218 c
219         common /itrpar/ eGMRES, lGMRES, lGMRESs, iKs, iKss,    ntotGM, ntotGMs
220 c
221         common /itrpnt/ mHBrg,  meBrg,  myBrg,  mRcos,  mRsin
222 c
223         REAL*8          Nh, Msh
224         common /mmatpar/ pr,     Planck, Stefan, Nh,     Rh,     Rgas,
225      &                  gamma,  gamma1, s0,     const,  xN2,    xO2,
226      &                  yN2,    yO2,    Msh(5), cpsh(5),s0sh(5),h0sh(5),
227      &                  Rs(5),  cps(5), cvs(5), h0s(5), Trot(5),sigs(5),
228      &                  Tvib(5),g0s(5), dofs(5),ithm
229 c
230         logical         mexist
231         common /matdat/ datmat(3,7,MAXTS),      matflg(6,MAXTS),
232      &                  nummat,                 mexist
233 
234         integer input_mode, output_mode
235         common /outpar/ ro,     vel,    temper, press,  entrop, ntout,
236      &                  ioform, iowflux, iofieldv, iotype, ioybar,
237      &                  nstepsincycle, nphasesincycle,
238      &                  ncycles_startphaseavg, ivort, icomputevort,
239      &                  nsynciofiles, nsynciofieldswriterestart,
240      &                  iv_rankpercore, iv_corepernode,
241      &                  input_mode, output_mode
242 
243         common /point / mbeg,   mend,   mprec
244 c
245         common /precis/ epsM,   iabres
246 c
247         common /propar/ npro
248 c
249         common /resdat/ resfrt, resfrts
250 c
251         common /solpar/ imap,   ivart,  iDC,    iPcond, Kspace, nGMRES,
252      &                  iconvflow, iconvsclr, idcsclr(2)
253 c
254         common /msympar/ indsym(5,5)
255 c
256         common /timdat/ time,   CFLfld, CFLsld, Dtgl,   Dtmax,  alpha,
257      &                  etol,   lstep,  ifunc,  itseq,  istep,  iter,
258      &                  nitr,   almi,   alfi,   gami,   flmpl,  flmpr,
259      &                  dtol(2), iCFLworst, lskeep
260 c
261         common /timpar/ LCtime, ntseq
262 c
263         common /incomp/ numeqns(100), minIters, maxIters,
264      &                  iprjFlag,     nPrjs,    ipresPrjFlag, nPresPrjs,
265      &                  prestol,      statsflow(6), statssclr(6),
266      &                  iverbose
267 c
268         character(8) :: ccode(13)
269         common /mtimer1/ ccode
270 c
271         integer       flops,  gbytes, sbytes
272         common /mtimer2/ flops,  gbytes, sbytes, iclock, icd,    icode,
273      &                  icode2, icode3
274 c
275         common /timer3/ cpu(11),        cpu0(11),       nacess(11)
276 c
277         character*80    title,  ititle
278         common /title / title,  ititle
279 c
280         character*8     machin
281         parameter     ( machin = 'RS/6000 ' )
282         parameter     ( machfl = 4 )
283 
284         parameter
285      &           ( zero   = 0.0000000000000000000000000000000d0,
286      &             pt125  = 0.1250000000000000000000000000000d0,
287      &             pt25   = 0.2500000000000000000000000000000d0,
288      &             pt33   = 0.3333333333333333333333333333333d0,
289      &             pt39   = 0.3968502629920498686879264098181d0,
290      &             pt5    = 0.5000000000000000000000000000000d0,
291      &             pt57   = 0.5773502691896257645091487805020d0,
292      &             pt66   = 0.6666666666666666666666666666667d0,
293      &             pt75   = 0.7500000000000000000000000000000d0,
294      &             one    = 1.0000000000000000000000000000000d0,
295      &             sqt2   = 1.4142135623730950488016887242097d0,
296      &             onept5 = 1.5000000000000000000000000000000d0,
297      &             two    = 2.0000000000000000000000000000000d0,
298      &             three  = 3.0000000000000000000000000000000d0,
299      &             four   = 4.0000000000000000000000000000000d0,
300      &             five   = 5.0000000000000000000000000000000d0,
301      &             pi     = 3.1415926535897932384626433832795d0,
302      &             inv1024sq = 9.5367431640625e-7)
303 
304 c
305 c----------------------------------------------------------------------
306 c
307 c.... element pointers
308 c
309 c mmat   (MAXBLK)  : pointer to interior element material number
310 c mmatb  (MAXBLK)  : pointer to boundary element material number
311 c mien   (MAXBLK)  : pointer to ien array
312 c mienb  (MAXBLK)  : pointer to ienb array
313 c miBCB  (MAXBLK)  : pointer to iBCB array
314 c mDt    (MAXBLK)  : pointer to Dt array
315 c mDC    (MAXBLK)  : pointer to DC array
316 c mBCB   (MAXBLK)  : pointer to BCB array
317 c mstiff (MAXBLK)  : pointer to stiff array
318 c
319 c----------------------------------------------------------------------
320 c
321 c.... common /aerfrc/   : aerodynamic forces
322 c
323 c Force(3)      : components of the aerodynamic forces
324 c HFlux         : total heat flux
325 c
326 c----------------------------------------------------------------------
327 c
328 c.... common /astore/   : the dynamic memory allocation area
329 c
330 c a(...)        : the blank array used for front-end data storage
331 c
332 c----------------------------------------------------------------------
333 c
334 c.... common /blkdat/   : blocking data
335 c
336 c lcblk  (10,MAXBLK+1) : blocking data for the interior elements
337 c lcblkb (10,MAXBLK+1) : blocking data for the boundary elements
338 c
339 c----------------------------------------------------------------------
340 c
341 c.... common /bndnod/   : boundary nodes of boundary elements
342 c
343 c mnodeb (9,8,3) : boundary nodes of each element category and dimension
344 c
345 c----------------------------------------------------------------------
346 c
347 c.... common /conpar/   : input constants
348 c
349 c numnp         : number of nodal points
350 c numel         : number of elements
351 c numelb        : number of boundary elements
352 c numpbc        : number of nodes having a boundary condition
353 c nen           : maximum number of element nodes
354 c nfaces        : maximum number of element faces
355 c nsd           : number of space dimensions
356 c numflx        : number of flux boundary nodes
357 c ndof          : number of degrees of freedom per node
358 c iALE          : ALE formulation flag
359 c icoord        : coordinate system flag
360 c navier        : Navier-Stokes calculation flag
361 c irs           : restart option
362 c iexec         : execute flag
363 c necho         : input echo parameter
364 c ichem         : equilibrium chemistry flag (for outchem.step dump)
365 c iRK           : Runge-Kutta flag
366 c nshg          : global number of shape functions (degrees of freedom,
367 c                 or equations). Computed from the specified p-order,
368 c                 the number of edges, and the number of faces (in the
369 c                 entire mesh)
370 c
371 c----------------------------------------------------------------------
372 c
373 c.... common /datpnt/   : front-end data pointers
374 c
375 c mshp          : pointer to shape-functions
376 c mshgl         : pointer to local-grad-shape-functions
377 c mwght         : pointer to quadrature weights
378 c mshpb         : pointer to shape-functions of boundary elements
379 c mshglb        : pointer to local-grad-shape-functions of bound. elem.
380 c mwghtb        : pointer to quadrature weights of bound. elements
381 c mmut          : pointer to table mu  = mu  (p,T)
382 c mrhot         : pointer to table rho = rho (p,T)
383 c mxst          : pointer to table xs  = xs  (p,T)
384 c
385 c----------------------------------------------------------------------
386 c
387 c.... common /elmcat/   : element category information
388 c
389 c mcsyst        : maximum number of element coordinate system
390 c melCat        : maximum number of element categories
391 c nenCat (8,3)  : number of nodes for each category and dimension
392 c nfaCat (8,3)  : number of faces for each category and dimension
393 c
394 c----------------------------------------------------------------------
395 c
396 c.... common /elmpar/   : element parameters
397 c
398 c lelCat        : element category (P1, Q1, P2, Q2, etc.)
399 c lcsyst        : element coordinate system
400 c iorder        : element order (=k for Pk and Qk)
401 c nenb          : number of element nodes per boundary sides
402 c maxsh         : total number integration points
403 c maxshb        : total number integration points of boundary elements
404 c nelblk        : number of element blocks
405 c nelblb        : number of boundary element blocks
406 c ndofl         : number of degrees of freedom (for current block)
407 c nsymdl        : number of d.o.f for symm. storage (for current block)
408 c nenl          : number of element nodes (for current block)
409 c nfacel        : number of element faces (for current block)
410 c nenbl         : number of boundary element nodes
411 c intind        : integration data index
412 c nintg         : number of integration points
413 c mattyp        : material type ( = 0 for fluid; = 1 for solid )
414 c
415 c----------------------------------------------------------------------
416 c
417 c.... common /genpar/   : control parameters
418 c
419 c E3nsd         : NSD .eq. 3 flag; 0. for 2D, 1. for 3D
420 c I3nsd         : NSD .eq. 3 flag; 0  for 2D, 1  for 3D
421 c nsymdf        : number of d.o.f.'s in symm. storage (= ndof*(ndof+1)/2)
422 c ndofBC        : dimension size of the boundary condition array BC
423 c ndiBCB        : dimension size of the boundary condition array iBCB
424 c ndBCB         : dimension size of the boundary condition array BCB
425 c Jactyp        : Jacobian type flag
426 c jump          : jump term computation flag
427 c ires          : residual type computation flag
428 c iprec         : block-diagonal preconditioner flag
429 c iprev         : ypl array allocation flag
430 c ibound        : boundary element flag
431 c idiff         : diffusive flux vector flag
432 c                 ( = 0 not used; = 1 global reconstruction )
433 c itau          : type of tau to be used
434 c iLHScond      : add contributiosn from the heat flux BC to the LHS
435 c                 tangency matrix.
436 c
437 c----------------------------------------------------------------------
438 c
439 c.... common /inpdat/   : time sequence input data
440 c
441 c epstol (MAXTS)  : tolerance for GMRES solvers
442 c Delt   (MAXTS)  : global time step
443 c CFLfl  (MAXTS)  : CFL number for fluid flow
444 c CFLsl  (MAXTS)  : CFL number for structural heating
445 c nstep  (MAXTS)  : number of time steps
446 c niter  (MAXTS)  : number of iterations per time step
447 c impl   (MAXTS)  : solver flag
448 c iturb  (MAXTS)  : turbulence model flag
449 c rhoinf (MAXTS)  : time integration spectral radius paramter
450 c                             (0=Gears       1= trapezoidal rule)
451 c LHSupd (MAXTS)  : LHS/preconditioner update
452 c loctim (MAXTS)  : local time stepping flag
453 c
454 c----------------------------------------------------------------------
455 c
456 c.... common /intdat/   : integration data
457 c
458 c intg  (2,MAXTS) : integration parameters
459 c intpt (3)       : integration pointers
460 c intptb(3)       : integration pointers of boundary elements
461 c
462 c----------------------------------------------------------------------
463 c
464 c.... common /shpdat/   : hierarchic shape function quadrature data
465 c
466 c Qpt  (3,MAXQPT)  : interior element quadrature points (xi,eta,zeta)
467 c Qwt  (MAXQPT)    : interior element quad. weights
468 c Qptb (2,MAXQPT)  : boundary element quad. pnts.
469 c Qwtb (MAXQPT)    : boundary element quad. weights
470 c nshape           : number of interior element shape functions
471 c nshapeb          :   "    "  boundary  "        "       "
472 c ngauss           : number of interior element integration points
473 c ngaussb          :   "    "  boundary  "        "           "
474 c----------------------------------------------------------------------
475 c
476 c.... common /intpar/   : integration parameters
477 c
478 c Qpt   (4,*)   : xi, eta, zeta, weight of quadrature points
479 c indQpt(3,3,4) : index to quadrature points for a given rule
480 c numQpt(3,3,4) : number of quadrature points for a given rule
481 c intmax        : number of allowable spatial integ. points per nsd
482 c
483 c----------------------------------------------------------------------
484 c
485 c.... common /io    /   : io channels
486 c
487 c iin           : input  (main parameters)          [INPUT.DAT]
488 c igeom         : input  (problem geometry)         [GEOM.DAT]
489 c ipar          : in/out (spectral mapping)         [PARTITION.DAT]
490 c ibndc         : input  (problem boundary cond.)   [BC.DAT]
491 c imat          : input  (element material types)   [MATERIAL.DAT]
492 c iecho         : output (echo of input)            [ECHO.DAT]
493 c iout          : output (result output)            [OUTPUT.lstep]
494 c ichmou        : output (chemistry output)         [OUTCHM.lstep]
495 c irstin        : input  (input restart)            [RESTAR.INP]
496 c irstou        : output (output restart)           [RESTAR.OUT]
497 c ihist         : output (history output)           [HISTOR.DAT]
498 c iflux         : output (boundary flux)            [FLUX.lstep]
499 c ierror        : output (error messages)           [ERROR.DAT]
500 c itable        : input  (equilibrium chemistry)    [TABLE.DAT]
501 c iforce        : output (aerodynamic forces)       [FORCES.DAT]
502 c
503 c----------------------------------------------------------------------
504 c
505 c.... common /ioname/   : io file names
506 c
507 c fin           : input.dat
508 c fgeom         : geom.dat
509 c fpar          : partition.dat
510 c fbndc         : bc.dat
511 c fmat          : material.dat
512 c fecho         : echo.dat
513 c frstin        : restar.inp
514 c frstou        : restar.out
515 c fhist         : histor.dat
516 c ferror        : error.dat
517 c ftable        : table.dat
518 c fforce        : forces.dat
519 c
520 c----------------------------------------------------------------------
521 c
522 c.... common /itrpar/   : Preconditioned GMRES parameters
523 c
524 c eGMRES        : finite difference interval
525 c lGMRES        : number of GMRES cycles
526 c iKs           : current Krylov vector
527 c ntotGM        : total number of GMRES iterations
528 c
529 c----------------------------------------------------------------------
530 c
531 c.... common /itrpnt/   : Preconditioned GMRES array pointers
532 c
533 c mHBrg         : pointer to Hessenberg matrix
534 c meBrg         : pointer to Hessenberg's RHS matrix
535 c myBrg         : pointer to minimize solution matrix
536 c mRcos         : pointer to Rotation Cosine of QR algorithm
537 c mRsin         : pointer to Rotation Sine   of QR algorithm
538 c
539 c----------------------------------------------------------------------
540 c
541 c.... common /matpar/   : material constants
542 c
543 c pr            : Prandtl number
544 c Planck        : Planck's constant
545 c Stefan        : Stefan's constant (for radiation)
546 c Nh            : Avogadro's number
547 c Rh            : universal gas constant
548 c Rgas          : specific gas constant
549 c gamma         : specific heat ratio
550 c gamma1        : gamma - 1
551 c s0            : reference specific entropy
552 c const         : special constant
553 c xN2           : mole fraction of diatomic nitrogen
554 c xO2           : mole fraction of diatomic oxygen
555 c yN2           : mole fraction of diatomic nitrogen
556 c yO2           : mole fraction of diatomic oxygen
557 c Msh  (5)      : molar mass of species
558 c cpsh (5)      : molar heat at constant pressure of species
559 c s0sh (5)      : molar reference entropy of species
560 c h0sh (5)      : molar heat of formation of species
561 c Rs   (5)      : specific gas constant of species
562 c cps  (5)      : specific heat at constant pressure of species
563 c cvs  (5)      : specific heat at constant volume of species
564 c h0s  (5)      : specific heat of formation of species
565 c Trot (5)      : characteristic rotational temperature of species
566 c sigs (5)      : symmetry factor of species
567 c Tvib (5)      : characteristic vibrational temperature of species
568 c g0s  (5)      : ground degeneracy of electronic energy
569 c dofs (5)      : degrees of freedom of species
570 c ithm          : thermodynamic property flag
571 c
572 c----------------------------------------------------------------------
573 c
574 c.... common /matdat/   : material data
575 c
576 c datmat (3,5,2) : material data
577 c matflg (5,100)   : material type flag
578 c nummat           : number of materials
579 c mexist           : flag indicating the presence of MATERIAL.DAT
580 c
581 c----------------------------------------------------------------------
582 c
583 c.... common /outpar/   : output parameters
584 c
585 c ro            : density     rescaling factor for output
586 c vel           : velocity    rescaling factor for output
587 c temper        : temperature rescaling factor for output
588 c press         : pressure    rescaling factor for output
589 c entrop        : entropy     rescaling factor for output
590 c ntout         : number of steps between consecutive printouts
591 c ioform        : output I/O format
592 c
593 c----------------------------------------------------------------------
594 c
595 c.... common /point /   : dynamic storage pointer management data
596 c
597 c mbeg          : pointer to the beginning of the free storage
598 c mend          : pointer to the end of the storage
599 c mprec         : precision of the floating point data
600 c
601 c----------------------------------------------------------------------
602 c
603 c.... common /precis/   : finite difference interval data
604 c
605 c epsM          : square root of machine precision
606 c iabres        : absolute value residual flag
607 c
608 c----------------------------------------------------------------------
609 c
610 c....common /propar/    : processor related information
611 c
612 c npro          : number of virtual processors for the current block
613 c
614 c----------------------------------------------------------------------
615 c
616 c....common /resdat/    : residual statistics data
617 c
618 c resfrt        : first residual of convergence
619 c
620 c----------------------------------------------------------------------
621 c
622 c.... common /solpar/   : solution parameters
623 c
624 c imap          : permutation mapping flag
625 c ivart         : variational formulation type
626 c iDC           : DC type
627 c iPcond        : type of preconditioner
628 c Kspace        : dimension of Krylov space
629 c nGMRES        : maximum number of GMRES iterations
630 c
631 c----------------------------------------------------------------------
632 c
633 c.... common /sympar/   : symmetric storage parameters
634 c
635 c indsym (5,5)  : mapping from 2D storage to symmetric one
636 c
637 c----------------------------------------------------------------------
638 c
639 c.... common /timdat/   : time data
640 c
641 c time          : current run time
642 c CFLfld        : CFL number for fluid flow
643 c CFLsld        : CFL number for structural heating
644 c Dtgl          : inverse of global time step
645 c Dtmax         : maximum delta-time
646 c alpha         : trapezoidal rule parameter
647 c etol          : epsilon tolerance for GMRES
648 c lstep         : current time step
649 c ifunc         : func. eval. counter (=niter*(lstep-lstep0) + iter)
650 c itseq         : sequence number
651 c istep         : step number (reseted at the beginning of the run)
652 c iter          : iteration number
653 c nitr          : number of multi-corrector iterations for this sequence
654 c
655 c----------------------------------------------------------------------
656 c
657 c.... common /timpar/   : time integration parameters
658 c
659 c LCtime        : local time stepping flag
660 c ntseq         : number of time sequences
661 c
662 c----------------------------------------------------------------------
663 c
664 c.... common /timer1/   : timer parameters
665 c.... common /timer2/   : timer parameters
666 c.... common /timer3/   : timer parameters
667 c
668 c ccode(13)     : timing entities codes
669 c flops         : flop counter
670 c gbytes        : byte counter for gather operation
671 c sbytes        : byte counter for scatter operation
672 c iclock        : wall-clock time (in milliseconds)
673 c icd           : number of timing entities
674 c icode         : current timer code
675 c icode2        : last timer code
676 c icode3        : next-to-last timer code
677 c cpu(11)       : cpu time of each entity
678 c cpu0(11)      : initial cpu time of each entity
679 c nacess(11)    : number of times each entity is accessed
680 c
681 c----------------------------------------------------------------------
682 c
683 c.... common /title /   : problem title
684 c
685 c title         : problem title
686 c ititle        : problem title (with form feed)
687 c
688 c----------------------------------------------------------------------
689 c
690 c.... common /avging / : nfath
691 c
692 c nfath         : total number of global fathers over which certain
693 c                 quantities will be averaged
694 c
695 c----------------------------------------------------------------------
696 c
697 c.... parameters        : machine data
698 c
699 c machin        : machine type
700 c                  (set parameter)
701 c machfl        : single precision floating point lenght in bytes
702 c                  (set parameter)
703 c
704 c----------------------------------------------------------------------
705 c
706 c.... parameters        : useful constants
707 c
708 c zero          : 0.0
709 c pt125         : 0.125
710 c pt25          : 0.25
711 c pt33          : 0.33 (1/3)
712 c pt39          : 2^(-4/3)
713 c pt5           : 0.5
714 c pt57          : 1/sqrt(3)
715 c pt66          : 0.66 (2/3)
716 c pt75          : 0.75
717 c one           : 1.0
718 c sqt2          : sqrt(2)
719 c onept5        : 1.5
720 c two           : 2.0
721 c three         : 3.0
722 c four          : 4.0
723 c five          : 5.0
724 c pi            : the magical number :-)
725 c
726 c----------------------------------------------------------------------
727 c
728 c Zdenek Johan, Winter 1991.
729 c
730 c----------------------------------------------------------------------
731