• VTF
  • FSI
  • AMROC
  • SFC
  • Motion
  • STLIB
  • Main Page
  • Related Pages
    • combl.f
    • cuser.i
    • init3.f
    • lset3.f
    • Makefile.am
    • physbd3.f
    • saux3.f
    • src3cjburn.f
    • Problem.h
    • ip3euzndrfl.f
    • chk3euznd.f
    • rpn3euzndvlg.f
    • rpt3euznd.f
    • flgout3euznd.f
    • rec3euznd.f
    • flx3euznd.f
    • amr_main.C

    fsi/sfc-amroc/TubeCJBurnSlot/src/saux3.f

    c
    c     =====================================================
          subroutine setaux(maxmx,maxmy,maxmz,meqn,mbc,ibx,iby,ibz,
         &     mx,my,mz,q,aux,maux,cornx,corny,cornz,dx,dy,dz,t,dt)
    c     =====================================================
    c
    c     Copyright (C) 2003-2007 California Institute of Technology
    c     Ralf Deiterding, ralf@cacr.caltech.edu
    c
          implicit double precision (a-h, o-z)
          dimension q(meqn, 1-ibx*mbc:maxmx+ibx*mbc, 
         &     1-iby*mbc:maxmy+iby*mbc, 1-ibz*mbc:maxmz+ibz*mbc)
          dimension aux(maux, 1-ibx*mbc:maxmx+ibx*mbc, 
         &     1-iby*mbc:maxmy+iby*mbc, 1-ibz*mbc:maxmz+ibz*mbc)
    c     
          do 10 j = 1-iby*mbc, my+iby*mbc
             do 10 i = 1-ibx*mbc, mx+ibx*mbc
                r = dsqrt((cornx+(i+ibx*mbc-.5)*dx)**2+
         &           (corny+(j+iby*mbc-.5)*dy)**2)
                do 10 k = 1-ibz*mbc, mz+ibz*mbc
                   aux(1,i,j,k) = cornz+(k+ibz*mbc-.5)*dz
                   aux(2,i,j,k) = r 
     10   continue
          return
          end