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

Go to the source code of this file.

Modules

module  mod_rd_phys
 Reaction-diffusion module (physics routines)
 

Functions/Subroutines

subroutine mod_rd_phys::rd_write_info (fh)
 Write this module's parameters to a snapshot. More...
 
subroutine, public mod_rd_phys::rd_phys_init ()
 
subroutine mod_rd_phys::rd_check_params
 
subroutine mod_rd_phys::rd_to_conserved (ixIL, ixOL, w, x)
 
subroutine mod_rd_phys::rd_to_primitive (ixIL, ixOL, w, x)
 
subroutine mod_rd_phys::rd_get_cmax (w, x, ixIL, ixOL, idim, cmax)
 
subroutine mod_rd_phys::rd_get_cbounds (wLC, wRC, wLp, wRp, x, ixIL, ixOL, idim, Hspeed, cmax, cmin)
 
subroutine mod_rd_phys::rd_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 
subroutine mod_rd_phys::rd_get_flux (wC, w, x, ixIL, ixOL, idim, f)
 
subroutine mod_rd_phys::rd_add_source (qdt, dtfactor, ixIL, ixOL, wCT, wCTprim, w, x, qsourcesplit, active)
 
subroutine mod_rd_phys::rd_laplacian (ixIL, ixOL, var, lpl)
 Compute the Laplacian using a standard second order scheme. For now this method only works in slab geometries. Requires one ghost cell only. More...
 
subroutine mod_rd_phys::put_laplacians_onegrid (ixIL, ixOL, w)
 
subroutine mod_rd_phys::rd_evaluate_implicit (qtC, psa)
 inplace update of psa==>F_im(psa) More...
 
subroutine mod_rd_phys::rd_implicit_update (dtfactor, qdt, qtC, psa, psb)
 Implicit solve of psa=psb+dtfactor*dt*F_im(psa) More...
 

Variables

integer, public, protected mod_rd_phys::u_ = 1
 
integer, public, protected mod_rd_phys::v_ = 2
 For 2 or more equations. More...
 
integer, public, protected mod_rd_phys::w_ = 3
 For 3 or more equations. More...
 
logical, public, protected mod_rd_phys::rd_particles = .false.
 Whether particles module is added. More...
 
double precision, public, protected mod_rd_phys::dtreacpar = 0.5d0
 Parameter with which to multiply the reaction timestep restriction. More...
 
character(len=20), public, protected mod_rd_phys::equation_name = "gray-scott"
 Name of the system to be solved. More...
 
double precision, public, protected mod_rd_phys::d1 = 0.05d0
 Diffusion coefficient for first species (u) More...
 
double precision, public, protected mod_rd_phys::d2 = 1.0d0
 Diffusion coefficient for second species (v) (if applicable) More...
 
double precision, public, protected mod_rd_phys::d3 = 1.0d0
 Diffusion coefficient for third species (w) (if applicable) More...
 
double precision, public, protected mod_rd_phys::sb_alpha = 0.1305d0
 Parameter for Schnakenberg model. More...
 
double precision, public, protected mod_rd_phys::sb_beta = 0.7695d0
 Parameter for Schnakenberg model. More...
 
double precision, public, protected mod_rd_phys::sb_kappa = 100.0d0
 Parameter for Schnakenberg model. More...
 
double precision, public, protected mod_rd_phys::gs_f = 0.046d0
 Feed rate for Gray-Scott model. More...
 
double precision, public, protected mod_rd_phys::gs_k = 0.063d0
 Kill rate for Gray-Scott model. More...
 
double precision, public, protected mod_rd_phys::br_a = 4.5d0
 Parameter for Brusselator model. More...
 
double precision, public, protected mod_rd_phys::br_b = 8.0d0
 Parameter for Brusselator model. More...
 
double precision, public, protected mod_rd_phys::br_c = 1.0d0
 Parameter for extended Brusselator model. More...
 
double precision, public, protected mod_rd_phys::br_d = 1.0d0
 Parameter for extended Brusselator model. More...
 
double precision, public, protected mod_rd_phys::lg_lambda = 1.0d0
 Parameter for logistic model (Fisher / KPP equation) More...
 
double precision, public, protected mod_rd_phys::bzfn_epsilon = 1.0d0
 Parameter for the Field-Noyes model of the Belousov-Zhabotinsky reaction. More...
 
double precision, public, protected mod_rd_phys::bzfn_delta = 1.0d0
 Parameter for the Field-Noyes model of the Belousov-Zhabotinsky reaction. More...
 
double precision, public, protected mod_rd_phys::bzfn_lambda = 1.0d0
 Parameter for the Field-Noyes model of the Belousov-Zhabotinsky reaction. More...
 
double precision, public, protected mod_rd_phys::bzfn_mu = 1.0d0
 Parameter for the Field-Noyes model of the Belousov-Zhabotinsky reaction. More...
 
double precision, public, protected mod_rd_phys::lor_r = 28.0d0
 Parameter for Lorenz system (Rayleigh number) More...
 
double precision, public, protected mod_rd_phys::lor_sigma = 10.0d0
 Parameter for Lorenz system (Prandtl number) More...
 
double precision, public, protected mod_rd_phys::lor_b = 8.0d0 / 3.0d0
 Parameter for Lorenz system (aspect ratio of the convection rolls) More...
 
type(mg_bc_t), dimension(3, mg_num_neighbors), public mod_rd_phys::rd_mg_bc
 Boundary condition information for the multigrid method. More...