2D AMRCLAW
qinit.f90
Go to the documentation of this file.
1 ! Default qinit file
2 subroutine qinit(meqn,mbc,mx,my,xlower,ylower,dx,dy,q,maux,aux)
3 
5  ! This default version prints an error message since it should
6  ! not be used directly. Copy this to an application directory and
7  ! loop over all grid cells to set values of q(1:meqn, 1:mx, 1:my).
8 
9  implicit none
10 
11  integer, intent(in) :: meqn,mbc,mx,my,maux
12  real(kind=8), intent(in) :: xlower,ylower,dx,dy
13  real(kind=8), intent(in) :: aux(maux,1-mbc:mx+mbc,1-mbc:my+mbc)
14  real(kind=8), intent(inout) :: q(meqn,1-mbc:mx+mbc,1-mbc:my+mbc)
15 
16  write(6,*) '*** Error -- you must set initial conditions'
17  stop
18 
19 end subroutine qinit
subroutine qinit(meqn, mbc, mx, my, xlower, ylower, dx, dy, q, maux, aux)
Definition: qinit.f90:3