MGH_PERIM
Name
MGH_PERIM
Purpose
For a 2D rectilinear or curvilinear grid, return the perimeter
locations
Calling Sequence
result = mgh_perim(x, y)
Positional Parameters
x, y (input, numeric 1D or 2D array)
X, Y positions of the grid nodes in either of the forms commonly
use for 2D grids: 1D arrays dimensioned [m] and [n] for
a rectilinear grid or 2D arrays both dimensioned [m,n] for a
curvilinear grid.
Return Value
The function returns the perimeter locations in a [2,n] array.
###########################################################################
Copyright (c) 2000-2014 NIWA:
http://www.niwa.co.nz/
Licensed under the MIT open source license:
http://www.opensource.org/licenses/mit-license.php
###########################################################################
Modification History
Mark Hadfield, 2009-09:
Written.