fluxes Program

Variables

Type Attributes Name Initial
integer :: iargc
integer :: flxunit = 101
integer :: it
integer :: nstep
integer :: nspec
integer :: target_it
real :: tstart = 0.0
logical :: tstart_flag
character(len=500) :: line
character(len=500) :: flxfile
real, dimension(:), allocatable :: time
real, dimension(:, :), allocatable :: pflx
real, dimension(:, :), allocatable :: vflx
real, dimension(:, :), allocatable :: qflx
real, dimension(:), allocatable :: pflxavg
real, dimension(:), allocatable :: vflxavg
real, dimension(:), allocatable :: qflxavg
real, dimension(:), allocatable :: pi_over_q

Subroutines

subroutine time_average(t, it, flx, flxavg)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: t
integer, intent(in) :: it
real, intent(in), dimension(:, :) :: flx
real, intent(out), dimension(:) :: flxavg