diagnostics_fluxes Module



Variables

Type Visibility Attributes Name Initial
integer, private :: fluxes_unit
real, private, dimension(:), allocatable :: pflux_vs_s
real, private, dimension(:), allocatable :: qflux_vs_s
real, private, dimension(:), allocatable :: vflux_vs_s

Subroutines

public subroutine write_fluxes_to_netcdf_file(nout, timer, write_to_netcdf_file)

Note that to obtain , , to write the fluxes to the txt files, we already calculate fluxes(kx,ky,z,s)

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nout
real, intent(inout), dimension(:) :: timer
logical, intent(in) :: write_to_netcdf_file

private subroutine write_fluxes_for_fluxtube(pflux_vs_kxkyzts, vflux_vs_kxkyzts, qflux_vs_kxkyzts, pflux_vs_kxkys, vflux_vs_kxkys, qflux_vs_kxkys)

TODO-GA: use g to f routine rather than g to h -- but check first TODO-GA: use g to f routine rather than g to h -- but check first

Arguments

Type IntentOptional Attributes Name
real, intent(out), dimension(:, :, :, :, :) :: pflux_vs_kxkyzts
real, intent(out), dimension(:, :, :, :, :) :: vflux_vs_kxkyzts
real, intent(out), dimension(:, :, :, :, :) :: qflux_vs_kxkyzts
real, intent(out), dimension(:, :, :) :: pflux_vs_kxkys
real, intent(out), dimension(:, :, :) :: vflux_vs_kxkys
real, intent(out), dimension(:, :, :) :: qflux_vs_kxkys

private subroutine write_fluxes_for_fluxtube_radialvariation(nout, pflux_vs_kxkyzts, vflux_vs_kxkyzts, qflux_vs_kxkyzts, write_to_netcdf_file)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nout
real, intent(out), dimension(:, :, :, :, :) :: pflux_vs_kxkyzts
real, intent(out), dimension(:, :, :, :, :) :: vflux_vs_kxkyzts
real, intent(out), dimension(:, :, :, :, :) :: qflux_vs_kxkyzts
logical, intent(in) :: write_to_netcdf_file

private subroutine write_fluxes_for_fullfluxsurface(pflux_vs_kxkyzts, vflux_vs_kxkyzts, qflux_vs_kxkyzts)

Arguments

Type IntentOptional Attributes Name
real, intent(out), dimension(:, :, :, :, :) :: pflux_vs_kxkyzts
real, intent(out), dimension(:, :, :, :, :) :: vflux_vs_kxkyzts
real, intent(out), dimension(:, :, :, :, :) :: qflux_vs_kxkyzts

public subroutine write_fluxes_to_ascii_file(pflux_vs_s, vflux_vs_s, qflux_vs_s)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: pflux_vs_s
real, intent(in), dimension(:) :: vflux_vs_s
real, intent(in), dimension(:) :: qflux_vs_s

private subroutine open_fluxes_ascii_file(restart)

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: restart

public subroutine init_diagnostics_fluxes(restart)

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: restart

public subroutine finish_diagnostics_fluxes()

Arguments

None