MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling

Solver for tridiagonal SLAE. More...

Go to the source code of this file.

Functions/Subroutines

subroutine dgtsl (n, c, d, e, b, info)
 

Detailed Description

Solver for tridiagonal SLAE.

Solves tridiagonal system of linear algebraic equations. FORTRAN90 version by John Burkardt. Originally from LINPACK.

Definition in file dgtsl.f90.

Function/Subroutine Documentation

◆ dgtsl()

subroutine dgtsl ( integer ( kind = 4 )  n,
real ( kind = 8 ), dimension(n)  c,
real ( kind = 8 ), dimension(n)  d,
real ( kind = 8 ), dimension(n)  e,
real ( kind = 8 ), dimension(n)  b,
integer ( kind = 4 )  info 
)
Parameters
norder of the tridiagonal matrix
bOn input, the right hand side. On output, the solution.
ccontains the subdiagonal of the tridiagonal matrix in entries C(2:N). On output, C is destroyed.
dOn input, the diagonal of the matrix. On output, D is destroyed.
econtains the superdiagonal of the tridiagonal matrix in entries E(1:N-1). On output E is destroyed.
infoerror flag

Definition at line 8 of file dgtsl.f90.

Referenced by integration::bblpreproc().