MPI-AMRVAC  3.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines | Variables
mod_source Module Reference

Module for handling split source terms (split from the fluxes) More...

Functions/Subroutines

subroutine, public add_split_source (prior)
 
subroutine, public addsource2 (qdt, ixIL, ixOL, iwLIM, qtC, wCT, qt, w, x, qsourcesplit, src_active, wCTprim)
 Add source within ixO for iws: w=w+qdt*S[wCT]. More...
 

Variables

integer sourcesplit =-1
 How to apply dimensional splitting to the source terms, see Discretization. More...
 
integer, parameter sourcesplit_sfs = 0
 
integer, parameter sourcesplit_sf = 1
 
integer, parameter sourcesplit_ssf = 2
 
integer, parameter sourcesplit_ssfss = 3
 

Detailed Description

Module for handling split source terms (split from the fluxes)

Function/Subroutine Documentation

◆ add_split_source()

subroutine, public mod_source::add_split_source ( logical, intent(in)  prior)

Definition at line 19 of file mod_source.t.

Here is the call graph for this function:

◆ addsource2()

subroutine, public mod_source::addsource2 ( double precision, intent(in)  qdt,
integer, intent(in)  ixI,
integer, intent(in)  L,
integer, intent(in)  ixO,
  L,
integer, intent(in)  iw,
integer, intent(in)  LIM,
double precision, intent(in)  qtC,
double precision, dimension(ixi^s,1:nw), intent(in)  wCT,
double precision, intent(in)  qt,
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), optional  src_active,
double precision, dimension(ixi^s,1:nw), intent(in), optional  wCTprim 
)

Add source within ixO for iws: w=w+qdt*S[wCT].

Definition at line 119 of file mod_source.t.

Variable Documentation

◆ sourcesplit

integer mod_source::sourcesplit =-1

How to apply dimensional splitting to the source terms, see Discretization.

Definition at line 8 of file mod_source.t.

◆ sourcesplit_sf

integer, parameter mod_source::sourcesplit_sf = 1

Definition at line 10 of file mod_source.t.

◆ sourcesplit_sfs

integer, parameter mod_source::sourcesplit_sfs = 0

Definition at line 9 of file mod_source.t.

◆ sourcesplit_ssf

integer, parameter mod_source::sourcesplit_ssf = 2

Definition at line 11 of file mod_source.t.

◆ sourcesplit_ssfss

integer, parameter mod_source::sourcesplit_ssfss = 3

Definition at line 12 of file mod_source.t.