VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
tridslv.f90 File Reference

Solve a tridiagonal system of equations. More...

Go to the source code of this file.

Functions/Subroutines

subroutine tridslv (a, d, b, c, jmin, jmax, mnd1, ns, nrhs)
 Solve a tridiagonal system of equations.
 

Detailed Description

Solve a tridiagonal system of equations.

Definition in file tridslv.f90.

Function/Subroutine Documentation

◆ tridslv()

subroutine tridslv ( real(rprec), dimension(ns,0:mnd1) a,
real(rprec), dimension(ns,0:mnd1) d,
real(rprec), dimension(ns,0:mnd1) b,
real(rprec), dimension(ns,0:mnd1, nrhs), intent(inout) c,
integer, dimension(0:mnd1), intent(in) jmin,
integer, intent(in) jmax,
integer, intent(in) mnd1,
integer, intent(in) ns,
integer, intent(in) nrhs )

Solve a tridiagonal system of equations.

Parameters
asup-diagonal coefficients
ddiagonal coefficients
bsub-diagonal coefficients
con entry: right-hand side; on exit: solution
jminminimum index in radial direction for which to solve
jmaxmaximum index in radial direction for which to solve
mnd1number of Fourier modes for which to solve this SIMULTANEOUSLY
nstotal radial size (ca. jmax-jmin)
nrhsnumber of right-hand sides for which to compute the solution

Definition at line 15 of file tridslv.f90.

Referenced by scalfor().

Here is the caller graph for this function: