OpenFAST
Wind turbine multiphysics simulator
Public Member Functions | List of all members
nwtc_lapack::lapack_gbsv Interface Reference

Computes the solution to system of linear equations A * X = B for GB matrices. More...

Public Member Functions

subroutine lapack_dgbsv (N, KL, KU, NRHS, AB, IPIV, B, ErrStat, ErrMsg)
 general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices. More...
 
subroutine lapack_sgbsv (N, KL, KU, NRHS, AB, IPIV, B, ErrStat, ErrMsg)
 general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices. More...
 

Detailed Description

Computes the solution to system of linear equations A * X = B for GB matrices.

Member Function/Subroutine Documentation

◆ lapack_dgbsv()

subroutine nwtc_lapack::lapack_gbsv::lapack_dgbsv ( integer, intent(in)  N,
integer, intent(in)  KL,
integer, intent(in)  KU,
integer, intent(in)  NRHS,
real(r8ki), dimension( :, : ), intent(inout)  AB,
integer, dimension( : ), intent(out)  IPIV,
real(r8ki), dimension( :, : ), intent(inout)  B,
integer(intki), intent(out)  ErrStat,
character(*), intent(out)  ErrMsg 
)

general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices.

use LAPACK_GBSV (nwtc_lapack::lapack_gbsv) instead of this specific function.

Parameters
[in]klThe number of subdiagonals within the band of A. KL >= 0.
[in]kuThe number of superdiagonals within the band of A. KU >= 0.
[in]nThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[in]nrhsThe number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
[in,out]abOn entry, the matrix A in band storage, in rows KL+1 to 2*KL+KU+1; rows 1 to KL of the array need not be set. The j-th column of A is stored in the j-th column of the array AB as follows: AB(KL+KU+1+i-j,j) = A(i,j) for max(1,j-KU)<=i<=min(N,j+KL) On exit, details of the factorization: U is stored as an upper triangular band matrix with KL+KU superdiagonals in rows 1 to KL+KU+1, and the multipliers used during the factorization are stored in rows KL+KU+2 to 2*KL+KU+1.
[in,out]bOn entry, the N-by-NRHS right hand side matrix B. On exit, if INFO = 0, the N-by-NRHS solution matrix X.
[out]ipivThe pivot indices that define the permutation matrix P; row i of the matrix was interchanged with row IPIV(i).
[out]errstatError level
[out]errmsgMessage describing error

◆ lapack_sgbsv()

subroutine nwtc_lapack::lapack_gbsv::lapack_sgbsv ( integer, intent(in)  N,
integer, intent(in)  KL,
integer, intent(in)  KU,
integer, intent(in)  NRHS,
real(siki), dimension( :, : ), intent(inout)  AB,
integer, dimension( : ), intent(out)  IPIV,
real(siki), dimension( :, : ), intent(inout)  B,
integer(intki), intent(out)  ErrStat,
character(*), intent(out)  ErrMsg 
)

general banded solve: Computes the solution to system of linear equations A * X = B for GB (general, banded) matrices.

use LAPACK_GBSV (nwtc_lapack::lapack_gbsv) instead of this specific function.

Parameters
[in]klThe number of subdiagonals within the band of A. KL >= 0.
[in]kuThe number of superdiagonals within the band of A. KU >= 0.
[in]nThe number of linear equations, i.e., the order of the matrix A. N >= 0.
[in]nrhsThe number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
[in,out]abOn entry, the matrix A in band storage, in rows KL+1 to 2*KL+KU+1; rows 1 to KL of the array need not be set. The j-th column of A is stored in the j-th column of the array AB as follows: AB(KL+KU+1+i-j,j) = A(i,j) for max(1,j-KU)<=i<=min(N,j+KL) On exit, details of the factorization: U is stored as an upper triangular band matrix with KL+KU superdiagonals in rows 1 to KL+KU+1, and the multipliers used during the factorization are stored in rows KL+KU+2 to 2*KL+KU+1.
[in,out]bOn entry, the N-by-NRHS right hand side matrix B. On exit, if INFO = 0, the N-by-NRHS solution matrix X.
[out]ipivThe pivot indices that define the permutation matrix P; row i of the matrix was interchanged with row IPIV(i).
[out]errstatError level
[out]errmsgMessage describing error

The documentation for this interface was generated from the following file: