stats_init_tree_moist Subroutine

private subroutine stats_init_tree_moist()

Arguments

None

Calls

proc~~stats_init_tree_moist~~CallsGraph proc~stats_init_tree_moist stats_init_tree_moist proc~ncinfo ncinfo proc~stats_init_tree_moist->proc~ncinfo

Called by

proc~~stats_init_tree_moist~~CalledByGraph proc~stats_init_tree_moist stats_init_tree_moist proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_init_tree_moist proc~stats_main stats_main proc~stats_main->proc~stats_prepare program~udales uDALES program~udales->proc~stats_main

Source Code

    subroutine stats_init_tree_moist
      implicit none
      allocate(tr_qtt(ib:ie,jb:je,kb:ke))    ; tr_qtt    = 0.;
      allocate(tr_qtRt(ib:ie,jb:je,kb:ke))   ; tr_qtRt   = 0.;
      allocate(tr_qtAt(ib:ie,jb:je,kb:ke))   ; tr_qtAt   = 0.;
      allocate(tr_omegat(ib:ie,jb:je,kb:ke)) ; tr_omegat = 0.;
      call ncinfo( treeVars(ctrtree+ 1,:), 'tr_qt'     , 'Moisture source sink' , '1/s'     , 'tttt' )
      call ncinfo( treeVars(ctrtree+ 2,:), 'tr_qtR'    , 'Moisture source sink' , '1/s'     , 'tttt' )
      call ncinfo( treeVars(ctrtree+ 3,:), 'tr_qtA'    , 'Moisture source sink' , '1/s'     , 'tttt' )
      call ncinfo( treeVars(ctrtree+ 4,:), 'tr_omega'  , 'Decoupling factor'    , '-'       , 'tttt' )
      ctrtree = ctrtree+4
    end subroutine stats_init_tree_moist