🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.math.num-analysis
Article #80

Periodic Tridiagonal Solver

#80
From: Phil Chung
Date: Tue, 21 Jul 1992 03:33
22 lines
1506 bytes
i hope that this is not a FAQ.  i have just gotten a undergraduate
engineering degree and am "attempting" to pursue some research in CFD
before i go on to grad school.  my apologies if this question
is inappropriate for this news group.

i am trying to do some CFD using 4th order compact finite differences
(classical Pade scheme).  this method of finite differencing yields
4th order accuracy in space with only a 3 point stencil, i.e. a
tridiagonal system.  the problem i have is that when i want to
implement periodic boundary conditions, i get a tridiagonal system
with two extra terms on the first and last rows.  i have been told
that a periodic version of the Thomas algorithm exists somewhere out
there.  i was wondering if anyone knew where i could get a hold of
such a routine, either in C or FORTRAN (preferably in C, though).

thanks in advance,

phil chung
-- 
typical disclaimer: blah! blah! blah!

pkchung@acm.princeton.edu
Technical Details
Message-ID: <1992Jul21.033318.17920@Princeton.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!jvnc.net!princeton!stokes.princeton.edu!pkchung

Show Full Headers
Complete Article Headers
Newsgroups: sci.math.num-analysis
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!jvnc.net!princeton!stokes.princeton.edu!pkchung
From: pkchung@stokes.Princeton.EDU (Phil Chung)
Subject: Periodic Tridiagonal Solver
Message-ID: <1992Jul21.033318.17920@Princeton.EDU>
Originator: news@ernie.Princeton.EDU
Keywords: Compact Finite Differences, Periodic Thomas Algorithm
Sender: news@Princeton.EDU (USENET News System)
Nntp-Posting-Host: stokes.princeton.edu
Organization: Princeton University
Date: Tue, 21 Jul 1992 03:33:18 GMT
Lines: 22