2D AMRCLAW
Functions/Subroutines
rpn2from1d.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine rpn2 (ixy, maxm, meqn, mwaves, maux, mbc, mx, ql, qr, auxl, auxr, wave, s, amdq, apdq)
 

Function/Subroutine Documentation

◆ rpn2()

subroutine rpn2 (   ixy,
  maxm,
  meqn,
  mwaves,
  maux,
  mbc,
  mx,
dimension(meqn, 1-mbc:maxm+mbc)  ql,
dimension(meqn, 1-mbc:maxm+mbc)  qr,
  auxl,
  auxr,
dimension(meqn, mwaves, 1-mbc:maxm+mbc)  wave,
dimension(mwaves, 1-mbc:maxm+mbc)  s,
dimension(meqn, 1-mbc:maxm+mbc)  amdq,
dimension(meqn, 1-mbc:maxm+mbc)  apdq 
)

Definition at line 7 of file rpn2from1d.f.

Referenced by flux2(), flux2_dimsplit(), qad(), step2(), step2x(), step2y(), stepgrid(), and stepgrid_dimsplit().

7 c =====================================================
8 c
9 c # Solve Riemann problems for the 2D hyperbolic problem.
10 c
11 c # This is a wrapper for a 1d Riemann solver rp1 so that it
12 c # can be used with AMR by using the 2d amrclaw routines with my=1.
13 c
14  implicit double precision (a-h,o-z)
15 c
16  dimension wave(meqn, mwaves, 1-mbc:maxm+mbc)
17  dimension s(mwaves, 1-mbc:maxm+mbc)
18  dimension ql(meqn, 1-mbc:maxm+mbc)
19  dimension qr(meqn, 1-mbc:maxm+mbc)
20  dimension apdq(meqn, 1-mbc:maxm+mbc)
21  dimension amdq(meqn, 1-mbc:maxm+mbc)
22 c
23  if (ixy.eq.2) then
24 c write(6,*) '*** Error, this Riemann solver should only be used'
25 c write(6,*) '*** for a 1d problem with my=1'
26 c write(6,*) '*** ixy=2 and my = ',mx
27 c stop
28  endif
29 
30  call rp1(maxm,meqn,mwaves,maux,mbc,mx,ql,qr,auxl,auxr,
31  & wave,s,amdq,apdq)
32 
33  return
integer mwaves
Definition: amr_module.f90:253
Here is the caller graph for this function: