Description
ALGORITHM 760, COLLECTED ALGORITHMS FROM ACM.
THIS WORK PUBLISHED IN TRANSACTIONS ON MATHEMATICAL SOFTWARE,
VOL. 22, NO. 3, September, 1996, P.  357--361.
Subroutines
  • Clear(this)
  • Init(this, x, y, z)
    • TInterpGrid2D   :: this
    • REAL(GI) INTENT(IN) :: x(:)
    • REAL(GI) INTENT(IN) :: y(:)
    • REAL(GI) INTENT(IN) :: z(:,:)
  • InitFromFile(this, Filename, xcol, ycol, zcol)
    Load from file with rows of x, y, value
    • TInterpGrid2D   :: this
    • character(LEN=*) intent(in) :: Filename
    • integer intent(in), optional :: xcol
    • integer intent(in), optional :: ycol
    • integer intent(in), optional :: zcol
  • InitFromMatrixBinaryFile(this, Filename, colvals, rowvals)
    • TInterpGrid2D   :: this
    • character(LEN=*) intent(in) :: Filename
    • real(sp_acc) intent(in) :: colvals(:)
    • real(sp_acc) intent(in) :: rowvals(:)
  • InitFromMatrixTextFile(this, Filename, colvals, rowvals, dolog)
    • TInterpGrid2D   :: this
    • character(LEN=*) intent(in) :: Filename
    • real(sp_acc) intent(in) :: colvals(:)
    • real(sp_acc) intent(in) :: rowvals(:)
    • logical intent(in), optional :: dolog
  • InitInterp(this)
  • Values(this, nip, z, x, y, error)
    Z matrix not stored internally to save mem, so must pass again
    • TInterpGrid2D   :: this
    • integer intent(in) :: nip
    • real(GI) intent(out) :: z(nip)
    • real(GI) intent(in) :: x(nip)
    • real(GI) intent(in) :: y(nip)
    • integer intent(inout), optional :: error
Functions
  • real(GI)
    Value(this, x, y, error)
    Z matrix not stored internally to save mem, so must pass again
    • TInterpGrid2D   :: this
    • real(GI) intent(in) :: x
    • real(GI) intent(in) :: y
    • integer intent(inout), optional :: error
Properties
  • REAL(GI) :: wk(:,:,:) private, allocatable
  • REAL(GI) :: x(:) allocatable
  • REAL(GI) :: y(:) allocatable
  • REAL(GI) :: z(:,:) allocatable
  • integer :: nx