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)
34 subroutine nonlinear_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;
61 a(ix^s)=(v(jx^s)+v(ix^s))/2
63 jump(ix^s)=wr(ix^s,
rho_)-wl(ix^s,
rho_)
73 integer,
intent(in) :: ix^L, iw, il, idim
74 double precision,
intent(in) :: w(ixG^T, nw), q(ixG^T)
75 double precision,
intent(inout) :: rq(ixG^T)
76 double precision,
intent(inout) :: workroe(ixG^T, nworkroe)
This module contains definitions of global parameters and variables and some generic functions/subrou...
integer, dimension(3, 3) kr
Kronecker delta tensor.
integer, dimension(:), allocatable, parameter d
Module containing the physics routines for scalar nonlinear equation.
integer, public, protected rho_
index of the single scalar unknown
subroutine, public nonlinear_get_v(w, x, ixIL, ixOL, idim, v)
Module containing Roe solver for scalar nonlinear equation.
subroutine nonlinear_average(wL, wR, x, ixL, idim, wroe, workroe)
subroutine nonlinear_get_eigenjump(wL, wR, wC, x, ixL, il, idim, smalla, a, jump, workroe)
subroutine nonlinear_rtimes(q, w, ixL, iw, il, idim, rq, workroe)
subroutine, public nonlinear_roe_init()
procedure(sub_rtimes), pointer phys_rtimes
procedure(sub_get_eigenjump), pointer phys_get_eigenjump
procedure(sub_average), pointer phys_average