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_output.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_output ========================
41
! =======================================================================
42
!
43
!
44
! * This module contains subroutines that manage icestate glt_output trace,
45
! i.e.
46
! - opening
47
! - closing
48
!
49
50
51
! ---------------------- BEGIN MODULE modi_glt_output -----------------------
52
53
!THXS_SFX!MODULE modi_glt_output
54
!THXS_SFX!INTERFACE
55
!THXS_SFX!
56
!THXS_SFX!SUBROUTINE opnout
57
!THXS_SFX!END SUBROUTINE opnout
58
!THXS_SFX!
59
!THXS_SFX!SUBROUTINE clsout
60
!THXS_SFX!END SUBROUTINE clsout
61
!THXS_SFX!
62
!THXS_SFX!END INTERFACE
63
!THXS_SFX!END MODULE modi_glt_output
64
65
! ----------------------- END MODULE modi_glt_output ------------------------
66
67
68
! -----------------------------------------------------------------------
69
! ------------------------- SUBROUTINE OPNOUT ---------------------------
70
!
71
! - Opens GELATO glt_output file (this file is called 'gltout'), and prints
72
! a kind introductory welcome message.
73
! - Also opens specific files for gltools_timers glt_output
74
!
75
SUBROUTINE
opnout
76
!
77
USE
modd_glt_param
78
!
79
IMPLICIT NONE
80
!
81
CHARACTER(20)
:: &
82
yfile
83
!
84
!
85
!
86
! 1. Initialize Gelato glt_output file
87
! =====================================
88
!
89
IF
(lwg)
THEN
90
WRITE
(*,*)
'Opening logical unit = '
,noutlu,
' for output'
91
IF
( noutlu/=6 )
THEN
92
WRITE
( yfile,
'(A,I3.3)'
)
'gltout_'
,gelato_myrank
93
OPEN
(unit=noutlu,file=yfile,form=
'FORMATTED'
)
94
ENDIF
95
!
96
WRITE
(noutlu,*) &
97
'*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*'
98
WRITE
(noutlu,*) &
99
' MERCI D'
'UTILISER LE MODELE DE GLACE DE MER GELATO !'
100
WRITE
(noutlu,*) &
101
' ! GRACIAS POR UTILIZAR EL MODELO DE HIELO DE MAR GELATO !'
102
WRITE
(noutlu,*) &
103
' THANK YOU FOR USING GELATO SEA ICE MODEL !'
104
WRITE
(noutlu,*) &
105
' TAKK FOR AT DU BRUKER GELATO SJ0 IS MODELL !'
106
WRITE
(noutlu,*)
' '
107
WRITE
(noutlu,*)
' . , '
108
WRITE
(noutlu,*)
' * , '
109
WRITE
(noutlu,*)
' ` *~.|,~* '
' '
110
WRITE
(noutlu,*)
' '
' ,~*~~* ` _ '
111
WRITE
(noutlu,*)
' ,* / \`* '
' // '
112
WRITE
(noutlu,*)
' ,* ; \,O. // '
113
WRITE
(noutlu,*)
' ,(:::)=// '
114
WRITE
(noutlu,*)
' ( `~(###) '
115
WRITE
(noutlu,*)
' %---'
'`"y '
116
WRITE
(noutlu,*)
' \ / '
117
WRITE
(noutlu,*)
' \ / '
118
WRITE
(noutlu,*)
' __)(__ hjw '
119
WRITE
(noutlu,*)
' '
'------` '
120
WRITE
(noutlu,*)
' '
121
WRITE
(noutlu,*) &
122
'*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*'
123
!
124
!
125
!
126
! 2. Initialize timers output file
127
! =================================
128
!
129
IF
( ntimlu/=6 )
THEN
130
WRITE
( yfile,
'(A,I3.3)'
)
'timers_'
,gelato_myrank
131
OPEN
(unit=ntimlu,file=yfile,form=
'FORMATTED'
)
132
ENDIF
133
!
134
ENDIF
135
!
136
END SUBROUTINE
opnout
137
!
138
! ----------------------- END SUBROUTINE OPNOUT -------------------------
139
! -----------------------------------------------------------------------
140
141
142
! -----------------------------------------------------------------------
143
! -------------------------- SUBROUTINE CLSOUT --------------------------
144
!
145
! * Closes GELATO glt_output file, and gltools_timers file
146
147
SUBROUTINE
clsout
148
!
149
USE
modd_glt_param
150
!
151
IMPLICIT NONE
152
!
153
!
154
IF
(lwg)
THEN
155
WRITE
(noutlu,*)
' '
156
WRITE
(noutlu,*)
' * *******************'
157
WRITE
(noutlu,*)
' * END OF GELATO RUN *'
158
WRITE
(noutlu,*)
' * *******************'
159
WRITE
(noutlu,*)
' '
160
!
161
IF
( noutlu/=6 )
CLOSE
(noutlu)
162
IF
( ntimlu/=6 )
CLOSE
(ntimlu)
163
ENDIF
164
!
165
END SUBROUTINE
clsout
166
!
167
! ------------------------ END SUBROUTINE CLSOUT ------------------------
168
! -----------------------------------------------------------------------
opnout
subroutine opnout
Definition:
modi_glt_output.F90:75
modd_glt_param
Definition:
modd_glt_param.F90:53
clsout
subroutine clsout
Definition:
modi_glt_output.F90:147
Generated on Fri May 13 2016 09:31:00 for SURFEX by
1.8.5