MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines | Variables
mod_srhd_phys Module Reference

Special Relativistic Hydrodynamics (with EOS) physics module. More...

Functions/Subroutines

subroutine srhd_write_info (fh)
 Write this module's parameters to a snapshot. More...
 
subroutine, public srhd_phys_init ()
 Initialize the module. More...
 
subroutine, public srhd_check_params
 
subroutine srhd_physical_units
 
subroutine, public srhd_check_w (primitive, ixIL, ixOL, w, flag)
 Returns logical argument flag T where values are not ok. More...
 
subroutine srhd_check_w_aux (ixIL, ixOL, w, flag)
 Returns logical argument flag T where auxiliary values are not ok. More...
 
subroutine, public srhd_get_auxiliary_prim (ixIL, ixOL, w)
 Set auxiliary variables lfac and xi from a primitive state only used when handle_small_values average on primitives. More...
 
subroutine, public srhd_get_auxiliary (ixIL, ixOL, w, x)
 Compute auxiliary variables lfac and xi from a conservative state using srhd_con2prim to calculate enthalpy and lorentz factor. More...
 
subroutine, public srhd_to_conserved (ixIL, ixOL, w, x)
 Transform primitive variables into conservative ones. More...
 
subroutine, public srhd_to_primitive (ixIL, ixOL, w, x)
 Transform conservative variables into primitive ones. More...
 
subroutine srhd_get_v (w, x, ixIL, ixOL, v)
 Calculate v vector from conservatives. More...
 
subroutine srhd_get_csound2_rhoh (w, x, ixIL, ixOL, rhoh, csound2)
 Calculate the square of the thermal sound speed csound2 within ixO^L. here computed from conservative set WITH ADDED rho*h local version: does not do con2prim. More...
 
subroutine, public srhd_get_csound2 (w, x, ixIL, ixOL, csound2)
 Calculate the square of the thermal sound speed csound2 within ixO^L. here computed from conservative set and uses con2prim!!! public version! More...
 
subroutine, public srhd_get_pthermal (w, x, ixIL, ixOL, pth)
 Calculate thermal pressure p within ixO^L must follow after update conservative with auxiliaries. More...
 
subroutine srhd_add_source (qdt, dtfactor, ixIL, ixOL, wCT, wCTprim, w, x, qsourcesplit, active)
 dummy addsource subroutine More...
 
subroutine srhd_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 dummy get_dt subroutine More...
 
subroutine srhd_get_cmax (w, x, ixIL, ixOL, idim, cmax)
 Calculate cmax_idim within ixO^L used especially for setdt CFL limit. More...
 
subroutine srhd_get_a2max (w, x, ixIL, ixOL, a2max)
 
subroutine srhd_get_cmax_loc (ixIL, ixOL, vidim, csound2, v2, cmax, cmin)
 local version for recycling code when computing cmax-cmin More...
 
subroutine srhd_get_cbounds (wLC, wRC, wLp, wRp, x, ixIL, ixOL, idim, Hspeed, cmax, cmin)
 Estimating bounds for the minimum and maximum signal velocities here we will not use Hspeed at all (one species only) More...
 
subroutine srhd_get_flux (wC, wP, x, ixIL, ixOL, idim, f)
 Calculate fluxes within ixO^L. More...
 
subroutine srhd_add_source_geom (qdt, dtfactor, ixIL, ixOL, wCT, wprim, w, x)
 Add geometrical source terms to w. More...
 
subroutine srhd_handle_small_values (primitive, w, x, ixIL, ixOL, subname)
 handles bootstrapping More...
 
subroutine, public srhd_get_geff_eos (w, ixIL, ixOL, varconserve, Geff)
 calculate effective gamma More...
 
subroutine srhd_get_smallvalues_eos
 Compute the small value limits. More...
 
subroutine, public srhd_get_enthalpy_eos (ixOL, rho, p, rhoh)
 Compute the enthalpy rho*h from rho and pressure p. More...
 
subroutine srhd_get_pressure_eos (ixIL, ixOL, rho, rhoh, p, E)
 Calculate thermal pressure p from density rho and enthalpy rho*h will provide p (and E if srhd_eos) More...
 
subroutine srhd_get_csound2_eos (ixIL, ixOL, rho, rhoh, csound2)
 Calculate the square of the thermal sound speed csound2 within ixO^L. available rho - rho*h. More...
 
subroutine srhd_get_csound2_prim_eos (ixOL, rho, rhoh, p, csound2)
 Calculate the square of the thermal sound speed csound2 within ixO^L. available rho - rho*h - p. More...
 
