/[escript]/trunk/paso/src/SparseMatrix_getSubmatrix.cpp
ViewVC logotype

Diff of /trunk/paso/src/SparseMatrix_getSubmatrix.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC revision 2551 by gross, Thu Jul 23 09:19:15 2009 UTC
# Line 50  Paso_SparseMatrix* Paso_SparseMatrix_get Line 50  Paso_SparseMatrix* Paso_SparseMatrix_get
50           sub_pattern=Paso_Pattern_getSubpattern(A->pattern,n_row_sub,n_col_sub,row_list,new_col_index);           sub_pattern=Paso_Pattern_getSubpattern(A->pattern,n_row_sub,n_col_sub,row_list,new_col_index);
51           if (Paso_noError()) {           if (Paso_noError()) {
52              /* create the return object */              /* create the return object */
53              out=Paso_SparseMatrix_alloc(type,sub_pattern,A->row_block_size,A->col_block_size);              out=Paso_SparseMatrix_alloc(type,sub_pattern,A->row_block_size,A->col_block_size,TRUE);
54              if (Paso_noError()) {              if (Paso_noError()) {
55                   #pragma omp parallel for private(i,k,m,subpattern_row,tmp) schedule(static)                   #pragma omp parallel for private(i,k,m,subpattern_row,tmp) schedule(static)
56                   for (i=0;i<n_row_sub;++i) {                   for (i=0;i<n_row_sub;++i) {

Legend:
Removed from v.2548  
changed lines
  Added in v.2551

  ViewVC Help
Powered by ViewVC 1.1.26