CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches
mp_thompson_pre.F90
1
3
5
8
9 use machine, only : kind_phys
10
11 implicit none
12
13 public :: mp_thompson_pre_run
14
15 private
16
17 contains
18
22 subroutine mp_thompson_pre_run(ncol, nlev, tgrs, tgrs_save, errmsg, errflg)
23
24 implicit none
25
26 ! Interface variables
27 integer, intent(in ) :: ncol
28 integer, intent(in ) :: nlev
29 real(kind_phys), intent(in ) :: tgrs(:,:)
30 real(kind_phys), intent( out) :: tgrs_save(:,:)
31
32 ! CCPP error handling
33 character(len=*), intent( out) :: errmsg
34 integer, intent( out) :: errflg
35
36 ! Initialize the CCPP error handling variables
37 errmsg = ''
38 errflg = 0
39
40 ! Save current air temperature for tendency limiters in mp_thompson_post
41 tgrs_save = tgrs
42
43 end subroutine mp_thompson_pre_run
44
45end module mp_thompson_pre
This module contains the pre-processing of Thompson cloud microphysics.