stats_sgs_fluxes Subroutine

public subroutine stats_sgs_fluxes(usgs_o, vsgs_o, wsgs_o, thlsgs_o, qtsgs_o)

Arguments

Type IntentOptional Attributes Name
real, intent(out) :: usgs_o(ib:ie,jb:je,kb:ke+kh)
real, intent(out) :: vsgs_o(ib:ie,jb:je,kb:ke+kh)
real, intent(out) :: wsgs_o(ib:ie,jb:je,kb:ke+kh)
real, intent(out) :: thlsgs_o(ib:ie,jb:je,kb:ke+kh)
real, intent(out) :: qtsgs_o(ib:ie,jb:je,kb:ke+kh)

Calls

proc~~stats_sgs_fluxes~~CallsGraph proc~stats_sgs_fluxes stats_sgs_fluxes proc~stats_compute_sgs stats_compute_sgs proc~stats_sgs_fluxes->proc~stats_compute_sgs proc~stats_sgs_momentum stats_sgs_momentum proc~stats_sgs_fluxes->proc~stats_sgs_momentum

Called by

proc~~stats_sgs_fluxes~~CalledByGraph proc~stats_sgs_fluxes stats_sgs_fluxes proc~tests_sgs_statistics tests_sgs_statistics proc~tests_sgs_statistics->proc~stats_sgs_fluxes proc~execute_runmode_actions execute_runmode_actions proc~execute_runmode_actions->proc~tests_sgs_statistics program~udales uDALES program~udales->proc~execute_runmode_actions

Source Code

    subroutine stats_sgs_fluxes(usgs_o, vsgs_o, wsgs_o, thlsgs_o, qtsgs_o)
      implicit none
      real, intent(out) :: usgs_o(ib:ie,jb:je,kb:ke+kh)
      real, intent(out) :: vsgs_o(ib:ie,jb:je,kb:ke+kh)
      real, intent(out) :: wsgs_o(ib:ie,jb:je,kb:ke+kh)
      real, intent(out) :: thlsgs_o(ib:ie,jb:je,kb:ke+kh)
      real, intent(out) :: qtsgs_o(ib:ie,jb:je,kb:ke+kh)

      call stats_sgs_momentum(usgs_o, vsgs_o, wsgs_o)
      thlsgs_o = 0.
      qtsgs_o  = 0.
      if (ltempeq) call stats_compute_sgs(thlsgs_o, thlm(ib:ie,jb:je,kb-kh:ke+kh), ekh(ib:ie,jb:je,kb-kh:ke+kh))
      if (lmoist)  call stats_compute_sgs(qtsgs_o,  qtm(ib:ie,jb:je,kb-kh:ke+kh),  ekh(ib:ie,jb:je,kb-kh:ke+kh))
    end subroutine stats_sgs_fluxes