MPI-AMRVAC  2.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines
mod_hd_roe Module Reference

Module with Roe-type Riemann solver for hydrodynamics. More...

Functions/Subroutines

subroutine, public hd_roe_init ()
 
subroutine hd_average (wL, wR, x, ixL, idim, wroe, workroe)
 Calculate the Roe average of w, assignment of variables: rho -> rho, m -> v, e -> h. More...
 
subroutine average2 (wL, wR, x, ixL, idim, wroe, tmp, tmp2)
 
subroutine hd_get_eigenjump (wL, wR, wroe, x, ixL, il, idim, smalla, a, jump, workroe)
 Calculate the il-th characteristic speed and the jump in the il-th characteristic variable in the idim direction within ixL. The eigenvalues and the L=R**(-1) matrix is calculated from wroe. jump(il)=Sum_il L(il,iw)*(wR(iw)-wL(iw)) More...
 
subroutine geteigenjump2 (wL, wR, wroe, x, ixL, il, idim, smalla, a, jump, csound, dpperc2, dvperc)
 
subroutine hd_rtimes (q, wroe, ixL, iw, il, idim, rq, workroe)
 Multiply q by R(il,iw), where R is the right eigenvalue matrix at wroe. More...
 
subroutine rtimes2 (q, wroe, ixL, iw, il, idim, rq, csound)
 
subroutine hd_average_iso (wL, wR, x, ixL, idim, wroe, workroe)
 
subroutine average2_iso (wL, wR, x, ixL, idim, wroe, tmp)
 
subroutine hd_get_eigenjump_iso (wL, wR, wroe, x, ixL, il, idim, smalla, a, jump, workroe)
 
subroutine geteigenjump2_iso (wL, wR, wroe, x, ixL, il, idim, smalla, a, jump, csound)
 
subroutine hd_rtimes_iso (q, wroe, ixL, iw, il, idim, rq, workroe)
 
subroutine rtimes2_iso (q, wroe, ixL, iw, il, idim, rq, csound)
 

Detailed Description

Module with Roe-type Riemann solver for hydrodynamics.

Function/Subroutine Documentation

◆ average2()

subroutine mod_hd_roe::average2 ( double precision, dimension(ixg^t,nw)  wL,
double precision, dimension(ixg^t,nw)  wR,
double precision, dimension(ixg^t,ndim), intent(in)  x,
integer  ix,
integer  L,
integer  idim,
double precision, dimension(ixg^t,nw)  wroe,
double precision, dimension(ixg^t)  tmp,
double precision, dimension(ixg^t)  tmp2 
)

Definition at line 98 of file mod_hd_roe.t.

◆ average2_iso()

subroutine mod_hd_roe::average2_iso ( 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)  tmp 
)

Definition at line 312 of file mod_hd_roe.t.

◆ geteigenjump2()

subroutine mod_hd_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,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)  csound,
double precision, dimension(ixg^t)  dpperc2,
double precision, dimension(ixg^t)  dvperc 
)

Definition at line 133 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ geteigenjump2_iso()

subroutine mod_hd_roe::geteigenjump2_iso ( 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)  csound 
)

Definition at line 365 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ hd_average()

subroutine mod_hd_roe::hd_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 
)

Calculate the Roe average of w, assignment of variables: rho -> rho, m -> v, e -> h.

Definition at line 62 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ hd_average_iso()

subroutine mod_hd_roe::hd_average_iso ( 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 296 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ hd_get_eigenjump()

subroutine mod_hd_roe::hd_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,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 
)

Calculate the il-th characteristic speed and the jump in the il-th characteristic variable in the idim direction within ixL. The eigenvalues and the L=R**(-1) matrix is calculated from wroe. jump(il)=Sum_il L(il,iw)*(wR(iw)-wL(iw))

Definition at line 118 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ hd_get_eigenjump_iso()

subroutine mod_hd_roe::hd_get_eigenjump_iso ( 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 346 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ hd_roe_init()

subroutine, public mod_hd_roe::hd_roe_init ( )

Definition at line 19 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ hd_rtimes()

subroutine mod_hd_roe::hd_rtimes ( double precision, dimension(ixg^t), intent(in)  q,
double precision, dimension(ixg^t,nw), intent(in)  wroe,
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 
)

Multiply q by R(il,iw), where R is the right eigenvalue matrix at wroe.

Definition at line 224 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ hd_rtimes_iso()

subroutine mod_hd_roe::hd_rtimes_iso ( double precision, dimension(ixg^t), intent(in)  q,
double precision, dimension(ixg^t,nw), intent(in)  wroe,
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 462 of file mod_hd_roe.t.

Here is the call graph for this function:

◆ rtimes2()

subroutine mod_hd_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)  csound 
)

Definition at line 236 of file mod_hd_roe.t.

◆ rtimes2_iso()

subroutine mod_hd_roe::rtimes2_iso ( 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)  csound 
)

Definition at line 479 of file mod_hd_roe.t.