This module contains functions for averaging quantities which have the dimensions of space, and potentially species. For example, (y), (x), (x,y), (theta,x,y), (x,y,s) etc. The names of the interfaces are self-explanatory: for example, the function average_theta averages the theta dimension.
The quantities may or may not be distributed across processes. If they are not local, they must be distributed in the same way that the fields are distributed, i.e. in x and y only, and according to the same pattern.
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | b | ||
real, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (ntheta0, naky, nspec) | :: | a | ||
real, | intent(out), | dimension(nspec) | :: | avg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (ntheta0, naky) | :: | a | ||
real, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (ntheta0, naky) | :: | a | ||
complex, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (ntheta0, naky) | :: | a | ||
complex, | intent(in), | dimension (ntheta0, naky) | :: | b | ||
complex, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:ntgrid, ntheta0, naky) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:ntgrid, ntheta0, naky) | :: | b | ||
complex, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | b | ||
real, | intent(out), | dimension (:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
real, | intent(out), | dimension (:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | b | ||
complex, | intent(out), | dimension (:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:,:) | :: | b | ||
real, | intent(out), | dimension (:,:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:,:) | :: | a | ||
complex, | intent(out), | dimension (:,:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (-ntgrid:) | :: | a | ||
real, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:) | :: | a | ||
complex, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:) | :: | b | ||
real, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:) | :: | b | ||
complex, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:) | :: | f | ||
real, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (:,:) | :: | f | ||
complex, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (:,:) | :: | f | ||
complex, | intent(in), | dimension (:,:) | :: | g | ||
complex, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:,:) | :: | f | ||
real, | intent(out), | dimension (:,:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:) | :: | f | ||
real, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:,:) | :: | f | ||
real, | intent(out), | dimension (:,:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:ntgrid, ntheta0, naky) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:ntgrid, ntheta0, naky) | :: | b | ||
complex, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (ntheta0, naky) | :: | a | ||
complex, | intent(in), | dimension (ntheta0, naky) | :: | b | ||
complex, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (ntheta0, naky) | :: | a | ||
complex, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (ntheta0, naky) | :: | a | ||
real, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (ntheta0, naky, nspec) | :: | a | ||
real, | intent(out), | dimension(nspec) | :: | avg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | b | ||
real, | intent(out) | :: | avg | |||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:,:) | :: | a | ||
complex, | intent(out), | dimension (:,:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:,:) | :: | b | ||
real, | intent(out), | dimension (:,:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
real, | intent(out), | dimension (:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (-ntgrid:) | :: | a | ||
real, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:) | :: | b | ||
complex, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:) | :: | a | ||
complex, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:) | :: | b | ||
real, | intent(out) | :: | axb |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | b | ||
real, | intent(out), | dimension (:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | a | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | b | ||
complex, | intent(out), | dimension (:,:) | :: | axb_by_mode | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (:,:) | :: | f | ||
complex, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (:,:) | :: | f | ||
complex, | intent(in), | dimension (:,:) | :: | g | ||
complex, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:) | :: | f | ||
real, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:,:) | :: | f | ||
real, | intent(out), | dimension (:,:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:,:) | :: | f | ||
real, | intent(out), | dimension (:,:) | :: | favg | ||
logical, | intent(in) | :: | distributed |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension (:,:) | :: | f | ||
real, | intent(out), | dimension (:) | :: | favg | ||
logical, | intent(in) | :: | distributed |