! source file: /usr/local/models/UVic_ESCM/2.8/source/embm/adi.F
!=======================================================================
!                    UVic ADI Solver

!     implementation of an Alternating-Direction-Implicit solver

!     based on code by: M. J. Roth
!=======================================================================

      subroutine adi (x, an, ans, as, ae, aew, aw, b, id, jd)
      return
      end
