Changeset 13320
- Timestamp:
- 09/11/12 11:30:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/Solverx/SolverxSeq.cpp
r13313 r13320 75 75 #ifdef _HAVE_GSL_ 76 76 // the matrix will be modified by LU decomposition. Use gsl_A copy 77 for (int i=0; i<m*m; ++i) 78 std::cout << "EDF_fos_forward_for_solverx A["<< i << "]=" << inVal[i] << std::endl; 79 for (int i=0; i<m; ++i) 80 std::cout << "EDF_fos_forward_for_solverx b["<< i << "]=" << inVal[i+m*m] << std::endl; 77 81 double* Acopy = xNew<double>(m*m); 78 82 xMemCpy(Acopy,inVal,m*m); … … 189 193 gsl_permutation *p = NULL; 190 194 /*A will be modified by LU decomposition. Use copy*/ 195 for (int i=0; i<n*n; ++i) 196 std::cout << "SolverxSeq A["<< i << "]=" << A[i] << std::endl; 197 for (int i=0; i<n; ++i) 198 std::cout << "SolverxSeq b["<< i << "]=" << B[i] << std::endl; 191 199 double* Acopy = xNew<double>(n*n); 192 200 xMemCpy(Acopy,A,n*n);
Note:
See TracChangeset
for help on using the changeset viewer.