SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
get_surf_undef.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 get_surf_undef(PUNDEF)
7 ! #################################
8 !
9 !!**** *GET_SURF_UNDEF* - routine to get undefined value of SURFEX
10 ! PURPOSE
11 !! -------
12 !!
13 !!** METHOD
14 !! -------
15 !!
16 !! REFERENCE
17 !! ---------
18 !!
19 !!
20 !! AUTHOR
21 !! ------
22 !! V. Masson *Meteo France*
23 !!
24 !! MODIFICATIONS
25 !! -------------
26 !! Original 10/2008
27 !-------------------------------------------------------------------------------
28 !
29 !* 0. DECLARATIONS
30 ! ------------
31 !
32 USE modd_surf_par, ONLY : xundef
33 !
34 !
35 USE yomhook ,ONLY : lhook, dr_hook
36 USE parkind1 ,ONLY : jprb
37 !
38 IMPLICIT NONE
39 !
40 !* 0.1 Declarations of arguments
41 ! -------------------------
42 !
43 REAL, INTENT(OUT) :: pundef
44 REAL(KIND=JPRB) :: zhook_handle
45 !
46 !* 0.2 Declarations of local variables
47 ! -------------------------------
48 !
49 !-------------------------------------------------------------------------------
50 !
51 IF (lhook) CALL dr_hook('GET_SURF_UNDEF',0,zhook_handle)
52 pundef = xundef
53 IF (lhook) CALL dr_hook('GET_SURF_UNDEF',1,zhook_handle)
54 !
55 !-------------------------------------------------------------------------------
56 !
57 END SUBROUTINE get_surf_undef
subroutine get_surf_undef(PUNDEF)