MPI-AMRVAC
3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
|
Module for including kdv source term in simulations adds \(-\delta^2*\sum_i \partial_{iii} \rho \) over dimensions i. More...
Functions/Subroutines | |
subroutine | kdv_params_read (files) |
Read this module's parameters from a file. More... | |
subroutine | kdv_init () |
Initialize the module. More... | |
subroutine | 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 | kdv_get_dt (w, ixIL, ixOL, dtnew, dxD, x) |
Variables | |
logical | kdv_split = .false. |
source split or not More... | |
double precision | kdv_delta = 1.0d0 |
forefactor \( \delta^2\) of \( \partial_{iii} \) term More... | |
integer | 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... | |
Module for including kdv source term in simulations adds \(-\delta^2*\sum_i \partial_{iii} \rho \) over dimensions i.
subroutine mod_kdv::kdv_add_source | ( | double precision, intent(in) | qdt, |
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(inout) | w, | ||
double precision, dimension(ixi^s,1:ndim), intent(in) | x, | ||
logical, intent(in) | qsourcesplit, | ||
logical, intent(inout) | active | ||
) |
subroutine mod_kdv::kdv_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:ndim), intent(in) | x | ||
) |
subroutine mod_kdv::kdv_init |
subroutine mod_kdv::kdv_params_read | ( | character(len=*), dimension(:), intent(in) | files | ) |
double precision mod_kdv::kdv_delta = 1.0d0 |
integer mod_kdv::kdv_order = 1 |