PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
mode_argslist_ll_phy.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 2023-2023 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!
7!! #######################
9!
10 IMPLICIT NONE
11!
12 CONTAINS
13!
14 SUBROUTINE add2dfield_ll_phy(D, TPLIST, PFIELD, HNAME)
15!! ###############################################
16!
17!!**** *ADD3DFIELD_ll_PHY* -
18!
19!! Purpose
20!! -------
21! This routine is used as an interface to ADD3DFIELD_ll for
22! unpacking horizontal dimensions
23!
24!! Reference
25!! ---------
26!
27! see PHYEX documentation
28!
29!! Implicit Arguments
30!! ------------------
31!
32! Module MODD_ARGSLIST :
33! LIST_ll : list of fields
34! DIMPHYEX_t: PHYEX dimensions
35!
36!! Author
37!! ------
38!
39! S. Riette
40!
41!! Modifications
42!! -------------
43! Original Oct 2026
44!
45!-------------------------------------------------------------------------------
46 USE mode_ll, ONLY: add2dfield_ll
47 USE modd_argslist_ll, ONLY : list_ll
48 USE modd_dimphyex, ONLY: dimphyex_t
49!
50 IMPLICIT NONE
51!
52 TYPE(dimphyex_t), INTENT(IN) :: D
53 TYPE(list_ll), POINTER, INTENT(INOUT) :: TPLIST ! list of fields
54 REAL, DIMENSION(D%NIT,D%NJT), TARGET, INTENT(IN) :: PFIELD ! field which is unpaked here
55! of fields
56 CHARACTER(LEN=*), INTENT(IN) :: HNAME ! Name of the field to be added
57
58 CALL add2dfield_ll(tplist, pfield, hname)
59
60 END SUBROUTINE add2dfield_ll_phy
61
62 SUBROUTINE add3dfield_ll_phy(D, TPLIST, PFIELD, HNAME)
63!! ###############################################
64!
65!!**** *ADD3DFIELD_ll_PHY* -
66!
67!! Purpose
68!! -------
69! This routine is used as an interface to ADD3DFIELD_ll for
70! unpacking horizontal dimensions
71!
72!! Reference
73!! ---------
74!
75! see PHYEX documentation
76!
77!! Implicit Arguments
78!! ------------------
79!
80! Module MODD_ARGSLIST :
81! LIST_ll : list of fields
82! DIMPHYEX_t: PHYEX dimensions
83!
84!! Author
85!! ------
86!
87! Q.Rodier
88!
89!! Modifications
90!! -------------
91! Original August, 3, 2023
92!
93!-------------------------------------------------------------------------------
94 USE mode_ll, ONLY: add3dfield_ll
95 USE modd_argslist_ll, ONLY : list_ll
96 USE modd_dimphyex, ONLY: dimphyex_t
97!
98 IMPLICIT NONE
99!
100 TYPE(dimphyex_t), INTENT(IN) :: D
101 TYPE(list_ll), POINTER, INTENT(INOUT) :: TPLIST ! list of fields
102 REAL, DIMENSION(D%NIT,D%NJT,D%NKT), TARGET, INTENT(IN) :: PFIELD ! field which is unpaked here
103! of fields
104 CHARACTER(LEN=*), INTENT(IN) :: HNAME ! Name of the field to be added
105
106 CALL add3dfield_ll(tplist, pfield, hname)
107
108 END SUBROUTINE add3dfield_ll_phy
109 SUBROUTINE add4dfield_ll_phy(D, TPLIST, PFIELD, HNAME)
110!! ###############################################
111!
112!!**** *ADD4DFIELD_ll_PHY* -
113!
114!! Purpose
115!! -------
116! This routine is used as an interface to ADD4DFIELD_ll for
117! unpacking horizontal dimensions
118!
119!! Reference
120!! ---------
121!
122! see PHYEX documentation
123!
124!! Implicit Arguments
125!! ------------------
126!
127! Module MODD_ARGSLIST :
128! LIST_ll : list of fields
129! DIMPHYEX_t: PHYEX dimensions
130!
131!! Author
132!! ------
133!
134! S. Riette
135!
136!! Modifications
137!! -------------
138! Original Oct 2026
139!
140!-------------------------------------------------------------------------------
141 USE mode_ll, ONLY: add4dfield_ll
142 USE modd_argslist_ll, ONLY : list_ll
143 USE modd_dimphyex, ONLY: dimphyex_t
144!
145 IMPLICIT NONE
146!
147 TYPE(dimphyex_t), INTENT(IN) :: D
148 TYPE(list_ll), POINTER, INTENT(INOUT) :: TPLIST ! list of fields
149 REAL, DIMENSION(:,:,:), TARGET, INTENT(IN) :: PFIELD ! field which is unpaked here
150! of fields
151 CHARACTER(LEN=*), INTENT(IN) :: HNAME ! Name of the field to be added
152 INTEGER :: I
153 i=SIZE(pfield,3)
154 CALL explicit_shape(pfield, i)
155 CONTAINS
156 SUBROUTINE explicit_shape(PFIELD, K)
157 INTEGER, INTENT(IN) :: K
158 REAL, DIMENSION(D%NIT, D%NJT, D%NKT, K), TARGET, INTENT(IN) :: PFIELD
159 CALL add4dfield_ll(tplist, pfield, hname)
160 END SUBROUTINE explicit_shape
161
162 END SUBROUTINE add4dfield_ll_phy
163
164END MODULE mode_argslist_ll_phy
subroutine explicit_shape(pfield, k)
subroutine add3dfield_ll_phy(d, tplist, pfield, hname)
subroutine add2dfield_ll_phy(d, tplist, pfield, hname)
subroutine add4dfield_ll_phy(d, tplist, pfield, hname)
subroutine add2dfield_ll(tplist, pfield, hname)
Definition mode_ll.F90:56
subroutine add4dfield_ll(tplist, pfield, hname)
Definition mode_ll.F90:84
subroutine add3dfield_ll(tplist, pfield, hname)
Definition mode_ll.F90:70