AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

Makefile  combl.f  cuser.i  init2.f  physbd2.f  rpn2euvlg.f  flx2eu.f  rec2eu.f  chk2eu.f  flg2eu.f  Problem.h  amr_main.C 

applications/euler/2d/ForwardFacingStep/src/init2.f


c
c
c
c     =====================================================
       subroutine ic(maxmx,maxmy,meqn,mbc,mx,my,x,y,dx,dy,q)
c     =====================================================
c
       implicit double precision (a-h,o-z)
c
       include  "cuser.i"
c
       dimension q(meqn, 1-mbc:maxmx+mbc, 1-mbc:maxmy+mbc)
       dimension x(1-mbc:maxmx+mbc),y(1-mbc:maxmy+mbc)
c
       do 60 i = 1-mbc, mx+mbc
          do 60 j = 1-mbc, my+mbc
             do 60 m = 1,meqn
                q(m,i,j) = qin(m)
 60    continue         
c
       return
       end


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04