MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Functions/Subroutines
mod_mhd_roe Module Reference

Subroutines for Roe-type Riemann solver for MHD. More...

Functions/Subroutines

subroutine, public mhd_roe_init ()
 
subroutine mhd_average (wL, wR, x, ixL, idim, wroe, workroe)
 
subroutine average2 (wL, wR, x, ixL, idim, wroe, cfast, cslow, afast, aslow, csound2, dp, rhodv, tmp)
 
subroutine mhd_get_eigenjump (wL, wR, wroe, x, ixL, il, idim, smalla, a, jump, workroe)
 
subroutine geteigenjump2 (wL, wR, wroe, x, ixL, il, idim, smalla, a, jump, cfast, cslow, afast, aslow, csound2, dp, rhodv, bdv, bdb, cs2L, cs2R, cs2ca2L, cs2ca2R)
 
subroutine mhd_rtimes (q, w, ixL, iw, il, idim, rq, workroe)
 
subroutine rtimes2 (q, wroe, ixL, iw, il, idim, rq, cfast, cslow, afast, aslow, csound2, dp, rhodv, bv, v2a2)
 

Detailed Description

Subroutines for Roe-type Riemann solver for MHD.

Function/Subroutine Documentation

◆ average2()

subroutine mod_mhd_roe::average2 ( double precision, dimension(ixg^t,nw)  wL,
double precision, dimension(ixg^t,nw)  wR,
double precision, dimension(ixg^t,1:ndim), intent(in)  x,
integer  ix,
integer  L,
integer  idim,
double precision, dimension(ixg^t,nw)  wroe,
double precision, dimension(ixg^t)  cfast,
double precision, dimension(ixg^t)  cslow,
double precision, dimension(ixg^t)  afast,
double precision, dimension(ixg^t)  aslow,
double precision, dimension(ixg^t)  csound2,
double precision, dimension(ixg^t)  dp,
double precision, dimension(ixg^t)  rhodv,
double precision, dimension(ixg^t)  tmp 
)

Definition at line 68 of file mod_mhd_roe.t.

◆ geteigenjump2()

subroutine mod_mhd_roe::geteigenjump2 ( double precision, dimension(ixg^t,nw)  wL,
double precision, dimension(ixg^t,nw)  wR,
double precision, dimension(ixg^t,nw)  wroe,
double precision, dimension(ixg^t,1:ndim), intent(in)  x,
integer  ix,
integer  L,
integer  il,
integer  idim,
double precision, dimension(ixg^t)  smalla,
double precision, dimension(ixg^t)  a,
double precision, dimension(ixg^t)  jump,
double precision, dimension(ixg^t)  cfast,
double precision, dimension(ixg^t)  cslow,
double precision, dimension(ixg^t)  afast,
double precision, dimension(ixg^t)  aslow,
double precision, dimension(ixg^t)  csound2,
double precision, dimension(ixg^t)  dp,
double precision, dimension(ixg^t)  rhodv,
double precision, dimension(ixg^t)  bdv,
double precision, dimension(ixg^t)  bdb,
double precision, dimension(ixg^t)  cs2L,
double precision, dimension(ixg^t)  cs2R,
double precision, dimension(ixg^t)  cs2ca2L,
double precision, dimension(ixg^t)  cs2ca2R 
)

Definition at line 204 of file mod_mhd_roe.t.

Here is the call graph for this function:

◆ mhd_average()

subroutine mod_mhd_roe::mhd_average ( double precision, dimension(ixg^t, nw), intent(in)  wL,
double precision, dimension(ixg^t, nw), intent(in)  wR,
double precision, dimension(ixg^t, 1:^nd), intent(in)  x,
integer, intent(in)  ix,
integer, intent(in)  L,
integer, intent(in)  idim,
double precision, dimension(ixg^t, nw), intent(inout)  wroe,
double precision, dimension(ixg^t, nworkroe), intent(inout)  workroe 
)

Definition at line 47 of file mod_mhd_roe.t.

Here is the call graph for this function:

◆ mhd_get_eigenjump()

subroutine mod_mhd_roe::mhd_get_eigenjump ( double precision, dimension(ixg^t,nw)  wL,
double precision, dimension(ixg^t,nw)  wR,
double precision, dimension(ixg^t,nw)  wroe,
double precision, dimension(ixg^t,1:ndim), intent(in)  x,
integer, intent(in)  ix,
integer, intent(in)  L,
integer, intent(in)  il,
integer, intent(in)  idim,
double precision, dimension(ixg^t)  smalla,
double precision, dimension(ixg^t)  a,
double precision, dimension(ixg^t)  jump,
double precision, dimension(ixg^t,nworkroe)  workroe 
)

Definition at line 177 of file mod_mhd_roe.t.

Here is the call graph for this function:

◆ mhd_roe_init()

subroutine, public mod_mhd_roe::mhd_roe_init

Definition at line 17 of file mod_mhd_roe.t.

Here is the call graph for this function:

◆ mhd_rtimes()

subroutine mod_mhd_roe::mhd_rtimes ( double precision, dimension(ixg^t), intent(in)  q,
double precision, dimension(ixg^t, nw), intent(in)  w,
integer, intent(in)  ix,
integer, intent(in)  L,
integer, intent(in)  iw,
integer, intent(in)  il,
integer, intent(in)  idim,
double precision, dimension(ixg^t), intent(inout)  rq,
double precision, dimension(ixg^t, nworkroe), intent(inout)  workroe 
)

Definition at line 348 of file mod_mhd_roe.t.

Here is the call graph for this function:

◆ rtimes2()

subroutine mod_mhd_roe::rtimes2 ( double precision, dimension(ixg^t)  q,
double precision, dimension(ixg^t,nw)  wroe,
integer  ix,
integer  L,
integer  iw,
integer  il,
integer  idim,
double precision, dimension(ixg^t)  rq,
double precision, dimension(ixg^t)  cfast,
double precision, dimension(ixg^t)  cslow,
double precision, dimension(ixg^t)  afast,
double precision, dimension(ixg^t)  aslow,
double precision, dimension(ixg^t)  csound2,
double precision, dimension(ixg^t)  dp,
double precision, dimension(ixg^t)  rhodv,
double precision, dimension(ixg^t)  bv,
double precision, dimension(ixg^t)  v2a2 
)

Definition at line 364 of file mod_mhd_roe.t.