NCEPLIBS-ip 5.2.0
Loading...
Searching...
No Matches
spvar.f File Reference

Compute variance by total wavenumber. More...

Go to the source code of this file.

Functions/Subroutines

subroutine spvar (i, m, q, qvar)
 Computes the variances by total wavenumber of a scalar field in spectral space.
 

Detailed Description

Compute variance by total wavenumber.

Author
Iredell
Date
92-10-31

Definition in file spvar.f.

Function/Subroutine Documentation

◆ spvar()

subroutine spvar (   i,
  m,
real, dimension((m+1)*((i+1)*m+2))  q,
real, dimension(0:(i+1)*m)  qvar 
)

Computes the variances by total wavenumber of a scalar field in spectral space.

Parameters
Ispectral domain shape (0 for triangular, 1 for rhomboidal)
Mspectral truncation
Q((M+1)*((I+1)*M+2)) scalar field
QVAR(0:(I+1)*M) variances
Author
Iredell
Date
92-10-31

Definition at line 15 of file spvar.f.