stats_init_tree_vel Subroutine

private subroutine stats_init_tree_vel()

Arguments

None

Calls

proc~~stats_init_tree_vel~~CallsGraph proc~stats_init_tree_vel stats_init_tree_vel proc~ncinfo ncinfo proc~stats_init_tree_vel->proc~ncinfo

Called by

proc~~stats_init_tree_vel~~CalledByGraph proc~stats_init_tree_vel stats_init_tree_vel proc~stats_prepare stats_prepare proc~stats_prepare->proc~stats_init_tree_vel 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_vel
      implicit none
      allocate(tr_ut(ib:ie,jb:je,kb:ke))     ; tr_ut     = 0.;
      allocate(tr_vt(ib:ie,jb:je,kb:ke))     ; tr_vt     = 0.;
      allocate(tr_wt(ib:ie,jb:je,kb:ke))     ; tr_wt     = 0.;
      call ncinfo( treeVars(ctrtree+ 1,:), 'tr_u'      , 'Drag in x'            , 'm/s^2'   , 'mttt' )
      call ncinfo( treeVars(ctrtree+ 2,:), 'tr_v'      , 'Drag in y'            , 'm/s^2'   , 'tmtt' )
      call ncinfo( treeVars(ctrtree+ 3,:), 'tr_w'      , 'Drag in z'            , 'm/s^2'   , 'ttmt' )
      ctrtree = ctrtree+3
    end subroutine stats_init_tree_vel