Ignore:
Timestamp:
Jul 29, 2024, 3:07:34 PM (8 weeks ago)
Author:
abarral
Message:

Put cvparam.h, fcg_gcssold.h, planete.h, tsoilnudge.h, YOECUMF.h into modules

File:
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/lmdz_cv.F90

    r5141 r5142  
    11! $Id$
     2
     3MODULE lmdz_cv
     4  !------------------------------------------------------------
     5  ! Parameters for convectL:
     6  ! (includes - microphysical parameters,
     7  !                     - parameters that control the rate of approach
     8  !               to quasi-equilibrium)
     9  !                     - noff & minorig (previously in input of convect1)
     10  !------------------------------------------------------------
     11
     12  IMPLICIT NONE; PRIVATE
     13  PUBLIC elcrit, tlcrit, entp, sigs, sigd, omtrain, omtsnow, coeffr, coeffs &
     14          , dtmax, cu, betad, alpha, damp, delta, noff, minorig, nl, nlp, nlm, &
     15          cv_param, cv_prelim, cv_feed, cv_undilute1, cv_trigger, cv_compress, &
     16          cv_undilute2, cv_closure, cv_mixing, cv_unsat, cv_yield, cv_uncompress
     17
     18  INTEGER noff, minorig, nl, nlp, nlm
     19  REAL elcrit, tlcrit
     20  REAL entp
     21  REAL sigs, sigd
     22  REAL omtrain, omtsnow, coeffr, coeffs
     23  REAL dtmax
     24  REAL cu
     25  REAL betad
     26  REAL alpha, damp
     27  REAL delta
     28
     29  !$OMP THREADPRIVATE(elcrit, tlcrit, entp, sigs, sigd, omtrain, omtsnow, coeffr, coeffs &
     30  !$OMP      , dtmax, cu, betad, alpha, damp, delta, noff, minorig, nl, nlp, nlm)
     31
     32CONTAINS
    233
    334SUBROUTINE cv_param(nd)
     
    3566  ! ***                   (DAMP MUST BE LESS THAN 1)                 ***
    3667
    37   include "cvparam.h"
    38   INTEGER nd
     68    INTEGER nd
    3969  CHARACTER (LEN = 20) :: modname = 'cv_routines'
    4070  CHARACTER (LEN = 80) :: abort_message
     
    93123  REAL cpx(len, nd)
    94124
    95   include "cvparam.h"
    96 
     125 
    97126  DO k = 1, nlp
    98127    DO i = 1, len
     
    136165  ! ================================================================
    137166
    138   include "cvparam.h"
    139 
     167 
    140168  ! inputs:
    141169  INTEGER len, nd
     
    254282  IMPLICIT NONE
    255283
    256   include "cvparam.h"
    257 
     284 
    258285  ! inputs:
    259286  INTEGER len, nd
     
    367394  ! -------------------------------------------------------------------
    368395
    369   include "cvparam.h"
    370 
     396 
    371397  ! inputs:
    372398  INTEGER len, nd, icb(len)
     
    394420  IMPLICIT NONE
    395421
    396   include "cvparam.h"
    397 
     422 
    398423  ! inputs:
    399424  INTEGER len, ncum, nd, nloc
     
    488513  ! ---------------------------------------------------------------------
    489514
    490   include "cvparam.h"
    491 
     515 
    492516  ! inputs:
    493517  INTEGER ncum, nd, nloc
     
    775799  REAL work(nloc)
    776800
    777   include "cvparam.h"
    778 
     801 
    779802  ! -------------------------------------------------------------------
    780803  ! Compute icbmax.
     
    842865  IMPLICIT NONE
    843866
    844   include "cvparam.h"
    845 
     867 
    846868  ! inputs:
    847869  INTEGER ncum, nd, nloc
     
    10921114  IMPLICIT NONE
    10931115
    1094   include "cvparam.h"
    1095 
     1116 
    10961117  ! inputs:
    10971118  INTEGER ncum, nd, nloc
     
    12921313  IMPLICIT NONE
    12931314
    1294   include "cvparam.h"
    1295 
     1315 
    12961316  ! inputs
    12971317  INTEGER ncum, nd, nloc
     
    16571677  IMPLICIT NONE
    16581678
    1659   include "cvparam.h"
    1660 
     1679 
    16611680  ! inputs:
    16621681  INTEGER len, ncum, nd, nloc
     
    16971716END SUBROUTINE cv_uncompress
    16981717
     1718
     1719END MODULE lmdz_cv
Note: See TracChangeset for help on using the changeset viewer.