subroutine con2prim_eos (lfac, xi, myd, myssqr, mytau, ierror)
 con2prim: (D,S**2,tau) --> compute auxiliaries lfac and xi More...
 
subroutine funcd_eos (xi, f, df, mylfac, d, ssqr, tau, ierror)
 
subroutine funcd (xi, f, df, mylfac, d, ssqr, tau, ierror)
 

Variables

logical, public, protected srhd_particles = .false.
 Whether particles module is added. More...
 
integer, public, protected srhd_n_tracer = 0
 Number of tracer species. More...
 
integer, public, protected rho_
 Index of the density (in the w array) More...
 
integer, public, protected d_
 
integer, dimension(:), allocatable, public, protected mom
 Indices of the momentum density. More...
 
integer, dimension(:), allocatable, public, protected tracer
 Indices of the tracers. More...
 
integer, public, protected e_
 Index of the energy density. More...
 
integer, public, protected p_
 Index of the gas pressure should equal e_. More...
 
integer, public, protected lfac_
 Index of the Lorentz factor. More...
 
integer, public, protected xi_
 Index of the inertia. More...
 
logical, public srhd_eos = .false.
 Whether synge eos is used. More...
 
double precision, public srhd_gamma = 5.d0/3.0d0
 The adiabatic index and derived values. More...
 
double precision, public gamma_1
 
double precision, public inv_gamma_1
 
double precision, public gamma_to_gamma_1
 
double precision, public small_e
 The smallest allowed energy. More...
 
double precision, public small_xi
 The smallest allowed inertia. More...
 
logical, public, protected srhd_force_diagonal = .false.
 Allows overruling default corner filling (for debug mode, otherwise corner primitives fail) More...
 
double precision, public, protected he_abundance =0.0d0
 Helium abundance over Hydrogen. More...
 
integer, public maxitnr = 100
 parameters for NR in con2prim More...
 
double precision, public absaccnr = 1.0d-8
 
double precision, public tolernr = 1.0d-9
 
double precision, public dmaxvel = 1.0d-7
 
double precision, public lfacmax
 
double precision, public minp
 
double precision, public minrho
 
double precision, public smalltau
 
double precision, public smallxi
 

Detailed Description

Special Relativistic Hydrodynamics (with EOS) physics module.

Function/Subroutine Documentation

◆ con2prim_eos()

subroutine mod_srhd_phys::con2prim_eos ( double precision, intent(inout)  lfac,
double precision, intent(inout)  xi,
double precision, intent(in)  myd,
double precision, intent(in)  myssqr,
double precision, intent(in)  mytau,
integer, intent(inout)  ierror 
)

con2prim: (D,S**2,tau) --> compute auxiliaries lfac and xi

Definition at line 1216 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ funcd()

subroutine mod_srhd_phys::funcd ( double precision, intent(in)  xi,
double precision, intent(out)  f,
double precision, intent(out)  df,
double precision, intent(out)  mylfac,
double precision, intent(in)  d,
double precision, intent(in)  ssqr,
double precision, intent(in)  tau,
integer, intent(inout)  ierror 
)

Definition at line 1612 of file mod_srhd_phys.t.

◆ funcd_eos()

subroutine mod_srhd_phys::funcd_eos ( double precision, intent(in)  xi,
double precision, intent(out)  f,
double precision, intent(out)  df,
double precision, intent(out)  mylfac,
double precision, intent(in)  d,
double precision, intent(in)  ssqr,
double precision, intent(in)  tau,
integer, intent(inout)  ierror 
)

Definition at line 1256 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_add_source()

subroutine mod_srhd_phys::srhd_add_source ( double precision, intent(in)  qdt,
double precision, intent(in)  dtfactor,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, 1:nw), intent(in)  wCT,
double precision, dimension(ixi^s,1:nw), intent(in)  wCTprim,
double precision, dimension(ixi^s, 1:nw), intent(inout)  w,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x,
logical, intent(in)  qsourcesplit,
logical, intent(inout)  active 
)

dummy addsource subroutine

Definition at line 575 of file mod_srhd_phys.t.

◆ srhd_add_source_geom()

subroutine mod_srhd_phys::srhd_add_source_geom ( double precision, intent(in)  qdt,
double precision, intent(in)  dtfactor,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, 1:nw), intent(inout)  wCT,
double precision, dimension(ixi^s, 1:nw), intent(inout)  wprim,
double precision, dimension(ixi^s, 1:nw), intent(inout)  w,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x 
)

Add geometrical source terms to w.

Definition at line 829 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_check_params()

subroutine, public mod_srhd_phys::srhd_check_params

