39 use constants_mod
, only: rdgas, cp_air
48 real,
allocatable ::
ri(:)
49 real,
allocatable ::
cpi(:)
50 real,
allocatable ::
vir(:)
51 real,
allocatable ::
vicp(:)
52 real,
allocatable ::
vicv(:)
80 integer,
intent(in):: ngas, nwat
85 logical :: default_gas=.false.
94 if (
num_gas.eq.1 ) default_gas=.true.
99 cv_air = cp_air - rdgas
101 cvi(n) =
cpi(n) -
ri(n)
106 vicv(0) = cvi(0)/cv_air
107 if( default_gas )
then 114 if(
ri(n).gt.0.0 )
vir(n) =
ri(n)/rdgas -
vir(0)
118 if( cvi(n).gt.0.0 )
vicv(n) = cvi(n)/cv_air -
vicv(0)
121 if( is_master() )
then 122 write(*,*)
' multi_gases_init with ind_gas=',
ind_gas 123 write(*,*)
' multi_gases_init with num_gas=',
num_gas 124 write(*,*)
' multi_gases_init with vir =',
vir 125 write(*,*)
' multi_gases_init with vicp=',
vicp 126 write(*,*)
' multi_gases_init with vicv=',
vicv 135 pure real function virq(q)
174 pure real function virq_max(q, qmin)
180 real,
intent(in) :: qmin
202 real,
intent(in) :: qpz
218 pure real function virqd(q)
238 pure real function vicpqd(q)
264 real,
intent(in) :: qpz
279 pure real function vicvqd(q)
305 real,
intent(in) :: qpz
real, dimension(:), allocatable, public vir
pure real function, public vicpqd(q)
The module 'fv_mp_mod' is a single program multiple data (SPMD) parallel decompostion/communication m...
The module 'multi_gases' peforms multi constitutents computations.
pure real function, public vicvqd_qpz(q, qpz)
pure real function, public virq_max(q, qmin)
pure real function, public virq_qpz(q, qpz)
real, dimension(:), allocatable ri
pure real function, public virqd(q)
pure real function, public virq_nodq(q)
pure real function, public virq(q)
subroutine, public multi_gases_init(ngas, nwat)
real, dimension(:), allocatable cpi
real, dimension(:), allocatable, public vicv
real, dimension(:), allocatable, public vicp
pure real function, public vicpqd_qpz(q, qpz)
pure real function, public vicvqd(q)