cons2prim
Module
Description
None
- References:
None
- Owner:
Elisabeth Borchert
- Runtime parameters:
None
- Dependencies:
cons2primsolver, cullendehnen, dim, eos, io, nicil, options, part, radiation_utils, utils_gr
Quick access
- Routines:
cons2prim_everything()
,cons2primall()
,prim2consall()
,prim2consi()
Variables
Subroutines and functions
- subroutine cons2prim/prim2consall(npart, xyzh, metrics, vxyzu, dens, pxyzu[, use_dens])
- Parameters:
npart [integer,in]
xyzh (,) [real,in]
metrics (,,*,*) [real,in]
vxyzu (,) [real,in]
dens (*) [real,inout]
pxyzu (,) [real,out]
use_dens [logical,in,]
- Use :
part
(isdead_or_accreted()
,ien_type()
,eos_vars()
,igasp()
,igamma()
,itemp()
),eos
(gamma()
,ieos()
)- Call to:
- subroutine cons2prim/prim2consi(xyzhi, metrici, vxyzui, dens_i, pri, tempi, pxyzui[, use_dens, ien_type])
- Parameters:
xyzhi (4) [real,in]
metrici (,,*) [real,in]
vxyzui (4) [real,in]
dens_i [real,inout] :: Feed the newly computed dens back out of the routine
pri [real,inout]
tempi [real,inout]
pxyzui (4) [real,out]
use_dens [logical,in,]
ien_type [integer,in]
- Use :
cons2primsolver
(primitive2conservative()
),utils_gr
(h2dens()
),eos
(equationofstate()
,ieos()
)- Called from:
- Call to:
- subroutine cons2prim/cons2primall(npart, xyzh, metrics, pxyzu, vxyzu, dens, eos_vars)
- Parameters:
npart [integer,in]
xyzh (,) [real,in]
metrics (,,*,*) [real,in]
pxyzu (,) [real,in]
vxyzu (,) [real,inout]
dens (*) [real,inout]
eos_vars (,) [real,out]
- Use :
cons2primsolver
(conservative2primitive()
),part
(isdead_or_accreted()
,massoftype()
,igas()
,rhoh()
,igasp()
,ics()
,ien_type()
,itemp()
,igamma()
),io
(fatal()
),eos
(ieos()
,gamma()
,done_init_eos()
,init_eos()
,get_spsound()
)- Call to:
- subroutine cons2prim/cons2prim_everything(npart, xyzh, vxyzu, dvdx, rad, eos_vars, radprop, bevol, bxyz, dustevol, dustfrac, alphaind)
- Parameters:
npart [integer,in]
xyzh (,) [real,in]
vxyzu (,) [real,inout]
dvdx (,) [real,in]
rad (,) [real,in]
eos_vars (,) [real,out] :: needed for initial guess for idealplusrad
radprop (,) [real,out] :: arbitrary, but should give zero for u when u=cv*T
bevol (,) [real,in]
bxyz (,) [real,out]
dustevol (,) [real,in]
dustfrac (,) [real,out]
alphaind (,) [real,inout]
- Use :
part
(nucleation()
,gamma_chem()
),eos
(equationofstate()
,ieos()
,eos_outputs_mu()
,done_init_eos()
,init_eos()
,gmw()
,x_in()
,z_in()
,gamma()
),radiation_utils
(radiation_equation_of_state()
,get_opacity()
),dim
(mhd()
,maxvxyzu()
,maxphase()
,maxp()
,use_dustgrowth()
,do_radiation()
,nalpha()
,mhd_nonideal()
,do_nucleation()
,use_krome()
),nicil
(nicil_update_nimhd()
,nicil_translate_error()
,n_warn()
),io
(fatal()
,real4()
,warning()
),cullendehnen
(get_alphaloc()
,xi_limiter()
),options
(alpha()
,alphamax()
,use_dustfrac()
,iopacity_type()
,use_var_comp()
,implicit_radiation()
)