23 subroutine rho_average(wL, wR, x, ix^L, idim, wroe, workroe)
25 integer,
intent(in) :: ix^
l, idim
26 double precision,
intent(in) :: wl(ixg^t, nw), wr(ixg^t, nw)
27 double precision,
intent(inout) :: wroe(ixg^t, nw)
28 double precision,
intent(inout) :: workroe(ixg^t, nworkroe)
29 double precision,
intent(in) :: x(ixg^t, 1:^nd)
32 end subroutine rho_average
34 subroutine rho_get_eigenjump(wL, wR, wC, x, ix^L, il, idim, smalla, a, jump, workroe)
44 integer,
intent(in) :: ix^
l, il, idim
45 double precision,
dimension(ixG^T, nw) :: wl, wr, wc
46 double precision,
dimension(ixG^T) :: smalla, a, jump, v
47 double precision,
dimension(ixG^T, nworkroe) :: workroe
48 double precision,
intent(in) :: x(ixg^t, 1:^nd)
49 integer :: jx^
l, ixc^
l
51 jx^
l=ix^
l+
kr(idim,^
d);
52 ixcmin^
d=ixmin^
d; ixcmax^
d=jxmax^
d;
60 a(ix^s)=(v(jx^s)+v(ix^s))/2
62 jump(ix^s)=wr(ix^s,
rho_)-wl(ix^s,
rho_)
64 end subroutine rho_get_eigenjump
66 subroutine rho_rtimes(q, w, ix^L, iw, il, idim, rq, workroe)
72 integer,
intent(in) :: ix^
l, iw, il, idim
73 double precision,
intent(in) :: w(ixg^t, nw), q(ixg^t)
74 double precision,
intent(inout) :: rq(ixg^t)
75 double precision,
intent(inout) :: workroe(ixg^t, nworkroe)
79 end subroutine rho_rtimes
This module contains definitions of global parameters and variables and some generic functions/subrou...
integer, dimension(3, 3) kr
Kronecker delta tensor.
double precision, dimension(:), allocatable, parameter d
procedure(sub_rtimes), pointer phys_rtimes
procedure(sub_get_eigenjump), pointer phys_get_eigenjump
procedure(sub_average), pointer phys_average
Module containing the physics routines for scalar advection.
subroutine, public rho_get_v(w, x, ixil, ixol, idim, v, centered)
integer, public, protected rho_
Module containing Roe solver for scalar advection.
subroutine, public rho_roe_init()