SABER
tools_func::order_cc Interface Reference

Public Member Functions

subroutine func_order_cc (mpl, lon, lat, n, x, y, z, order, diff)
 Order points in counter-clockwise order with respect to a central point. More...
 

Detailed Description

Definition at line 103 of file tools_func.F90.

Member Function/Subroutine Documentation

◆ func_order_cc()

subroutine tools_func::order_cc::func_order_cc ( type(mpl_type), intent(inout)  mpl,
real(kind_real), intent(in)  lon,
real(kind_real), intent(in)  lat,
integer  n,
real(kind_real), dimension(n), intent(in)  x,
real(kind_real), dimension(n), intent(in)  y,
real(kind_real), dimension(n), intent(in)  z,
integer, dimension(n), intent(out)  order,
real(kind_real), dimension(n), intent(out), optional  diff 
)

Order points in counter-clockwise order with respect to a central point.

Parameters
[in,out]mplMPI data
[in]lonLongitude of the central point
[in]latLatitude of the central point
nNumber of points
[in]xList of X-coordinates
[in]yList of Y-coordinates
[in]zList of Z-coordinates
[out]orderCounter-clockwise order
[out]diffAngles differences

Definition at line 851 of file tools_func.F90.


The documentation for this interface was generated from the following file: