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

NMC octagon boundary finding subroutine. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fi18 (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 NMC octagon centered in the 65x65 array.
 

Detailed Description

NMC octagon boundary finding subroutine.

Author
James Howcroft
Date
1973-10-15

Definition in file w3fi18.f.

Function/Subroutine Documentation

◆ w3fi18()

subroutine w3fi18 (   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 NMC octagon 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 octagon.
  • NW = 0 Point is on the octagon boundary.
  • NW = +1 Point is inside the octagon.
Author
James Howcroft
Date
1973-10-15

Definition at line 27 of file w3fi18.f.