diagnostics_omega Module

A module which calculates and writes the growth rates and frequencies


Contents


Variables

Type Visibility Attributes Name Initial
complex, public, dimension (:,:), allocatable :: omega_average
logical, public :: debug = .false.
complex, public, dimension (:,:,:), allocatable :: omegahist
complex, private, allocatable, save, dimension (:,:,:) :: domega

Subroutines

public subroutine init_diagnostics_omega(gnostics)

Allocate arrays for storing omega history and averages

Arguments

Type IntentOptional Attributes Name
type(diagnostics_type), intent(in) :: gnostics

public subroutine finish_diagnostics_omega()

FIXME : Add documentation

Arguments

None

public subroutine write_omega(gnostics)

Write omega, omega_average as functions of kx, ky and time to the new netcdf file

Arguments

Type IntentOptional Attributes Name
type(diagnostics_type), intent(in) :: gnostics

public subroutine calculate_omega(gnostics)

Calculates omega and stores it in omegahist. Calculates omega_average, the average of omega over navg timesteps DD>The logic below was originally

Arguments

Type IntentOptional Attributes Name
type(diagnostics_type), intent(inout) :: gnostics