FV3 Bundle
FtnTriDiagSpectrum.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine tridiagev (nn, diag, subd, eval, evec)
 Interfaces to be called from C++ for Fortran computation of eigenvalues and eigenvectors of symetric tri-diagonal matrix. More...
 

Function/Subroutine Documentation

◆ tridiagev()

subroutine tridiagev ( integer(c_int), intent(in)  nn,
real(c_double), dimension(nn), intent(in)  diag,
real(c_double), dimension(nn-1), intent(in)  subd,
real(c_double), dimension(nn), intent(inout)  eval,
real(c_double), dimension(nn,nn), intent(inout)  evec 
)

Interfaces to be called from C++ for Fortran computation of eigenvalues and eigenvectors of symetric tri-diagonal matrix.

Parameters
[in]nnSize of matrix
[in]diagDiagonal elements
[in]subdSub-diagonal elements
[in,out]evalEigenvalues
[in,out]evecEigenvectors

Definition at line 15 of file FtnTriDiagSpectrum.F90.