PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
modd_cloudparn.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 1994-2025 CNRS, Meteo-France and Universite Paul Sabatier
2!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
3!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4!MNH_LIC for details. version 1.
5!-----------------------------------------------------------------
6!--------------- special set of characters for RCS information
7!-----------------------------------------------------------------
8! $Source$ $Revision$
9! MASDEV4_7 modd 2006/05/18 13:07:25
10!-----------------------------------------------------------------
11! ######################
13
14!$ACDC methods
15
16! ######################
17!
18!!**** *MODD_CLOUDPAR$n* - declaration of the model-n dependant Microphysics
19!! constants
20!!
21!! PURPOSE
22!! -------
23! The purpose of this declarative module is to declare the
24! model-n dependant Microhysics constants.
25!
26!!
27!!** IMPLICIT ARGUMENTS
28!! ------------------
29!! None
30!!
31!! REFERENCE
32!! ---------
33!! Book2 of documentation of Meso-NH (MODD_CLOUDPARn)
34!!
35!! AUTHOR
36!! ------
37!! E. Richard *Laboratoire d'Aerologie*
38!!
39!! MODIFICATIONS
40!! -------------
41!! Original 20/12/95
42!! J.-P. Pinty 29/11/02 add ICE2, ICE4, ELEC
43!!
44!-------------------------------------------------------------------------------
45!
46!* 0. DECLARATIONS
47! ------------
48!
50IMPLICIT NONE
51
53!
54 INTEGER :: nsplitr !< Number of required small time step integration
55 !! for rain sedimentation computation
56 INTEGER :: nsplitg !< Number of required small time step integration
57 !! for ice hydrometeor sedimentation computation
58!
59!
60END TYPE cloudpar_t
61
62TYPE(cloudpar_t), DIMENSION(JPMODELMAX), TARGET, SAVE :: cloudpar_model
63TYPE(cloudpar_t), POINTER, SAVE :: cloudparn => null()
64INTEGER, POINTER :: nsplitr=>null()
65INTEGER, POINTER :: nsplitg=>null()
66
67CONTAINS
68
69SUBROUTINE cloudpar_goto_model(KFROM, KTO)
70INTEGER, INTENT(IN) :: KFROM, KTO
71!
73!
74! Save current state for allocated arrays
75!
76! Current model is set to model KTO
77nsplitr=>cloudpar_model(kto)%NSPLITR
78nsplitg=>cloudpar_model(kto)%NSPLITG
79
80END SUBROUTINE cloudpar_goto_model
81
82END MODULE modd_cloudpar_n
type(cloudpar_t), dimension(jpmodelmax), target, save cloudpar_model
integer, pointer nsplitg
subroutine cloudpar_goto_model(kfrom, kto)
integer, pointer nsplitr
type(cloudpar_t), pointer, save cloudparn
integer, parameter jpmodelmax