FV3 Bundle
type_mom_blk.F90
Go to the documentation of this file.
1 !----------------------------------------------------------------------
2 ! Module: type_mom_blk
3 ! Purpose: moments block derived type
4 ! Author: Benjamin Menetrier
5 ! Licensing: this code is distributed under the CeCILL-C license
6 ! Copyright © 2015-... UCAR, CERFACS, METEO-FRANCE and IRIT
7 !----------------------------------------------------------------------
9 
10 use tools_kinds, only: kind_real
11 
12 implicit none
13 
14 ! Moments block derived type
16  integer :: ne ! Ensemble size
17  integer :: nsub ! Number of sub-ensembles
18  real(kind_real),allocatable :: m2_1(:,:,:,:) ! Variance
19  real(kind_real),allocatable :: m2_2(:,:,:,:) ! Variance
20  real(kind_real),allocatable :: m11(:,:,:,:,:) ! Covariance
21  real(kind_real),allocatable :: m22(:,:,:,:,:) ! Fourth-order centered moment
22  real(kind_real),allocatable :: m2full(:,:,:) ! Full variance
23 end type mom_blk_type
24 
25 private
26 public :: mom_blk_type
27 
28 end module type_mom_blk
integer, parameter, public kind_real