CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   C code for node renumbering? (http://www.cfd-online.com/Forums/main/346-c-code-node-renumbering.html)

Matthew Cordery November 25, 1998 18:27

C code for node renumbering?
 
Anyone out there have any C code for node renumbering of a finite element mesh? (It's for bandwidth reduction)

Aldo Bonfiglioli December 21, 1998 07:10

Re: C code for node renumbering?
 
the PETSc developpers have translated F77 code from sparspack (I believe) into C using f2c; it's now part of the PETSc library http://www.mcs.anl.gov/Projects/petsc/petsc.html.

For some time I' ve been using:

ALGORITHM 582, COLLECTED ALGORITHMS FROM ACM. ALGORITHM APPEARED IN ACM-TRANS. MATH. SOFTWARE, VOL.8, NO. 2, JUN., 1982, P. 190. (http://www.math.psu.edu/dna/contents/toms.html)

which is in F77, but translating it into C should pose no problems, I believe.



All times are GMT -4. The time now is 22:33.