/[escript]/trunk/paso/src/SystemMatrix.h
ViewVC logotype

Diff of /trunk/paso/src/SystemMatrix.h

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

revision 4872 by caltinay, Mon Apr 14 10:39:22 2014 UTC revision 4873 by caltinay, Wed Apr 16 06:38:51 2014 UTC
# Line 65  struct SystemMatrix : boost::enable_shar Line 65  struct SystemMatrix : boost::enable_shar
65    
66      void add(dim_t, index_t*, dim_t, dim_t, index_t*, dim_t, double*);      void add(dim_t, index_t*, dim_t, dim_t, index_t*, dim_t, double*);
67    
68      void makeZeroRowSums(double* left_over);      void makeZeroRowSums(double* left_over);
69    
70      /// copies the col_coupleBlock into row_coupleBlock.      /// copies the col_coupleBlock into row_coupleBlock.
71      /// WARNING: this method uses mpi_requests of the coupler attached to the      /// WARNING: this method uses mpi_requests of the coupler attached to the
72      /// matrix. No reordering on the received columns is performed.      /// matrix. No reordering on the received columns is performed.
73      /// In practice this means that components in      /// In practice this means that components in
# Line 109  struct SystemMatrix : boost::enable_shar Line 109  struct SystemMatrix : boost::enable_shar
109      void setPreconditioner(Options* options);      void setPreconditioner(Options* options);
110    
111      /// Applies the preconditioner.      /// Applies the preconditioner.
112      /// This method needs to be called within a parallel region.      /// This method needs to be called within a parallel region.
113      /// Barrier synchronization is performed before the evaluation to make      /// Barrier synchronization is performed before the evaluation to make
114      /// sure that the input vector is available      /// sure that the input vector is available
115      void solvePreconditioner(double* x, double* b);      void solvePreconditioner(double* x, double* b);
# Line 333  struct SystemMatrix : boost::enable_shar Line 333  struct SystemMatrix : boost::enable_shar
333      void* solver_p;      void* solver_p;
334    
335      /// this is only used for a trilinos matrix      /// this is only used for a trilinos matrix
336      void* trilinos_data;      void* trilinos_data;
337  };  };
338    
339    
# Line 345  void RHS_loadMM_toCSR(const char* filena Line 345  void RHS_loadMM_toCSR(const char* filena
345    
346    
347  } // namespace paso  } // namespace paso
348      
349  #endif // __PASO_SYSTEMMATRIX_H__  #endif // __PASO_SYSTEMMATRIX_H__
350    

Legend:
Removed from v.4872  
changed lines
  Added in v.4873

  ViewVC Help
Powered by ViewVC 1.1.26