CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   free C code for large sparse matrix linear solver (https://www.cfd-online.com/Forums/main/13410-free-c-code-large-sparse-matrix-linear-solver.html)

ztdep May 3, 2007 12:43

free C code for large sparse matrix linear solver
 
Hi: Friends, i am busy with developing a CFD code with c++ language and Finite Volume Method. So would you please give me some information about the free code for large sparse matrix linear solver. Regards

Dominic May 3, 2007 12:56

Re: free C code for large sparse matrix linear sol
 
Try

1.PETSc: http://www-unix.mcs.anl.gov/petsc/petsc-as/

2.HYPRE: http://www.llnl.gov/CASC/linear_solvers/

3. SuperLU: http://crd.lbl.gov/~xiaoye/SuperLU/


ztdep May 3, 2007 20:42

Re: free C code for large sparse matrix linear sol
 
Thank you very much for your quick response, but i think it need time to master the packaes that you just mentioned. I want to know if there are some easy to study codes. regards

Luca May 4, 2007 16:19

Re: free C code for large sparse matrix linear sol
 
UMFPACK is quite simple but performs (if I'm not wrong) only direct LU decomposition. Luca

ankit May 18, 2007 11:00

Re: free C code for large sparse matrix linear sol
 
please send me sparse matrix in c

agg May 18, 2007 11:27

Re: free C code for large sparse matrix linear sol
 
http://www.cs.sandia.gov/CRF/aztec1.html

Rami May 21, 2007 04:11

Re: free C code for large sparse matrix linear sol
 
> please send me sparse matrix in c Here is a sample sparse matrix (in C, fortran, whatever)

1 0 0

0 2 0

0 0 3


rturtu May 24, 2007 14:14

Re: free C code for large sparse matrix linear sol *NM*
 


All times are GMT -4. The time now is 02:24.