NCEPLIBS-sp  2.3.3
spvar.f File Reference

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
I- INTEGER SPECTRAL DOMAIN SHAPE (0 FOR TRIANGULAR, 1 FOR RHOMBOIDAL)
M- INTEGER SPECTRAL TRUNCATION
Q- REAL ((M+1)*((I+1)*M+2)) SCALAR FIELD
QVAR- REAL (0:(I+1)*M) VARIANCES

Definition at line 16 of file spvar.f.