Definition at line 222 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_check_w()

subroutine, public mod_srhd_phys::srhd_check_w ( logical, intent(in)  primitive,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, nw), intent(in)  w,
logical, dimension(ixi^s,1:nw), intent(inout)  flag 
)

Returns logical argument flag T where values are not ok.

Definition at line 276 of file mod_srhd_phys.t.

◆ srhd_check_w_aux()

subroutine mod_srhd_phys::srhd_check_w_aux ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, nw), intent(in)  w,
logical, dimension(ixi^s,1:nw), intent(inout)  flag 
)

Returns logical argument flag T where auxiliary values are not ok.

Definition at line 297 of file mod_srhd_phys.t.

◆ srhd_get_a2max()

subroutine mod_srhd_phys::srhd_get_a2max ( double precision, dimension(ixi^s, nw), intent(in)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ndim), intent(inout)  a2max 
)

4th order

Definition at line 642 of file mod_srhd_phys.t.

◆ srhd_get_auxiliary()

subroutine, public mod_srhd_phys::srhd_get_auxiliary ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, nw), intent(inout)  w,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x 
)

Compute auxiliary variables lfac and xi from a conservative state using srhd_con2prim to calculate enthalpy and lorentz factor.

Definition at line 343 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_auxiliary_prim()

subroutine, public mod_srhd_phys::srhd_get_auxiliary_prim ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, nw), intent(inout)  w 
)

Set auxiliary variables lfac and xi from a primitive state only used when handle_small_values average on primitives.

Definition at line 321 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_cbounds()

subroutine mod_srhd_phys::srhd_get_cbounds ( double precision, dimension(ixi^s, nw), intent(in)  wLC,
double precision, dimension(ixi^s, nw), intent(in)  wRC,
double precision, dimension(ixi^s, nw), intent(in)  wLp,
double precision, dimension(ixi^s, nw), intent(in)  wRp,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idim,
double precision, dimension(ixi^s,1:number_species), intent(in)  Hspeed,
double precision, dimension(ixi^s,1:number_species), intent(inout)  cmax,
double precision, dimension(ixi^s,1:number_species), intent(inout), optional  cmin 
)

Estimating bounds for the minimum and maximum signal velocities here we will not use Hspeed at all (one species only)

Definition at line 695 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_cmax()

subroutine mod_srhd_phys::srhd_get_cmax ( double precision, dimension(ixi^s, nw), intent(in)  w,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idim,
double precision, dimension(ixi^s), intent(inout)  cmax 
)

Calculate cmax_idim within ixO^L used especially for setdt CFL limit.

Definition at line 602 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_cmax_loc()

subroutine mod_srhd_phys::srhd_get_cmax_loc ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s), intent(in)  vidim,
double precision, dimension(ixo^s), intent(in)  csound2,
double precision, dimension(ixi^s), intent(in)  v2,
double precision, dimension(ixi^s), intent(out)  cmax,
double precision, dimension(ixi^s), intent(out)  cmin 
)

local version for recycling code when computing cmax-cmin

Definition at line 666 of file mod_srhd_phys.t.

◆ srhd_get_csound2()

subroutine, public mod_srhd_phys::srhd_get_csound2 ( double precision, dimension(ixi^s,nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixo^s), intent(out)  csound2 
)

Calculate the square of the thermal sound speed csound2 within ixO^L. here computed from conservative set and uses con2prim!!! public version!

Definition at line 534 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_csound2_eos()

subroutine mod_srhd_phys::srhd_get_csound2_eos ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixo^s), intent(in)  rho,
double precision, dimension(ixo^s), intent(in)  rhoh,
double precision, dimension(ixo^s), intent(out)  csound2 
)

Calculate the square of the thermal sound speed csound2 within ixO^L. available rho - rho*h.

Definition at line 1125 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_csound2_prim_eos()

subroutine mod_srhd_phys::srhd_get_csound2_prim_eos ( integer, intent(in)  ixO,
integer, intent(in)  L,
double precision, dimension(ixo^s), intent(in)  rho,
double precision, dimension(ixo^s), intent(in)  rhoh,
double precision, dimension(ixo^s), intent(in)  p,
double precision, dimension(ixo^s), intent(out)  csound2 
)

Calculate the square of the thermal sound speed csound2 within ixO^L. available rho - rho*h - p.

Definition at line 1171 of file mod_srhd_phys.t.

◆ srhd_get_csound2_rhoh()

subroutine mod_srhd_phys::srhd_get_csound2_rhoh ( double precision, dimension(ixi^s,nw), intent(in)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixo^s), intent(in)  rhoh,
double precision, dimension(ixo^s), intent(out)  csound2 
)

