Go to the source code of this file.
|
module | mod_kdv |
| Module for including kdv source term in simulations adds \(-\delta^2*\sum_i \partial_{iii} \rho \) over dimensions i.
|
|
|
subroutine | mod_kdv::kdv_params_read (files) |
| Read this module's parameters from a file.
|
|
subroutine | mod_kdv::kdv_init () |
| Initialize the module.
|
|
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
|
|
subroutine | mod_kdv::kdv_get_dt (w, ixil, ixol, dtnew, dxd, x) |
|
|
logical | mod_kdv::kdv_split = .false. |
| source split or not
|
|
double precision | mod_kdv::kdv_delta = 1.0d0 |
| forefactor \( \delta^2\) of \( \partial_{iii} \) term
|
|
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
|
|