NCEPLIBS-sp  2.5.0
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. More...
 

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.