SURFEX
V8_0
Surfex V8_0 release
Main Page
Data Types List
Files
File List
File Members
All
Classes
Files
Functions
Variables
src
GELATO
modi_glt_inibud.F90
Go to the documentation of this file.
1
!SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2
!SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3
!SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4
!SFX_LIC for details. version 1.
5
!GLT_LIC The GELATO model is a seaice model used in stand-alone or embedded mode.
6
!GLT_LIC It has been developed by Meteo-France. The holder of GELATO is Meteo-France.
7
!GLT_LIC
8
!GLT_LIC This software is governed by the CeCILL-C license under French law and biding
9
!GLT_LIC by the rules of distribution of free software. See the CeCILL-C_V1-en.txt
10
!GLT_LIC (English) and CeCILL-C_V1-fr.txt (French) for details. The CeCILL is a free
11
!GLT_LIC software license, explicitly compatible with the GNU GPL
12
!GLT_LIC (see http://www.gnu.org/licenses/license-list.en.html#CeCILL)
13
!GLT_LIC
14
!GLT_LIC The CeCILL-C licence agreement grants users the right to modify and re-use the
15
!GLT_LIC software governed by this free software license. The exercising of this right
16
!GLT_LIC is conditional upon the obligation to make available to the community the
17
!GLT_LIC modifications made to the source code of the software so as to contribute to
18
!GLT_LIC its evolution.
19
!GLT_LIC
20
!GLT_LIC In consideration of access to the source code and the rights to copy, modify
21
!GLT_LIC and redistribute granted by the license, users are provided only with a limited
22
!GLT_LIC warranty and the software's author, the holder of the economic rights, and the
23
!GLT_LIC successive licensors only have limited liability. In this respect, the risks
24
!GLT_LIC associated with loading, using, modifying and/or developing or reproducing the
25
!GLT_LIC software by the user are brought to the user's attention, given its Free
26
!GLT_LIC Software status, which may make it complicated to use, with the result that its
27
!GLT_LIC use is reserved for developers and experienced professionals having in-depth
28
!GLT_LIC computer knowledge. Users are therefore encouraged to load and test the
29
!GLT_LIC suitability of the software as regards their requirements in conditions enabling
30
!GLT_LIC the security of their systems and/or data to be ensured and, more generally, to
31
!GLT_LIC use and operate it in the same conditions of security.
32
!GLT_LIC
33
!GLT_LIC The GELATO sofware is cureently distibuted with the SURFEX software, available at
34
!GLT_LIC http://www.cnrm.meteo.fr/surfex. The fact that you download the software deemed that
35
!GLT_LIC you had knowledge of the CeCILL-C license and that you accept its terms.
36
!GLT_LIC Attempts to use this software in a way not complying with CeCILL-C license
37
!GLT_LIC may lead to prosecution.
38
!GLT_LIC
39
! =======================================================================
40
! ========================= MODULE modi_glt_inibud ==========================
41
! =======================================================================
42
!
43
! Goal:
44
! -----
45
! This module contains a subroutine that initializes the energy
46
! budget that can be optionally computed in GELATO.
47
!
48
! Method:
49
! -------
50
! Whenever the development of the glt_gelato code takes place, it is
51
! important to check that the model does not lose/gain any energy.
52
! A loss/gain often indicates there is a bug, even if the code seems
53
! to run properly.
54
!
55
! Created : 2001/08 (D. Salas y Melia)
56
! The routine computes only the energy budget for the time
57
! being. Further development should also include the water
58
! budget.
59
!
60
! ---------------------- BEGIN MODULE modi_glt_inibud -----------------------
61
!
62
!THXS_SFX!MODULE modi_glt_inibud
63
!THXS_SFX!INTERFACE
64
!THXS_SFX!!
65
!THXS_SFX!SUBROUTINE glt_inibud(tpbud)
66
!THXS_SFX! USE modd_types_glt
67
!THXS_SFX! USE modd_glt_param
68
!THXS_SFX! TYPE(t_bud), DIMENSION(:,:), INTENT(inout) :: &
69
!THXS_SFX! tpbud
70
!THXS_SFX!END SUBROUTINE glt_inibud
71
!THXS_SFX!!
72
!THXS_SFX!END INTERFACE
73
!THXS_SFX!END MODULE modi_glt_inibud
74
!
75
! ----------------------- END MODULE modi_glt_inibud ------------------------
76
!
77
!
78
! -----------------------------------------------------------------------
79
! ------------------------- SUBROUTINE glt_inibud ---------------------------
80
!
81
SUBROUTINE
glt_inibud
(tpbud)
82
!
83
USE
modd_types_glt
84
USE
modd_glt_param
85
!
86
IMPLICIT NONE
87
!
88
TYPE(
t_bud
)
,
DIMENSION(:,:)
,
INTENT(inout)
:: &
89
tpbud
90
!
91
!
92
! * Set all the components of the budget to zero (see definitions in
93
! dmod_types.f90 module).
94
!
95
tpbud(:,:)%eni = 0.
96
tpbud(:,:)%enn = 0.
97
tpbud(:,:)%bii = 0.
98
tpbud(:,:)%nii = 0.
99
tpbud(:,:)%nli = 0.
100
tpbud(:,:)%hii = 0.
101
tpbud(:,:)%hli = 0.
102
tpbud(:,:)%hio = 0.
103
tpbud(:,:)%hlo = 0.
104
tpbud(:,:)%wii = 0.
105
tpbud(:,:)%wli = 0.
106
tpbud(:,:)%fwi = 0.
107
tpbud(:,:)%fwn = 0.
108
tpbud(:,:)%isi = 0.
109
tpbud(:,:)%isn = 0.
110
!
111
END SUBROUTINE
glt_inibud
112
!
113
! ----------------------- END SUBROUTINE glt_inibud -------------------------
114
! -----------------------------------------------------------------------
modd_types_glt::t_bud
Definition:
modd_types_glt.F90:402
modd_types_glt
Definition:
modd_types_glt.F90:65
glt_inibud
subroutine glt_inibud(tpbud)
Definition:
modi_glt_inibud.F90:81
modd_glt_param
Definition:
modd_glt_param.F90:53
Generated on Fri May 13 2016 09:31:00 for SURFEX by
1.8.5