Ignore:
Timestamp:
Aug 2, 2024, 9:58:25 PM (5 months ago)
Author:
abarral
Message:

Put dimensions.h and paramet.h into modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/cosp2/array_lib.F90

    r3358 r5159  
    22! Copyright (c) 2015, Regents of the University of Colorado
    33! All rights reserved.
    4 !
     4
    55! Redistribution and use in source and binary forms, with or without modification, are
    66! permitted provided that the following conditions are met:
    7 !
     7
    88! 1. Redistributions of source code must retain the above copyright notice, this list of
    99!    conditions and the following disclaimer.
    10 !
     10
    1111! 2. Redistributions in binary form must reproduce the above copyright notice, this list
    1212!    of conditions and the following disclaimer in the documentation and/or other
    1313!    materials provided with the distribution.
    14 !
     14
    1515! 3. Neither the name of the copyright holder nor the names of its contributors may be
    1616!    used to endorse or promote products derived from this software without specific prior
    1717!    written permission.
    18 !
     18
    1919! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
    2020! EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     
    2626! LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    2727! OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    28 !
     28
    2929! History:
    3030! 10/16/03  John Haynes   - Original version (haynes@atmos.colostate.edu)
     
    4747    !   Finds the index of an array that is closest to a value, plus the
    4848    !   difference between the value found and the value specified
    49     !
     49
    5050    ! Inputs:
    5151    !   [list]   an array of sequential values
     
    5353    ! Optional input:
    5454    !   [sort]   set to 1 if [list] is in unknown/non-sequential order
    55     !
     55
    5656    ! Returns:
    5757    !   index of [list] that is closest to [val]
    58     !
     58
    5959    ! Optional output:
    6060    !   [dist]   set to variable containing [list([result])] - [val]
    61     !
     61
    6262    ! Requires:
    6363    !   mrgrnk library
    64     !
     64
    6565    ! ##########################################################################
    6666
Note: See TracChangeset for help on using the changeset viewer.