2D AMRCLAW
prepregstep.f
Go to the documentation of this file.
1 c
2 c-------------------------------------------------------------------------------------
3 c
4  subroutine prepregstep(nvar,naux,lcheck,mptr,nx,ny,mitot,mjtot,
5  . valbig,auxbig)
6 
7  use amr_module
8  implicit double precision (a-h,o-z)
9 
10  dimension fp(nvar,mitot,mjtot),gp(nvar,mitot,mjtot)
11  dimension fm(nvar,mitot,mjtot),gm(nvar,mitot,mjtot)
12 
13 
14  hx = hxposs(lcheck)
15  hy = hyposs(lcheck)
16  dt = possk(lcheck)
17  time = rnode(timemult,mptr)
18 
19  xlow = rnode(cornxlo,mptr) - nghost*hx
20  ylow = rnode(cornylo,mptr) - nghost*hy
21 
22 c
23  call stepgrid(valbig,fm,fp,gm,gp,
24  1 mitot,mjtot,nghost,
25  2 dt,dtnew,hx,hy,nvar,
26  3 xlow,ylow,time,mptr,naux,auxbig)
27 c
28 c update counts for error estimation step
29  evol = evol + nx * ny
30 
31  return
32  end
subroutine stepgrid(q, fm, fp, gm, gp, mitot, mjtot, mbc, dt, dtnew, dx, dy, nvar, xlow, ylow, time, mptr, maux, aux)
Definition: stepgrid.f:4
subroutine prepregstep(nvar, naux, lcheck, mptr, nx, ny, mitot, mjtot, valbig, auxbig)
Definition: prepregstep.f:4