source: CIVL/mods/dev.civl.abc/examples/fortran/flash/eos_getData/Eos_data.F90

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 1.6 KB
Line 
1module Eos_data
2#include "Flash.h"
3#include "Eos.h"
4#include "Eos_map.h"
5
6 real, save :: eos_gasConstant
7 real, save :: eos_smalle
8 real, save :: eos_gamma
9 real, save :: eos_singleSpeciesA
10 real, save :: eos_singleSpeciesZ
11! real, save :: eos_gammam1
12 real, save :: eos_eintSwitch
13 integer, save :: eos_type, eos_meshMe, eos_meshNumProcs, eos_globalMe
14
15 ! maximum number of iterations for the Newton loop to find T from e
16 integer, save :: eos_maxNewton
17
18 ! how accurately to do the Newton iteration to get T from e
19 real, save :: eos_tol
20
21 ! force the iterative solver to leave inputs alone (always true in MODE_DENS_TEMP)
22 logical, save :: eos_forceConstantInput
23
24 real, save :: eos_smallt
25 real, save :: eos_largeT = 1.0e10 ! used by some modified implementations of Newton-Raphson
26 real, save :: eos_smallRho
27
28 integer, save :: eos_logLevel = 700
29
30 ! Some stuff that is only used by multiTemp implementations
31 integer, save :: eos_combinedTempRule = -1
32
33 integer, save :: eos_entrEleScaleChoice = -1
34
35 real, save :: eos_smallEion=0.0, eos_smallEele=0.0, eos_smallErad=0.0
36
37#ifdef FIXEDBLOCKSIZE
38 real,save,dimension(NSPECIES*MAXCELLS) :: eos_massFr
39 real,save,dimension(EOS_NUM*MAXCELLS) :: eos_inOut
40#else
41 real,save, allocatable :: eos_inOut(:),eos_massFr(:)
42#endif
43
44 real,parameter :: eos_pradScaleFactor = 1.0 !hardwired for now
45#ifdef FLLM_VAR
46 integer,parameter :: eos_pradScaleVar = FLLM_VAR
47#else
48 integer,parameter :: eos_pradScaleVar = -1
49#endif
50
51 integer, save, dimension(1:EOSMAP_NUM_ROLES, 1:2, 1:5) :: eos_mapLookup
52 logical, save :: eos_threadWithinBlock = .false.
53end module Eos_data
Note: See TracBrowser for help on using the repository browser.