|
2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | stepgrid (q, fm, fp, gm, gp, mitot, mjtot, mbc, dt, dtnew, dx, dy, nvar, xlow, ylow, time, mptr, maux, aux) |
| Take a time step on a single grid mptr and overwrite solution array q. More... | |
| subroutine stepgrid | ( | dimension(nvar,mitot,mjtot) | q, |
| dimension(nvar,mitot,mjtot) | fm, | ||
| dimension(nvar,mitot,mjtot) | fp, | ||
| dimension(nvar,mitot,mjtot) | gm, | ||
| dimension(nvar,mitot,mjtot) | gp, | ||
| mitot, | |||
| mjtot, | |||
| mbc, | |||
| dt, | |||
| dtnew, | |||
| dx, | |||
| dy, | |||
| nvar, | |||
| xlow, | |||
| ylow, | |||
| time, | |||
| mptr, | |||
| maux, | |||
| dimension(maux,mitot,mjtot) | aux | ||
| ) |
Take a time step on a single grid mptr and overwrite solution array q.
A modified version of the clawpack routine step2 is used.
Return new solution q as well as fluxes in fm,fp and gm,gp. Patch has room for ghost cells (mbc of them) around the grid. Everything is the enlarged size (mitot by mjtot).
| [in] | mbc | number of ghost cells (= lwidth) |
| [in] | mptr | grid number (for debugging) |
| [in] | xlow | left edge of enlarged grid (including ghost cells). |
| [in] | ylow | lower edge of enlarged grid (including ghost cells). |
| [in] | dt | incoming time step |
| [in] | dx | mesh size in x direction for this grid |
| [in] | dx | mesh size in y direction for this grid |
| [in,out] | q | solution array |
| [out] | dtnew | return suggested new time step for this grid's soln. |
| [out] | fm | fluxes on the left side of each vertical edge |
| [out] | fp | fluxes on the right side of each vertical edge |
| [out] | gm | fluxes on the lower side of each horizontal edge |
| [out] | gp | fluxes on the upper side of each horizontal edge |
Definition at line 26 of file stepgrid.f.
References b4step2(), amr_module::cfl, amr_module::cfl_level, amr_module::cflv1, amr_module::dbugunit, amr_module::max1d, amr_module::maxaux, amr_module::maxvar, amr_module::mcapa, amr_module::method, amr_module::outunit, amr_module::rinfinity, rpn2(), src2(), and step2().
Referenced by par_advanc(), prepbigstep(), and prepregstep().


1.8.14