xref: /phasta/phSolver/common/common.h (revision 16223cb9c3f88b34f2cb94151b5cf5ffc1aac5e2)
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 c
169         common /intdat/ intg(2,MAXTS),  intpt(3),       intptb(3)
170 c
171         common /mintpar/ indQpt(3,3,4),  numQpt(3,3,4),
172      &                  intmax
173 c
174         common /mio    / iin,    igeom,  ipar,   ibndc,  imat,   iecho,
175      &                  iout,   ichmou, irstin, irstou, ihist,  iflux,
176      &                  ierror, itable, iforce, igraph, itime
177 c
178 c /*         common /andres/ fwr1,ngaussf,idim,nlist */
179 
180         character*80    fin,    fgeom,  fpar,   fbndc,  fmat,   fecho,
181      &                  frstin, frstou, fhist,  ferror, ftable, fforce,
182      &                  fgraph, ftime,  iotype
183         common /mioname/ fin,    fgeom,  fpar,   fbndc,  fmat,   fecho,
184      &                  frstin, frstou, fhist,  ferror, ftable, fforce,
185      &                  fgraph, ftime
186 c
187         common /itrpar/ eGMRES, lGMRES, iKs,    ntotGM
188 c
189         common /itrpnt/ mHBrg,  meBrg,  myBrg,  mRcos,  mRsin
190 c
191         REAL*8          Nh, Msh
192         common /mmatpar/ pr,     Planck, Stefan, Nh,     Rh,     Rgas,
193      &                  gamma,  gamma1, s0,     const,  xN2,    xO2,
194      &                  yN2,    yO2,    Msh(5), cpsh(5),s0sh(5),h0sh(5),
195      &                  Rs(5),  cps(5), cvs(5), h0s(5), Trot(5),sigs(5),
196      &                  Tvib(5),g0s(5), dofs(5),ithm
197 c
198         logical         mexist
199         common /matdat/ datmat(3,7,MAXTS),      matflg(6,MAXTS),
200      &                  nummat,                 mexist
201 c
202 cMR CHANGE
203 c         common /outpar/ ro,     vel,    temper, press,  entrop, ntout,
204 c      &                  ioform, iowflux, iofieldv, iotype, ioybar,
205 c      &                  nstepsincycle, nphasesincycle, ncycles_startphaseavg
206         common /outpar/ ro,     vel,    temper, press,  entrop, ntout,
207      &                  ioform, iowflux, iofieldv, iotype, ioybar,
208      &                  nstepsincycle, nphasesincycle,
209      &                  ncycles_startphaseavg, ivort, icomputevort,
210      &                  nsynciofiles, nsynciofieldswriterestart,
211      &                  iv_rankpercore, iv_corepernode
212 cMR CHANGE END
213 
214 c
215         common /point / mbeg,   mend,   mprec
216 c
217         common /precis/ epsM,   iabres
218 c
219         common /propar/ npro
220 c
221         common /resdat/ resfrt
222 c
223         common /solpar/ imap,   ivart,  iDC,    iPcond, Kspace, nGMRES,
224      &                  iconvflow, iconvsclr, idcsclr(2)
225 c
226         common /msympar/ indsym(5,5)
227 c
228         common /timdat/ time,   CFLfld, CFLsld, Dtgl,   Dtmax,  alpha,
229      &                  etol,   lstep,  ifunc,  itseq,  istep,  iter,
230      &                  nitr,   almi,   alfi,   gami,   flmpl,  flmpr,
231      &                  dtol(2), iCFLworst, lskeep
232 c
233         common /timpar/ LCtime, ntseq
234 c
235         common /incomp/ numeqns(100), minIters, maxIters,
236      &                  iprjFlag,     nPrjs,    ipresPrjFlag, nPresPrjs,
237      &                  prestol,      statsflow(6), statssclr(6),
238      &                  iverbose
239 c
240         character*8     ccode
241         common /mtimer1/ ccode(13)
242 c
243         integer       flops,  gbytes, sbytes
244         common /mtimer2/ flops,  gbytes, sbytes, iclock, icd,    icode,
245      &                  icode2, icode3
246 c
247         common /timer3/ cpu(11),        cpu0(11),       nacess(11)
248 c
249         character*80    title,  ititle
250         common /title / title,  ititle
251 c
252         character*8     machin
253         parameter     ( machin = 'RS/6000 ' )
254         parameter     ( machfl = 4 )
255 
256         parameter
257      &           ( zero   = 0.0000000000000000000000000000000d0,
258      &             pt125  = 0.1250000000000000000000000000000d0,
259      &             pt25   = 0.2500000000000000000000000000000d0,
260      &             pt33   = 0.3333333333333333333333333333333d0,
261      &             pt39   = 0.3968502629920498686879264098181d0,
262      &             pt5    = 0.5000000000000000000000000000000d0,
263      &             pt57   = 0.5773502691896257645091487805020d0,
264      &             pt66   = 0.6666666666666666666666666666667d0,
265      &             pt75   = 0.7500000000000000000000000000000d0,
266      &             one    = 1.0000000000000000000000000000000d0,
267      &             sqt2   = 1.4142135623730950488016887242097d0,
268      &             onept5 = 1.5000000000000000000000000000000d0,
269      &             two    = 2.0000000000000000000000000000000d0,
270      &             three  = 3.0000000000000000000000000000000d0,
271      &             four   = 4.0000000000000000000000000000000d0,
272      &             five   = 5.0000000000000000000000000000000d0,
273      &             pi     = 3.1415926535897932384626433832795d0,
274      &             inv1024sq = 9.5367431640625e-7)
275 
276 c
277 c----------------------------------------------------------------------
278 c
279 c.... element pointers
280 c
281 c mmat   (MAXBLK)  : pointer to interior element material number
282 c mmatb  (MAXBLK)  : pointer to boundary element material number
283 c mien   (MAXBLK)  : pointer to ien array
284 c mienb  (MAXBLK)  : pointer to ienb array
285 c miBCB  (MAXBLK)  : pointer to iBCB array
286 c mDt    (MAXBLK)  : pointer to Dt array
287 c mDC    (MAXBLK)  : pointer to DC array
288 c mBCB   (MAXBLK)  : pointer to BCB array
289 c mstiff (MAXBLK)  : pointer to stiff array
290 c
291 c----------------------------------------------------------------------
292 c
293 c.... common /aerfrc/   : aerodynamic forces
294 c
295 c Force(3)      : components of the aerodynamic forces
296 c HFlux         : total heat flux
297 c
298 c----------------------------------------------------------------------
299 c
300 c.... common /astore/   : the dynamic memory allocation area
301 c
302 c a(...)        : the blank array used for front-end data storage
303 c
304 c----------------------------------------------------------------------
305 c
306 c.... common /blkdat/   : blocking data
307 c
308 c lcblk  (10,MAXBLK+1) : blocking data for the interior elements
309 c lcblkb (10,MAXBLK+1) : blocking data for the boundary elements
310 c
311 c----------------------------------------------------------------------
312 c
313 c.... common /bndnod/   : boundary nodes of boundary elements
314 c
315 c mnodeb (9,8,3) : boundary nodes of each element category and dimension
316 c
317 c----------------------------------------------------------------------
318 c
319 c.... common /conpar/   : input constants
320 c
321 c numnp         : number of nodal points
322 c numel         : number of elements
323 c numelb        : number of boundary elements
324 c numpbc        : number of nodes having a boundary condition
325 c nen           : maximum number of element nodes
326 c nfaces        : maximum number of element faces
327 c nsd           : number of space dimensions
328 c numflx        : number of flux boundary nodes
329 c ndof          : number of degrees of freedom per node
330 c iALE          : ALE formulation flag
331 c icoord        : coordinate system flag
332 c navier        : Navier-Stokes calculation flag
333 c irs           : restart option
334 c iexec         : execute flag
335 c necho         : input echo parameter
336 c ichem         : equilibrium chemistry flag (for outchem.step dump)
337 c iRK           : Runge-Kutta flag
338 c nshg          : global number of shape functions (degrees of freedom,
339 c                 or equations). Computed from the specified p-order,
340 c                 the number of edges, and the number of faces (in the
341 c                 entire mesh)
342 c
343 c----------------------------------------------------------------------
344 c
345 c.... common /datpnt/   : front-end data pointers
346 c
347 c mshp          : pointer to shape-functions
348 c mshgl         : pointer to local-grad-shape-functions
349 c mwght         : pointer to quadrature weights
350 c mshpb         : pointer to shape-functions of boundary elements
351 c mshglb        : pointer to local-grad-shape-functions of bound. elem.
352 c mwghtb        : pointer to quadrature weights of bound. elements
353 c mmut          : pointer to table mu  = mu  (p,T)
354 c mrhot         : pointer to table rho = rho (p,T)
355 c mxst          : pointer to table xs  = xs  (p,T)
356 c
357 c----------------------------------------------------------------------
358 c
359 c.... common /elmcat/   : element category information
360 c
361 c mcsyst        : maximum number of element coordinate system
362 c melCat        : maximum number of element categories
363 c nenCat (8,3)  : number of nodes for each category and dimension
364 c nfaCat (8,3)  : number of faces for each category and dimension
365 c
366 c----------------------------------------------------------------------
367 c
368 c.... common /elmpar/   : element parameters
369 c
370 c lelCat        : element category (P1, Q1, P2, Q2, etc.)
371 c lcsyst        : element coordinate system
372 c iorder        : element order (=k for Pk and Qk)
373 c nenb          : number of element nodes per boundary sides
374 c maxsh         : total number integration points
375 c maxshb        : total number integration points of boundary elements
376 c nelblk        : number of element blocks
377 c nelblb        : number of boundary element blocks
378 c ndofl         : number of degrees of freedom (for current block)
379 c nsymdl        : number of d.o.f for symm. storage (for current block)
380 c nenl          : number of element nodes (for current block)
381 c nfacel        : number of element faces (for current block)
382 c nenbl         : number of boundary element nodes
383 c intind        : integration data index
384 c nintg         : number of integration points
385 c mattyp        : material type ( = 0 for fluid; = 1 for solid )
386 c
387 c----------------------------------------------------------------------
388 c
389 c.... common /genpar/   : control parameters
390 c
391 c E3nsd         : NSD .eq. 3 flag; 0. for 2D, 1. for 3D
392 c I3nsd         : NSD .eq. 3 flag; 0  for 2D, 1  for 3D
393 c nsymdf        : number of d.o.f.'s in symm. storage (= ndof*(ndof+1)/2)
394 c ndofBC        : dimension size of the boundary condition array BC
395 c ndiBCB        : dimension size of the boundary condition array iBCB
396 c ndBCB         : dimension size of the boundary condition array BCB
397 c Jactyp        : Jacobian type flag
398 c jump          : jump term computation flag
399 c ires          : residual type computation flag
400 c iprec         : block-diagonal preconditioner flag
401 c iprev         : ypl array allocation flag
402 c ibound        : boundary element flag
403 c idiff         : diffusive flux vector flag
404 c                 ( = 0 not used; = 1 global reconstruction )
405 c itau          : type of tau to be used
406 c
407 c----------------------------------------------------------------------
408 c
409 c.... common /inpdat/   : time sequence input data
410 c
411 c epstol (MAXTS)  : tolerance for GMRES solvers
412 c Delt   (MAXTS)  : global time step
413 c CFLfl  (MAXTS)  : CFL number for fluid flow
414 c CFLsl  (MAXTS)  : CFL number for structural heating
415 c nstep  (MAXTS)  : number of time steps
416 c niter  (MAXTS)  : number of iterations per time step
417 c impl   (MAXTS)  : solver flag
418 c iturb  (MAXTS)  : turbulence model flag
419 c rhoinf (MAXTS)  : time integration spectral radius paramter
420 c                             (0=Gears       1= trapezoidal rule)
421 c LHSupd (MAXTS)  : LHS/preconditioner update
422 c loctim (MAXTS)  : local time stepping flag
423 c
424 c----------------------------------------------------------------------
425 c
426 c.... common /intdat/   : integration data
427 c
428 c intg  (2,MAXTS) : integration parameters
429 c intpt (3)       : integration pointers
430 c intptb(3)       : integration pointers of boundary elements
431 c
432 c----------------------------------------------------------------------
433 c
434 c.... common /shpdat/   : hierarchic shape function quadrature data
435 c
436 c Qpt  (3,MAXQPT)  : interior element quadrature points (xi,eta,zeta)
437 c Qwt  (MAXQPT)    : interior element quad. weights
438 c Qptb (2,MAXQPT)  : boundary element quad. pnts.
439 c Qwtb (MAXQPT)    : boundary element quad. weights
440 c nshape           : number of interior element shape functions
441 c nshapeb          :   "    "  boundary  "        "       "
442 c ngauss           : number of interior element integration points
443 c ngaussb          :   "    "  boundary  "        "           "
444 c----------------------------------------------------------------------
445 c
446 c.... common /intpar/   : integration parameters
447 c
448 c Qpt   (4,*)   : xi, eta, zeta, weight of quadrature points
449 c indQpt(3,3,4) : index to quadrature points for a given rule
450 c numQpt(3,3,4) : number of quadrature points for a given rule
451 c intmax        : number of allowable spatial integ. points per nsd
452 c
453 c----------------------------------------------------------------------
454 c
455 c.... common /io    /   : io channels
456 c
457 c iin           : input  (main parameters)          [INPUT.DAT]
458 c igeom         : input  (problem geometry)         [GEOM.DAT]
459 c ipar          : in/out (spectral mapping)         [PARTITION.DAT]
460 c ibndc         : input  (problem boundary cond.)   [BC.DAT]
461 c imat          : input  (element material types)   [MATERIAL.DAT]
462 c iecho         : output (echo of input)            [ECHO.DAT]
463 c iout          : output (result output)            [OUTPUT.lstep]
464 c ichmou        : output (chemistry output)         [OUTCHM.lstep]
465 c irstin        : input  (input restart)            [RESTAR.INP]
466 c irstou        : output (output restart)           [RESTAR.OUT]
467 c ihist         : output (history output)           [HISTOR.DAT]
468 c iflux         : output (boundary flux)            [FLUX.lstep]
469 c ierror        : output (error messages)           [ERROR.DAT]
470 c itable        : input  (equilibrium chemistry)    [TABLE.DAT]
471 c iforce        : output (aerodynamic forces)       [FORCES.DAT]
472 c
473 c----------------------------------------------------------------------
474 c
475 c.... common /ioname/   : io file names
476 c
477 c fin           : input.dat
478 c fgeom         : geom.dat
479 c fpar          : partition.dat
480 c fbndc         : bc.dat
481 c fmat          : material.dat
482 c fecho         : echo.dat
483 c frstin        : restar.inp
484 c frstou        : restar.out
485 c fhist         : histor.dat
486 c ferror        : error.dat
487 c ftable        : table.dat
488 c fforce        : forces.dat
489 c
490 c----------------------------------------------------------------------
491 c
492 c.... common /itrpar/   : Preconditioned GMRES parameters
493 c
494 c eGMRES        : finite difference interval
495 c lGMRES        : number of GMRES cycles
496 c iKs           : current Krylov vector
497 c ntotGM        : total number of GMRES iterations
498 c
499 c----------------------------------------------------------------------
500 c
501 c.... common /itrpnt/   : Preconditioned GMRES array pointers
502 c
503 c mHBrg         : pointer to Hessenberg matrix
504 c meBrg         : pointer to Hessenberg's RHS matrix
505 c myBrg         : pointer to minimize solution matrix
506 c mRcos         : pointer to Rotation Cosine of QR algorithm
507 c mRsin         : pointer to Rotation Sine   of QR algorithm
508 c
509 c----------------------------------------------------------------------
510 c
511 c.... common /matpar/   : material constants
512 c
513 c pr            : Prandtl number
514 c Planck        : Planck's constant
515 c Stefan        : Stefan's constant (for radiation)
516 c Nh            : Avogadro's number
517 c Rh            : universal gas constant
518 c Rgas          : specific gas constant
519 c gamma         : specific heat ratio
520 c gamma1        : gamma - 1
521 c s0            : reference specific entropy
522 c const         : special constant
523 c xN2           : mole fraction of diatomic nitrogen
524 c xO2           : mole fraction of diatomic oxygen
525 c yN2           : mole fraction of diatomic nitrogen
526 c yO2           : mole fraction of diatomic oxygen
527 c Msh  (5)      : molar mass of species
528 c cpsh (5)      : molar heat at constant pressure of species
529 c s0sh (5)      : molar reference entropy of species
530 c h0sh (5)      : molar heat of formation of species
531 c Rs   (5)      : specific gas constant of species
532 c cps  (5)      : specific heat at constant pressure of species
533 c cvs  (5)      : specific heat at constant volume of species
534 c h0s  (5)      : specific heat of formation of species
535 c Trot (5)      : characteristic rotational temperature of species
536 c sigs (5)      : symmetry factor of species
537 c Tvib (5)      : characteristic vibrational temperature of species
538 c g0s  (5)      : ground degeneracy of electronic energy
539 c dofs (5)      : degrees of freedom of species
540 c ithm          : thermodynamic property flag
541 c
542 c----------------------------------------------------------------------
543 c
544 c.... common /matdat/   : material data
545 c
546 c datmat (3,5,2) : material data
547 c matflg (5,100)   : material type flag
548 c nummat           : number of materials
549 c mexist           : flag indicating the presence of MATERIAL.DAT
550 c
551 c----------------------------------------------------------------------
552 c
553 c.... common /outpar/   : output parameters
554 c
555 c ro            : density     rescaling factor for output
556 c vel           : velocity    rescaling factor for output
557 c temper        : temperature rescaling factor for output
558 c press         : pressure    rescaling factor for output
559 c entrop        : entropy     rescaling factor for output
560 c ntout         : number of steps between consecutive printouts
561 c ioform        : output I/O format
562 c
563 c----------------------------------------------------------------------
564 c
565 c.... common /point /   : dynamic storage pointer management data
566 c
567 c mbeg          : pointer to the beginning of the free storage
568 c mend          : pointer to the end of the storage
569 c mprec         : precision of the floating point data
570 c
571 c----------------------------------------------------------------------
572 c
573 c.... common /precis/   : finite difference interval data
574 c
575 c epsM          : square root of machine precision
576 c iabres        : absolute value residual flag
577 c
578 c----------------------------------------------------------------------
579 c
580 c....common /propar/    : processor related information
581 c
582 c npro          : number of virtual processors for the current block
583 c
584 c----------------------------------------------------------------------
585 c
586 c....common /resdat/    : residual statistics data
587 c
588 c resfrt        : first residual of convergence
589 c
590 c----------------------------------------------------------------------
591 c
592 c.... common /solpar/   : solution parameters
593 c
594 c imap          : permutation mapping flag
595 c ivart         : variational formulation type
596 c iDC           : DC type
597 c iPcond        : type of preconditioner
598 c Kspace        : dimension of Krylov space
599 c nGMRES        : maximum number of GMRES iterations
600 c
601 c----------------------------------------------------------------------
602 c
603 c.... common /sympar/   : symmetric storage parameters
604 c
605 c indsym (5,5)  : mapping from 2D storage to symmetric one
606 c
607 c----------------------------------------------------------------------
608 c
609 c.... common /timdat/   : time data
610 c
611 c time          : current run time
612 c CFLfld        : CFL number for fluid flow
613 c CFLsld        : CFL number for structural heating
614 c Dtgl          : inverse of global time step
615 c Dtmax         : maximum delta-time
616 c alpha         : trapezoidal rule parameter
617 c etol          : epsilon tolerance for GMRES
618 c lstep         : current time step
619 c ifunc         : func. eval. counter (=niter*(lstep-lstep0) + iter)
620 c itseq         : sequence number
621 c istep         : step number (reseted at the beginning of the run)
622 c iter          : iteration number
623 c nitr          : number of multi-corrector iterations for this sequence
624 c
625 c----------------------------------------------------------------------
626 c
627 c.... common /timpar/   : time integration parameters
628 c
629 c LCtime        : local time stepping flag
630 c ntseq         : number of time sequences
631 c
632 c----------------------------------------------------------------------
633 c
634 c.... common /timer1/   : timer parameters
635 c.... common /timer2/   : timer parameters
636 c.... common /timer3/   : timer parameters
637 c
638 c ccode(13)     : timing entities codes
639 c flops         : flop counter
640 c gbytes        : byte counter for gather operation
641 c sbytes        : byte counter for scatter operation
642 c iclock        : wall-clock time (in milliseconds)
643 c icd           : number of timing entities
644 c icode         : current timer code
645 c icode2        : last timer code
646 c icode3        : next-to-last timer code
647 c cpu(11)       : cpu time of each entity
648 c cpu0(11)      : initial cpu time of each entity
649 c nacess(11)    : number of times each entity is accessed
650 c
651 c----------------------------------------------------------------------
652 c
653 c.... common /title /   : problem title
654 c
655 c title         : problem title
656 c ititle        : problem title (with form feed)
657 c
658 c----------------------------------------------------------------------
659 c
660 c.... common /avging / : nfath
661 c
662 c nfath         : total number of global fathers over which certain
663 c                 quantities will be averaged
664 c
665 c----------------------------------------------------------------------
666 c
667 c.... parameters        : machine data
668 c
669 c machin        : machine type
670 c                  (set parameter)
671 c machfl        : single precision floating point lenght in bytes
672 c                  (set parameter)
673 c
674 c----------------------------------------------------------------------
675 c
676 c.... parameters        : useful constants
677 c
678 c zero          : 0.0
679 c pt125         : 0.125
680 c pt25          : 0.25
681 c pt33          : 0.33 (1/3)
682 c pt39          : 2^(-4/3)
683 c pt5           : 0.5
684 c pt57          : 1/sqrt(3)
685 c pt66          : 0.66 (2/3)
686 c pt75          : 0.75
687 c one           : 1.0
688 c sqt2          : sqrt(2)
689 c onept5        : 1.5
690 c two           : 2.0
691 c three         : 3.0
692 c four          : 4.0
693 c five          : 5.0
694 c pi            : the magical number :-)
695 c
696 c----------------------------------------------------------------------
697 c
698 c Zdenek Johan, Winter 1991.
699 c
700 c----------------------------------------------------------------------
701