FMS  2024.03
Flexible Modeling System
fms_sort_this Interface Reference

Sorts an array of pointers (my pointer) of size (p_size) in alphabetical order. More...

Private Member Functions

subroutine fms_sort_this (my_pointer, p_size, indices)
 

Detailed Description

Sorts an array of pointers (my pointer) of size (p_size) in alphabetical order.

Definition at line 53 of file fms_string_utils.F90.

Constructor & Destructor Documentation

◆ fms_sort_this()

subroutine fms_sort_this ( type(c_ptr), dimension(*), intent(inout)  my_pointer,
integer(kind=c_int), intent(in)  p_size,
integer(kind=c_int), dimension(*), intent(inout)  indices 
)
private
Parameters
[in,out]my_pointerIN: Array of c pointers to sort OUT: Sorted array of c pointers
[in]p_sizeSize of the array
[in,out]indicesIN: Array of the indices of my_pointer OUT: Sorted array of indices

Definition at line 53 of file fms_string_utils.F90.


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