MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Data Types | Modules | Functions/Subroutines | Variables
mod_ffhd_phys.t File Reference

Go to the source code of this file.

Modules

module  mod_ffhd_phys
 Frozen-field hydrodynamics module.
 

Functions/Subroutines

subroutine mod_ffhd_phys::ffhd_write_info (fh)
 Write this module's parameters to a snapsoht. More...
 
subroutine, public mod_ffhd_phys::ffhd_phys_init ()
 
subroutine mod_ffhd_phys::ffhd_te_images
 
subroutine mod_ffhd_phys::ffhd_sts_set_source_tc_ffhd (ixIL, ixOL, w, x, wres, fix_conserve_at_step, my_dt, igrid, nflux)
 
double precision function mod_ffhd_phys::ffhd_get_tc_dt_ffhd (w, ixIL, ixOL, dxD, x)
 
subroutine mod_ffhd_phys::ffhd_tc_handle_small_e (w, x, ixIL, ixOL, step)
 
subroutine mod_ffhd_phys::tc_params_read_ffhd (fl)
 
subroutine mod_ffhd_phys::rc_params_read (fl)
 
subroutine mod_ffhd_phys::ffhd_check_params
 
subroutine mod_ffhd_phys::ffhd_physical_units ()
 
subroutine mod_ffhd_phys::ffhd_check_w_origin (primitive, ixIL, ixOL, w, flag)
 
subroutine mod_ffhd_phys::ffhd_to_conserved_origin (ixIL, ixOL, w, x)
 
subroutine mod_ffhd_phys::ffhd_to_primitive_origin (ixIL, ixOL, w, x)
 
subroutine, public mod_ffhd_phys::ffhd_ei_to_e (ixIL, ixOL, w, x)
 
subroutine, public mod_ffhd_phys::ffhd_e_to_ei (ixIL, ixOL, w, x)
 
subroutine mod_ffhd_phys::ffhd_handle_small_values_origin (primitive, w, x, ixIL, ixOL, subname)
 
subroutine mod_ffhd_phys::ffhd_get_v_origin (w, x, ixIL, ixOL, v)
 
subroutine, public mod_ffhd_phys::ffhd_get_v_idim (w, x, ixIL, ixOL, idim, v)
 
subroutine mod_ffhd_phys::ffhd_get_cmax_origin (w, x, ixIL, ixOL, idim, cmax)
 
subroutine mod_ffhd_phys::ffhd_get_cs2max (w, x, ixIL, ixOL, cs2max)
 
subroutine mod_ffhd_phys::ffhd_get_a2max (w, x, ixIL, ixOL, a2max)
 
subroutine mod_ffhd_phys::ffhd_get_tcutoff (ixIL, ixOL, w, x, Tco_local, Tmax_local)
 
subroutine mod_ffhd_phys::ffhd_get_cbounds (wLC, wRC, wLp, wRp, x, ixIL, ixOL, idim, Hspeed, cmax, cmin)
 
subroutine mod_ffhd_phys::ffhd_get_csound (w, x, ixIL, ixOL, idim, csound)
 
subroutine mod_ffhd_phys::ffhd_get_csound_prim (w, x, ixIL, ixOL, idim, csound)
 Calculate fast magnetosonic wave speed. More...
 
subroutine mod_ffhd_phys::ffhd_get_pthermal_iso (w, x, ixIL, ixOL, pth)
 
subroutine mod_ffhd_phys::ffhd_get_pthermal_origin (w, x, ixIL, ixOL, pth)
 
subroutine mod_ffhd_phys::ffhd_get_temperature_from_te (w, x, ixIL, ixOL, res)
 
subroutine mod_ffhd_phys::ffhd_get_temperature_from_eint (w, x, ixIL, ixOL, res)
 
subroutine mod_ffhd_phys::ffhd_get_temperature_from_etot (w, x, ixIL, ixOL, res)
 
subroutine, public mod_ffhd_phys::ffhd_get_csound2 (w, x, ixIL, ixOL, csound2)
 
subroutine mod_ffhd_phys::ffhd_get_flux (wC, w, x, ixIL, ixOL, idim, f)
 
subroutine mod_ffhd_phys::ffhd_add_source (qdt, dtfactor, ixIL, ixOL, wCT, wCTprim, w, x, qsourcesplit, active)
 
subroutine mod_ffhd_phys::add_punitb (qdt, ixIL, ixOL, wCT, w, x, wCTprim)
 
subroutine, public mod_ffhd_phys::ffhd_get_rho (w, x, ixIL, ixOL, rho)
 
subroutine mod_ffhd_phys::ffhd_handle_small_ei (w, x, ixIL, ixOL, ie, subname)
 
subroutine mod_ffhd_phys::ffhd_update_temperature (ixIL, ixOL, wCT, w, x)
 
subroutine mod_ffhd_phys::ffhd_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 
double precision function, dimension(ixo^s) mod_ffhd_phys::ffhd_kin_en_origin (w, ixIL, ixOL, inv_rho)
 
subroutine mod_ffhd_phys::rfactor_from_temperature_ionization (w, x, ixIL, ixOL, Rfactor)
 
subroutine mod_ffhd_phys::rfactor_from_constant_ionization (w, x, ixIL, ixOL, Rfactor)
 
subroutine mod_ffhd_phys::get_tau (ixIL, ixOL, w, Te, tau, sigT5)
 
subroutine mod_ffhd_phys::add_hypertc_source (qdt, ixIL, ixOL, wCT, w, x, wCTprim)
 

Variables

logical, public, protected mod_ffhd_phys::ffhd_energy = .true.
 Whether an energy equation is used. More...
 
logical, public, protected mod_ffhd_phys::ffhd_thermal_conduction = .false.
 Whether thermal conduction is used. More...
 
logical, public, protected mod_ffhd_phys::ffhd_hyperbolic_thermal_conduction = .false.
 Whether hyperbolic type thermal conduction is used. More...
 
type(tc_fluid), allocatable, public mod_ffhd_phys::tc_fl
 type of fluid for thermal conduction More...
 
type(te_fluid), allocatable, public mod_ffhd_phys::te_fl_ffhd
 type of fluid for thermal emission synthesis More...
 
logical, public, protected mod_ffhd_phys::ffhd_radiative_cooling = .false.
 Whether radiative cooling is added. More...
 
type(rc_fluid), allocatable, public mod_ffhd_phys::rc_fl
 type of fluid for radiative cooling More...
 
logical, public, protected mod_ffhd_phys::ffhd_viscosity = .false.
 Whether viscosity is added. More...
 
logical, public, protected mod_ffhd_phys::ffhd_gravity = .false.
 Whether gravity is added. More...
 
logical, public, protected mod_ffhd_phys::ffhd_trac = .false.
 Whether TRAC method is used. More...
 
integer, public, protected mod_ffhd_phys::ffhd_trac_type =1
 Which TRAC method is used. More...
 
double precision, public, protected mod_ffhd_phys::ffhd_trac_mask = 0.d0
 Height of the mask used in the TRAC method. More...
 
integer, public, protected mod_ffhd_phys::ffhd_trac_finegrid =4
 Distance between two adjacent traced magnetic field lines (in finest cell size) More...
 
logical, public, protected mod_ffhd_phys::ffhd_partial_ionization = .false.
 Whether plasma is partially ionized. More...
 
integer, public, protected mod_ffhd_phys::rho_
 Index of the density (in the w array) More...
 
integer, dimension(:), allocatable, public, protected mod_ffhd_phys::mom
 Indices of the momentum density. More...
 
integer, public, protected mod_ffhd_phys::e_
 Index of the energy density (-1 if not present) More...
 
integer, public, protected mod_ffhd_phys::p_
 Index of the gas pressure (-1 if not present) should equal e_. More...
 
integer, public, protected mod_ffhd_phys::te_
 Indices of temperature. More...
 
integer, public, protected mod_ffhd_phys::tcoff_
 Index of the cutoff temperature for the TRAC method. More...
 
integer, public, protected mod_ffhd_phys::tweight_
 
integer, public, protected mod_ffhd_phys::q_
 
double precision, public mod_ffhd_phys::ffhd_gamma = 5.d0/3.0d0
 The adiabatic index. More...
 
double precision, public mod_ffhd_phys::ffhd_adiab = 1.0d0
 The adiabatic constant. More...
 
double precision, public mod_ffhd_phys::hypertc_kappa
 The thermal conductivity kappa in hyperbolic thermal conduction. More...
 
double precision, public, protected mod_ffhd_phys::he_abundance =0.1d0
 Helium abundance over Hydrogen. More...
 
double precision, public, protected mod_ffhd_phys::h_ion_fr =1d0
 Ionization fraction of H H_ion_fr = H+/(H+ + H) More...
 
double precision, public, protected mod_ffhd_phys::he_ion_fr =1d0
 Ionization fraction of He He_ion_fr = (He2+ + He+)/(He2+ + He+ + He) More...
 
double precision, public, protected mod_ffhd_phys::he_ion_fr2 =1d0
 Ratio of number He2+ / number He+ + He2+ He_ion_fr2 = He2+/(He2+ + He+) More...
 
double precision, public, protected mod_ffhd_phys::rr =1d0
 
logical, public, protected mod_ffhd_phys::eq_state_units = .true.
 
procedure(sub_convert), pointer, public mod_ffhd_phys::ffhd_to_primitive => null()
 
procedure(sub_convert), pointer, public mod_ffhd_phys::ffhd_to_conserved => null()
 
procedure(sub_get_pthermal), pointer, public mod_ffhd_phys::ffhd_get_pthermal => null()
 
procedure(sub_get_pthermal), pointer, public mod_ffhd_phys::ffhd_get_temperature => null()
 
procedure(sub_get_v), pointer, public mod_ffhd_phys::ffhd_get_v => null()
 
procedure(fun_kin_en), pointer, public mod_ffhd_phys::ffhd_kin_en => null()