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


Main Page   Class Hierarchy   Compound List   File List  

3d/operators/getindx.f

c-----------------------------------------------------------------------
c     Routine to convert from global array coordinates to local 
c     array coordinates
c-----------------------------------------------------------------------

      integer function getindx(loc, lb, stride )
      implicit none
      
      integer   loc, lb, stride
      
      getindx = (loc - lb)/stride + 1
      return
      end



Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



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