Ignore:
Timestamp:
Oct 12, 2023, 10:30:22 AM (15 months ago)
Author:
slebonnois
Message:

BBT : Update for the titan microphysics and cloud model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/muphytitan/mm_mprec.F90

    r1897 r3083  
    1 ! Copyright 2013-2015,2017 Université de Reims Champagne-Ardenne
     1! Copyright 2013-2015,2017,2022 Université de Reims Champagne-Ardenne
    22! Contributor: J. Burgalat (GSMA, URCA)
    33! email of the author : jeremie.burgalat@univ-reims.fr
    4 ! 
     4!
    55! This software is a computer program whose purpose is to compute
    66! microphysics processes using a two-moments scheme.
    7 ! 
     7!
    88! This library is governed by the CeCILL-B license under French law and
    9 ! abiding by the rules of distribution of free software.  You can  use, 
     9! abiding by the rules of distribution of free software.  You can  use,
    1010! modify and/ or redistribute the software under the terms of the CeCILL-B
    1111! license as circulated by CEA, CNRS and INRIA at the following URL
    12 ! "http://www.cecill.info". 
    13 ! 
     12! "http://www.cecill.info".
     13!
    1414! As a counterpart to the access to the source code and  rights to copy,
    1515! modify and redistribute granted by the license, users are provided only
    1616! with a limited warranty  and the software's author,  the holder of the
    1717! economic rights,  and the successive licensors  have only  limited
    18 ! liability. 
    19 ! 
     18! liability.
     19!
    2020! In this respect, the user's attention is drawn to the risks associated
    2121! with loading,  using,  modifying and/or developing or reproducing the
     
    2525! professionals having in-depth computer knowledge. Users are therefore
    2626! encouraged to load and test the software's suitability as regards their
    27 ! requirements in conditions enabling the security of their systems and/or 
    28 ! data to be ensured and,  more generally, to use and operate it in the 
    29 ! same conditions as regards security. 
    30 ! 
     27! requirements in conditions enabling the security of their systems and/or
     28! data to be ensured and,  more generally, to use and operate it in the
     29! same conditions as regards security.
     30!
    3131! The fact that you are presently reading this means that you have had
    3232! knowledge of the CeCILL-B license and that you accept its terms.
     
    3535!! summary: Library floating point precision module.
    3636!! author: J. Burgalat
    37 !! date: 2013-2015,2017
     37!! date: 2013-2015,2017,2022
    3838
    3939#ifdef HAVE_CONFIG_H
     
    4242
    4343#ifndef PREC
    44 #define PREC 64 
     44#define PREC 64
    4545#elif (PREC != 32 && PREC != 64 && PREC != 80)
    4646#undef PREC
     
    5252  !!
    5353  !! This module only defines a single variable [[mm_mprec(module):mm_wp(variable)]] which sets
    54   !! the kind of floating point value used in all other part of the library (REAL(kind=mm_wp) 
     54  !! the kind of floating point value used in all other part of the library (REAL(kind=mm_wp)
    5555  !! declaration statement).
    5656  IMPLICIT NONE
     
    5858#if (PREC == 32)
    5959  !> Size of floating point variables in the library (single).
    60   INTEGER, PUBLIC, PARAMETER :: mm_wp = SELECTED_REAL_KIND(p=6)  ! 32 bits
     60  INTEGER, PUBLIC, PARAMETER          :: mm_wp = SELECTED_REAL_KIND(p=6)  ! 32 bits
     61  CHARACTER(len=è), PUBLIC, PARAMETER :: mm_wp_s = "32 bits"
    6162#elif (PREC == 64)
    6263  !> Size of floating point variables in the library (double).
    63   INTEGER, PUBLIC, PARAMETER :: mm_wp = SELECTED_REAL_KIND(p=15) ! 64 bits
     64  INTEGER, PUBLIC, PARAMETER          :: mm_wp = SELECTED_REAL_KIND(p=15) ! 64 bits
     65  CHARACTER(len=7), PUBLIC, PARAMETER :: mm_wp_s = "64 bits"
    6466#elif (PREC == 80)
    6567  !> Size of floating point variables in the library (extended-double).
    66   INTEGER, PUBLIC, PARAMETER :: mm_wp = SELECTED_REAL_KIND(p=18) ! 80 bits
     68  INTEGER, PUBLIC, PARAMETER          :: mm_wp = SELECTED_REAL_KIND(p=18) ! 80 bits
     69  CHARACTER(len=7), PUBLIC, PARAMETER :: mm_wp_s = "80 bits"
    6770#endif
    6871END MODULE MM_MPREC
Note: See TracChangeset for help on using the changeset viewer.