NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
w3fi19.f File Reference

NMC Rectangle boundary finding subroutine. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fi19 (i, j, nw)
 Relates the I,J coordinate point in a 65x65 grid-point array as being either inside, outside, or on the boundary of the 53x57 NMC rectangle centered in the 65x65 array.
 

Detailed Description

NMC Rectangle boundary finding subroutine.

Author
James Howcroft
Date
1973-10-15

Definition in file w3fi19.f.

Function/Subroutine Documentation

◆ w3fi19()

subroutine w3fi19 (   i,
  j,
  nw 
)

Relates the I,J coordinate point in a 65x65 grid-point array as being either inside, outside, or on the boundary of the 53x57 NMC rectangle centered in the 65x65 array.

Program history log:

  • James Howcroft 1973-10-15
  • Ralph Jones 1984-07-02 Convert to fortran 77.
  • Ralph Jones 1989-02-02 Convert to microsoft fortran 4.10.
  • Ralph Jones 1990-06-12 Convert to sun fortran 1.3.
  • Ralph Jones 1991-03-16 Convert to silicongraphics 3.3 fortran 77.
  • Ralph Jones 1993-03-29 Add save statement.
Parameters
[in]ICoordinate identification of a point in the 65x65 array.
[in]JCoordinate identification of a point in the 65x65 array.
[out]NWInteger return code.

Exit states:

  • NW = -1 Point is outside the rectangle.
  • NW = 0 Point is on the rectangle boundary.
  • NW = +1 Point is inside the rectangle.
Author
James Howcroft
Date
1973-10-15

Definition at line 27 of file w3fi19.f.