SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
SURFEX
modd_dummy_surf_fieldsn.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
MODULE
modd_dummy_surf_fields_n
7
! ####################
8
!
9
!!**** *MODD_DUMMY_SURF_FIELDS* - declaration of dummy physiographic data arrays
10
!!
11
!! PURPOSE
12
!! -------
13
! The purpose of this declarative module is to specify the
14
! dummy physiographic data arrays.
15
!
16
!!
17
!! AUTHOR
18
!! ------
19
!! V. Masson *Meteo France*
20
!!
21
!! MODIFICATIONS
22
!! -------------
23
!! Original 03/2004
24
!-------------------------------------------------------------------------------
25
!
26
!* 0. DECLARATIONS
27
! ------------
28
!
29
!
30
USE
yomhook
,ONLY
:
lhook
,
dr_hook
31
USE
parkind1
,ONLY
:
jprb
32
!
33
IMPLICIT NONE
34
35
TYPE
dummy_surf_fields_t
36
!
37
INTEGER
:: ndummy_nbr
38
! ! number of dummy pgd fields chosen by user
39
CHARACTER(LEN=3)
,
DIMENSION(:)
,
POINTER
:: cdummy_area
40
! ! areas where dummy pgd fields are defined
41
! ! 'ALL' : everywhere
42
! ! 'SEA' : where sea exists
43
! ! 'LAN' : where land exists
44
! ! 'WAT' : where inland water exists
45
! ! 'NAT' : where natural or agricultural areas exist
46
! ! 'TWN' : where town areas exist
47
! ! 'STR' : where streets are present
48
! ! 'BLD' : where buildings are present
49
! !
50
CHARACTER(LEN=20)
,
DIMENSION(:)
,
POINTER
:: cdummy_name
51
! ! name of the dummy pgd fields (for information)
52
REAL
,
DIMENSION(:,:)
,
POINTER
:: xdummy_fields
53
! ! dummy pgd fields themselves
54
!
55
!-------------------------------------------------------------------------------
56
!
57
END TYPE
dummy_surf_fields_t
58
59
CONTAINS
60
!
61
!
62
SUBROUTINE
dummy_surf_fields_init
(YDUMMY_SURF_FIELDS)
63
TYPE
(
dummy_surf_fields_t
),
INTENT(INOUT)
:: YDUMMY_SURF_FIELDS
64
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
65
IF
(
lhook
)
CALL
dr_hook
(
"MODD_DUMMY_SURF_FIELDS_N:DUMMY_SURF_FIELDS_INIT"
,0,zhook_handle)
66
NULLIFY
(ydummy_surf_fields%CDUMMY_NAME)
67
NULLIFY
(ydummy_surf_fields%CDUMMY_AREA)
68
NULLIFY
(ydummy_surf_fields%XDUMMY_FIELDS)
69
ydummy_surf_fields%NDUMMY_NBR=0
70
IF
(
lhook
)
CALL
dr_hook
(
"MODD_DUMMY_SURF_FIELDS_N:DUMMY_SURF_FIELDS_INIT"
,1,zhook_handle)
71
END SUBROUTINE
dummy_surf_fields_init
72
73
74
END MODULE
modd_dummy_surf_fields_n
yomhook::dr_hook
Definition:
yomhook.F90:20
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
modd_dummy_surf_fields_n
Definition:
modd_dummy_surf_fieldsn.F90:6
modd_dummy_surf_fields_n::dummy_surf_fields_init
subroutine dummy_surf_fields_init(YDUMMY_SURF_FIELDS)
Definition:
modd_dummy_surf_fieldsn.F90:63
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
parkind1
Definition:
parkind1.F90:1
modd_dummy_surf_fields_n::dummy_surf_fields_t
Definition:
modd_dummy_surf_fieldsn.F90:35
yomhook
Definition:
yomhook.F90:1
Generated on Tue Jan 16 2018 16:23:29 for SURFEX v8.1 by
1.8.13