SABER
tools_wrfda Module Reference

Subroutines/functions list. More...

Data Types

interface  pseudoinv
 
interface  da_eof_decomposition
 
interface  da_eof_dominant_mode
 
interface  da_eof_recomposition
 

Functions/Subroutines

subroutine wrfda_pseudoinv (mpl, n, a, ainv, mmax, var_th)
 Compute the pseudo-inverse of a covariance matrix. More...
 
subroutine wrfda_da_eof_decomposition (mpl, n, a, evec, eval)
 Compute eigenvectors and eigenvalues of a covariance matrix. More...
 
integer function wrfda_da_eof_dominant_mode (n, eval, var_th)
 Compute dominant mode given a variance threshold. More...
 
subroutine wrfda_da_eof_recomposition (n, mmax, evec, eval, a)
 Recompute covariance matrix from a subset of eigenvectors and eigenvalues. More...
 

Detailed Description

Subroutines/functions list.

Instrumentation functions WRFDA functions

Function/Subroutine Documentation

◆ wrfda_da_eof_decomposition()

subroutine tools_wrfda::wrfda_da_eof_decomposition ( type(mpl_type), intent(inout)  mpl,
integer, intent(in)  n,
real(kind_real), dimension(n,n), intent(in)  a,
real(kind_real), dimension(n,n), intent(out)  evec,
real(kind_real), dimension(n), intent(out)  eval 
)
private

Compute eigenvectors and eigenvalues of a covariance matrix.

Parameters
[in,out]mplMPI data
[in]nMatrix size
[in]aMatrix
[out]evecEigenvectors
[out]evalEigenvalues

Definition at line 125 of file tools_wrfda.F90.

◆ wrfda_da_eof_dominant_mode()

integer function tools_wrfda::wrfda_da_eof_dominant_mode ( integer, intent(in)  n,
real(kind_real), dimension(n), intent(in)  eval,
real(kind_real), intent(in)  var_th 
)
private

Compute dominant mode given a variance threshold.

Parameters
[in]nNumber of eigenvalues
[in]evalEigenvalues
[in]var_thVariance threshold

Definition at line 170 of file tools_wrfda.F90.

◆ wrfda_da_eof_recomposition()

subroutine tools_wrfda::wrfda_da_eof_recomposition ( integer, intent(in)  n,
integer, intent(in)  mmax,
real(kind_real), dimension(n,n), intent(in)  evec,
real(kind_real), dimension(n), intent(in)  eval,
real(kind_real), dimension(n,n), intent(out)  a 
)
private

Recompute covariance matrix from a subset of eigenvectors and eigenvalues.

Parameters
[in]nMatrix size
[in]mmaxDominant mode
[in]evecEigenvectors of a
[in]evalEigenvalues of a
[out]aMatrix

Definition at line 215 of file tools_wrfda.F90.

◆ wrfda_pseudoinv()

subroutine tools_wrfda::wrfda_pseudoinv ( type(mpl_type), intent(inout)  mpl,
integer, intent(in)  n,
real(kind_real), dimension(n,n), intent(in)  a,
real(kind_real), dimension(n,n), intent(out)  ainv,
integer, intent(in), optional  mmax,
real(kind_real), intent(in), optional  var_th 
)
private

Compute the pseudo-inverse of a covariance matrix.

Parameters
[in,out]mplMPI data
[in]nMatrix size
[in]aMatrix
[out]ainvMatrix inverse
[in]mmaxDominant mode
[in]var_thVariance threshold

Definition at line 65 of file tools_wrfda.F90.