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