MONC
set_aer.F90
Go to the documentation of this file.
1 ! *****************************COPYRIGHT*******************************
2 ! (C) Crown copyright Met Office. All rights reserved.
3 ! For further details please refer to the file COPYRIGHT.txt
4 ! which you should have received as part of this distribution.
5 ! *****************************COPYRIGHT*******************************
6 !
7 ! Subroutine to set the grid used by the core radiation code
8 !
9 !------------------------------------------------------------------------------
10 SUBROUTINE set_aer( &
11 
12 ! Structures for the core radiation code interface
13  control, atm, dimen, spectrum, aer )
14 
15 USE rad_pcf
16 USE def_control, ONLY: strctrl
17 USE def_atm, ONLY: stratm
18 USE def_spectrum, ONLY: strspecdata
19 USE def_dimen, ONLY: strdim
20 USE def_aer, ONLY: straer, allocate_aer, allocate_aer_prsc
21 
22 IMPLICIT NONE
23 
24 ! Control options:
25 TYPE(strctrl), INTENT(IN) :: control
26 
27 ! Atmospheric properties:
28 TYPE(stratm), INTENT(IN) :: atm
29 
30 ! Dimensions:
31 TYPE(strdim), INTENT(IN) :: dimen
32 
33 ! Spectral data:
34 TYPE (StrSpecData), INTENT(IN) :: spectrum
35 
36 ! Boundary conditions:
37 TYPE(straer), INTENT(OUT) :: aer
38 
39 call allocate_aer(aer, dimen, spectrum)
40 CALL allocate_aer_prsc(aer, dimen, spectrum)
41 
42 
43 END SUBROUTINE set_aer
set_aer
subroutine set_aer(control, atm, dimen, spectrum, aer)
Definition: set_aer.F90:14