/[escript]/branches/doubleplusgood/paso/src/SparseMatrix_invMain.cpp
ViewVC logotype

Diff of /branches/doubleplusgood/paso/src/SparseMatrix_invMain.cpp

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

revision 3119 by gross, Fri Aug 13 08:38:06 2010 UTC revision 3120 by gross, Mon Aug 30 10:48:00 2010 UTC
# Line 26  Line 26 
26  #include "Paso.h"  #include "Paso.h"
27  #include "SparseMatrix.h"  #include "SparseMatrix.h"
28  #include "Solver.h"  #include "Solver.h"
29    #include "BlockOps.h"
30    
31  void Paso_SparseMatrix_invMain(Paso_SparseMatrix * A_p, double* inv_diag, int* pivot) {  void Paso_SparseMatrix_invMain(Paso_SparseMatrix * A_p, double* inv_diag, int* pivot) {
32     /*   inv_diag=MEMALLOC( A->numRows * A_p-> block_size,double);     /*   inv_diag=MEMALLOC( A->numRows * A_p-> block_size,double);
# Line 129  void Paso_SparseMatrix_applyBlockMatrix( Line 130  void Paso_SparseMatrix_applyBlockMatrix(
130     dim_t n=A_p->numRows;     dim_t n=A_p->numRows;
131     dim_t n_block=A_p->row_block_size;     dim_t n_block=A_p->row_block_size;
132        
133     Paso_Solver_applyBlockDiagonalMatrix(n_block,n,block_diag,pivot,x,b);     Paso_BlockOps_allMV(n_block,n,block_diag,pivot,x,b);
134  }  }
135    

Legend:
Removed from v.3119  
changed lines
  Added in v.3120

  ViewVC Help
Powered by ViewVC 1.1.26