SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
lfiget_luout.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 ! #########
6  SUBROUTINE lfiget_luout(HPROGRAM,KLUOUT)
7 ! #######################################################
8 !
9 !!**** *LFIGET_LUOUT* - get output listing logical unit
10 !!
11 !! PURPOSE
12 !! -------
13 !!
14 !!** METHOD
15 !! ------
16 !!
17 !! EXTERNAL
18 !! --------
19 !!
20 !!
21 !! IMPLICIT ARGUMENTS
22 !! ------------------
23 !!
24 !! REFERENCE
25 !! ---------
26 !!
27 !!
28 !! AUTHOR
29 !! ------
30 !! V. Masson *Meteo France*
31 !!
32 !! MODIFICATIONS
33 !! -------------
34 !! Original 01/2004
35 !-------------------------------------------------------------------------------
36 !
37 !* 0. DECLARATIONS
38 ! ------------
39 !
40 !
41 USE yomhook ,ONLY : lhook, dr_hook
42 USE parkind1 ,ONLY : jprb
43 !
44 IMPLICIT NONE
45 !
46 !* 0.1 Declarations of arguments
47 ! -------------------------
48 !
49  CHARACTER(LEN=6), INTENT(IN) :: hprogram ! program calling GROUND
50 INTEGER, INTENT(OUT) :: kluout ! Logical unit of output listing
51 !
52 !* 0.2 Declarations of local variables
53 ! -------------------------------
54 !
55 INTEGER :: iresp ! IRESP : return-code if a problem appears
56 REAL(KIND=JPRB) :: zhook_handle
57  ! at the open of the file in LFI routines
58 !
59 !-------------------------------------------------------------------------------
60 IF (lhook) CALL dr_hook('LFIGET_LUOUT',0,zhook_handle)
61 kluout=10 ! This value is not used by FMATTR and FMOPEN routines, for which
62 IF (lhook) CALL dr_hook('LFIGET_LUOUT',1,zhook_handle)
63 ! ! logical unit start at number 11
64 !-------------------------------------------------------------------------------
65 !
66 END SUBROUTINE lfiget_luout
subroutine lfiget_luout(HPROGRAM, KLUOUT)
Definition: lfiget_luout.F90:6