Calculate the square of the thermal sound speed csound2 within ixO^L. here computed from conservative set WITH ADDED rho*h local version: does not do con2prim.

Definition at line 517 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_dt()

subroutine mod_srhd_phys::srhd_get_dt ( double precision, dimension(ixi^s, 1:nw), intent(in)  w,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, intent(inout)  dtnew,
double precision, intent(in)  dx,
double precision, intent(in)  D,
double precision, dimension(ixi^s, 1:^nd), intent(in)  x 
)

dummy get_dt subroutine

Definition at line 588 of file mod_srhd_phys.t.

◆ srhd_get_enthalpy_eos()

subroutine, public mod_srhd_phys::srhd_get_enthalpy_eos ( integer, intent(in)  ixO,
integer, intent(in)  L,
double precision, dimension(ixo^s), intent(in)  rho,
double precision, dimension(ixo^s), intent(in)  p,
double precision, dimension(ixo^s), intent(out)  rhoh 
)

Compute the enthalpy rho*h from rho and pressure p.

Definition at line 1041 of file mod_srhd_phys.t.

◆ srhd_get_flux()

subroutine mod_srhd_phys::srhd_get_flux ( double precision, dimension(ixi^s,nw), intent(in)  wC,
double precision, dimension(ixi^s,nw), intent(in)  wP,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  idim,
double precision, dimension(ixi^s,nwflux), intent(out)  f 
)

Calculate fluxes within ixO^L.

Definition at line 788 of file mod_srhd_phys.t.

◆ srhd_get_geff_eos()

subroutine, public mod_srhd_phys::srhd_get_geff_eos ( double precision, dimension(ixi^s, 1:nw), intent(in)  w,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
logical, intent(in)  varconserve,
double precision, dimension(ixi^s), intent(out)  Geff 
)

calculate effective gamma

Definition at line 972 of file mod_srhd_phys.t.

◆ srhd_get_pressure_eos()

subroutine mod_srhd_phys::srhd_get_pressure_eos ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixo^s), intent(in)  rho,
double precision, dimension(ixo^s), intent(in)  rhoh,
double precision, dimension(ixi^s), intent(out)  p,
double precision, dimension(ixo^s), intent(out)  E 
)

Calculate thermal pressure p from density rho and enthalpy rho*h will provide p (and E if srhd_eos)

Definition at line 1083 of file mod_srhd_phys.t.

◆ srhd_get_pthermal()

subroutine, public mod_srhd_phys::srhd_get_pthermal ( double precision, dimension(ixi^s, nw), intent(in)  w,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s), intent(out)  pth 
)

Calculate thermal pressure p within ixO^L must follow after update conservative with auxiliaries.

Definition at line 554 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_get_smallvalues_eos()

subroutine mod_srhd_phys::srhd_get_smallvalues_eos

Compute the small value limits.

Definition at line 1008 of file mod_srhd_phys.t.

◆ srhd_get_v()

subroutine mod_srhd_phys::srhd_get_v ( double precision, dimension(ixi^s, nw), intent(in)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s,1:ndir), intent(out)  v 
)

Calculate v vector from conservatives.

Definition at line 500 of file mod_srhd_phys.t.

◆ srhd_handle_small_values()

subroutine mod_srhd_phys::srhd_handle_small_values ( logical, intent(in)  primitive,
double precision, dimension(ixi^s,1:nw), intent(inout)  w,
double precision, dimension(ixi^s,1:ndim), intent(in)  x,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
character(len=*), intent(in)  subname 
)

handles bootstrapping

Definition at line 909 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_phys_init()

subroutine, public mod_srhd_phys::srhd_phys_init

Initialize the module.

Definition at line 114 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_physical_units()

subroutine mod_srhd_phys::srhd_physical_units

Definition at line 248 of file mod_srhd_phys.t.

◆ srhd_to_conserved()

subroutine, public mod_srhd_phys::srhd_to_conserved ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, nw), intent(inout)  w,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x 
)

Transform primitive variables into conservative ones.

Definition at line 422 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_to_primitive()

subroutine, public mod_srhd_phys::srhd_to_primitive ( integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
double precision, dimension(ixi^s, nw), intent(inout)  w,
double precision, dimension(ixi^s, 1:ndim), intent(in)  x 
)

Transform conservative variables into primitive ones.

Definition at line 463 of file mod_srhd_phys.t.

Here is the call graph for this function:

◆ srhd_write_info()

subroutine mod_srhd_phys::srhd_write_info ( integer, intent(in)  fh)

