Merge remote-tracking branch 'origin/release-v4.5.2'
[WRF.git] / var / da / da_define_structures / da_initialize_cv.inc
blob93f8494d3a6c28e3779f73cea77de8355a2d157f
1 subroutine da_initialize_cv(cv_size, cv)
3    !---------------------------------------------------------------------------
4    ! Purpose: Initialize components of control variable.
5    !---------------------------------------------------------------------------
7    implicit none
9    integer, intent(in)   :: cv_size
10    real,    intent(out)  :: cv(1:cv_size)    ! Control variable structure.
12    integer                              :: i
13    real                                 :: z, mean_cv, rms_cv, std_dev_cv
15    if (trace_use) call da_trace_entry("da_initialize_cv")
17    !---------------------------------------------------------------------------
18    ! [1.0] Initialize cv:
19    !---------------------------------------------------------------------------
21    cv = 0.0
23    if (trace_use) call da_trace_exit("da_initialize_cv")
25 end subroutine da_initialize_cv