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