Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
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... | |
Solve tridiagonal system (double or complex)
Definition at line 72 of file sll_m_tridiagonal.F90.
|
private |
Solves tridiagonal system.
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.
cts | a real array of size 7n where factorization information will be returned | |
[in] | ipiv | an ineteger array of length n on wich pivoting information will be returned |
b | the second member of the equation | |
n | the problem size | |
x | the solution vector |
Definition at line 527 of file sll_m_tridiagonal.F90.
|
private |
Complex version of sll_s_solve_cyclic_tridiag_double.
cts | a real array of size 7n where factorization information will be returned | |
[in] | ipiv | an ineteger array of length n on wich pivoting information will be returned |
b | the second member of the equation | |
n | the problem size | |
x | the solution vector |
Definition at line 602 of file sll_m_tridiagonal.F90.