77 module tridiagonal_mod
79 use platform_mod,
only: r4_kind, r8_kind
84 real(r4_kind),
private,
allocatable,
dimension(:,:,:) :: e, g, cc
85 real(r4_kind),
private,
allocatable,
dimension(:,:) :: bb
89 real(r8_kind),
private,
allocatable,
dimension(:,:,:) :: e, g, cc
90 real(r8_kind),
private,
allocatable,
dimension(:,:) :: bb
105 module procedure tri_invert_r4
106 module procedure tri_invert_r8
130 #include "tridiagonal_r4.fh"
131 #include "tridiagonal_r8.fh"
133 end module tridiagonal_mod
136 !
close documentation grouping
logical, private init_tridiagonal_r4
true when fields in tridiag_r4 are allocated
type(tridiag_reals_r4) tridiag_r4
holds reals stored from r4_kind calls to tri_invert
subroutine close_tridiagonal
Releases memory used by the solver.
logical, private init_tridiagonal_r8
true when fields in tridiag_r8 are allocated
type(tridiag_reals_r8) tridiag_r8
holds reals stored from r8_kind calls to tri_invert
Interface to solve tridiagonal systems of equations for either kind value. Module level variables wil...