MPI-AMRVAC  2.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Modules | Functions/Subroutines | Variables
mod_kdv.t File Reference

Go to the source code of this file.

Modules

module  mod_kdv
 Module for including kdv source term in simulations adds \(-\delta^2*\sum_i \partial_{iii} \rho \) over dimensions i.
 

Functions/Subroutines

subroutine mod_kdv::kdv_params_read (files)
 Read this module's parameters from a file. More...
 
subroutine mod_kdv::kdv_init ()
 Initialize the module. More...
 
subroutine mod_kdv::kdv_add_source (qdt, ixIL, ixOL, wCT, w, x, qsourcesplit, active)
 w[iw]=w[iw]+qdt*S[wCT,qtC,x] where S is the source based on wCT within ixO More...
 
subroutine mod_kdv::kdv_get_dt (w, ixIL, ixOL, dtnew, dxD, x)
 

Variables

logical mod_kdv::kdv_split = .false.
 source split or not More...
 
double precision mod_kdv::kdv_delta = 1.0d0
 forefactor \( \delta^2\) of \( \partial_{iii} \) term More...
 
integer mod_kdv::kdv_order = 1
 switch for second order [1] or fourth order [2] central FD for \( \partial_{iii}\) Note: fourth order needs 3 nghostcells, all assume equidistant grid More...