Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | List of all members
sll_o_solve_cyclic_tridiag Interface Reference

Solve tridiagonal system (double or complex) More...

Private Member Functions

subroutine sll_s_solve_cyclic_tridiag_double (cts, ipiv, b, n, x)
 Solves tridiagonal system. More...
 
subroutine solve_cyclic_tridiag_complex (cts, ipiv, b, n, x)
 Complex version of sll_s_solve_cyclic_tridiag_double. More...
 

Detailed Description

Solve tridiagonal system (double or complex)

Definition at line 72 of file sll_m_tridiagonal.F90.

Member Function/Subroutine Documentation

◆ sll_s_solve_cyclic_tridiag_double()

subroutine sll_s_solve_cyclic_tridiag_double ( target  cts,
intent(in)  ipiv,
dimension(n), target  b,
intent(in)  n,
dimension(n), target  x 
)
private

Solves tridiagonal system.

Author
Routine Author Name and Affiliation.

Computes the solution of:

     <center> <b> A x = b </b> </center>

     For a cyclic tridiagonal matrix A. The matrix cts is filled with
     the output of the function sll_s_setup_cyclic_tridiag.  Note that the
     call:

     sll_o_solve_cyclic_tridiag( cts, ipiv, b, n, b )

     is valid if you want run in-place and overwrite the right hand side
     with the solution.
Parameters
ctsa real array of size 7n where factorization information will be returned
[in]ipivan ineteger array of length n on wich pivoting information will be returned
bthe second member of the equation
nthe problem size
xthe solution vector

Definition at line 527 of file sll_m_tridiagonal.F90.

◆ solve_cyclic_tridiag_complex()

subroutine solve_cyclic_tridiag_complex ( target  cts,
intent(in)  ipiv,
dimension(n), target  b,
intent(in)  n,
dimension(n), target  x 
)
private

Complex version of sll_s_solve_cyclic_tridiag_double.

Parameters
ctsa real array of size 7n where factorization information will be returned
[in]ipivan ineteger array of length n on wich pivoting information will be returned
bthe second member of the equation
nthe problem size
xthe solution vector

Definition at line 602 of file sll_m_tridiagonal.F90.

    Report Typos and Errors