Write this module's parameters to a snapshot.

Definition at line 95 of file mod_srhd_phys.t.

Variable Documentation

◆ absaccnr

double precision, public mod_srhd_phys::absaccnr = 1.0d-8

Definition at line 56 of file mod_srhd_phys.t.

◆ d_

integer, public, protected mod_srhd_phys::d_

Definition at line 17 of file mod_srhd_phys.t.

◆ dmaxvel

double precision, public mod_srhd_phys::dmaxvel = 1.0d-7

Definition at line 58 of file mod_srhd_phys.t.

◆ e_

integer, public, protected mod_srhd_phys::e_

Index of the energy density.

Definition at line 26 of file mod_srhd_phys.t.

◆ gamma_1

double precision, public mod_srhd_phys::gamma_1

Definition at line 41 of file mod_srhd_phys.t.

◆ gamma_to_gamma_1

double precision, public mod_srhd_phys::gamma_to_gamma_1

Definition at line 41 of file mod_srhd_phys.t.

◆ he_abundance

double precision, public, protected mod_srhd_phys::he_abundance =0.0d0

Helium abundance over Hydrogen.

Definition at line 52 of file mod_srhd_phys.t.

◆ inv_gamma_1

double precision, public mod_srhd_phys::inv_gamma_1

Definition at line 41 of file mod_srhd_phys.t.

◆ lfac_

integer, public, protected mod_srhd_phys::lfac_

Index of the Lorentz factor.

Definition at line 31 of file mod_srhd_phys.t.

◆ lfacmax

double precision, public mod_srhd_phys::lfacmax

Definition at line 59 of file mod_srhd_phys.t.

◆ maxitnr

integer, public mod_srhd_phys::maxitnr = 100

parameters for NR in con2prim

Definition at line 55 of file mod_srhd_phys.t.

◆ minp

double precision, public mod_srhd_phys::minp

Definition at line 60 of file mod_srhd_phys.t.

◆ minrho

double precision, public mod_srhd_phys::minrho

Definition at line 60 of file mod_srhd_phys.t.

◆ mom

integer, dimension(:), allocatable, public, protected mod_srhd_phys::mom

Indices of the momentum density.

Definition at line 20 of file mod_srhd_phys.t.

◆ p_

integer, public, protected mod_srhd_phys::p_

Index of the gas pressure should equal e_.

Definition at line 28 of file mod_srhd_phys.t.

◆ rho_

integer, public, protected mod_srhd_phys::rho_

Index of the density (in the w array)

Definition at line 16 of file mod_srhd_phys.t.

◆ small_e

double precision, public mod_srhd_phys::small_e

The smallest allowed energy.

Definition at line 44 of file mod_srhd_phys.t.

◆ small_xi

double precision, public mod_srhd_phys::small_xi

The smallest allowed inertia.

Definition at line 46 of file mod_srhd_phys.t.

◆ smalltau

double precision, public mod_srhd_phys::smalltau

Definition at line 60 of file mod_srhd_phys.t.

◆ smallxi

double precision, public mod_srhd_phys::smallxi

Definition at line 60 of file mod_srhd_phys.t.

◆ srhd_eos

logical, public mod_srhd_phys::srhd_eos = .false.

Whether synge eos is used.

Definition at line 37 of file mod_srhd_phys.t.

◆ srhd_force_diagonal

logical, public, protected mod_srhd_phys::srhd_force_diagonal = .false.

Allows overruling default corner filling (for debug mode, otherwise corner primitives fail)

Definition at line 49 of file mod_srhd_phys.t.

◆ srhd_gamma

double precision, public mod_srhd_phys::srhd_gamma = 5.d0/3.0d0

The adiabatic index and derived values.

Definition at line 40 of file mod_srhd_phys.t.

◆ srhd_n_tracer

integer, public, protected mod_srhd_phys::srhd_n_tracer = 0

Number of tracer species.

Definition at line 13 of file mod_srhd_phys.t.

◆ srhd_particles

logical, public, protected mod_srhd_phys::srhd_particles = .false.

Whether particles module is added.

Definition at line 10 of file mod_srhd_phys.t.

◆ tolernr

double precision, public mod_srhd_phys::tolernr = 1.0d-9

Definition at line 57 of file mod_srhd_phys.t.

◆ tracer

integer, dimension(:), allocatable, public, protected mod_srhd_phys::tracer

Indices of the tracers.

Definition at line 23 of file mod_srhd_phys.t.

◆ xi_

integer, public, protected mod_srhd_phys::xi_

Index of the inertia.

Definition at line 34 of file mod_srhd_phys.t.