Changeset 1968 for trunk/LMDZ.TITAN/libf/chimtitan/solve_lapack.c
- Timestamp:
- Jul 7, 2018, 7:48:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/chimtitan/solve_lapack.c
r1965 r1968 1 /* Call to LAPACK Ematrix inversion dgesv */1 /* Call to LAPACK matrix inversion dgesv */ 2 2 /* ~60 times quicker than the Numerical Recipes standard solver */ 3 3 /* Author : Jan Vatant d'Ollone 2018 */ … … 5 5 #include "titan.h" 6 6 7 /* DGESV prototype */ 8 extern void dgesv_(int* n, int* nrhs, double* a, int* lda, int* ipiv, 9 double* b, int* ldb, int* info); 10 11 /*Main*/ 7 12 void solve_lapack( double ***aa, int m, int n0, int n1 ) 8 13 { … … 22 27 } 23 28 24 dgesv (&n,&n,a,&n,ipiv,b,&n,&ok); /* Lapack subroutine */29 dgesv_(&n,&n,a,&n,ipiv,b,&n,&ok); /* Lapack subroutine */ 25 30 26 31 if( ok > 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.