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