/[escript]/trunk/finley/src/CPPAdapter/SystemMatrixAdapter.h
ViewVC logotype

Diff of /trunk/finley/src/CPPAdapter/SystemMatrixAdapter.h

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

trunk/esys2/finley/src/CPPAdapter/SystemMatrixAdapter.h revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC trunk/finley/src/CPPAdapter/SystemMatrixAdapter.h revision 471 by jgs, Fri Jan 27 01:33:02 2006 UTC
# Line 16  Line 16 
16  #if !defined  finley_SystemMatrixAdapter_20040610_H  #if !defined  finley_SystemMatrixAdapter_20040610_H
17  #define finley_SystemMatrixAdapter_20040610_H  #define finley_SystemMatrixAdapter_20040610_H
18    
19  #include "finley/CPPAdapter/SystemMatrixAdapter.h"  #include "SystemMatrixAdapter.h"
20  #include "escript/Data/AbstractSystemMatrix.h"  #include "escript/Data/AbstractSystemMatrix.h"
21  #include "escript/Data/Data.h"  #include "escript/Data/Data.h"
22  extern "C" {  extern "C" {
23  #include "paso/SystemMatrix.h"  #include "SystemMatrix.h"
24  }  }
25  #include <boost/python/dict.hpp>  #include <boost/python/dict.hpp>
26  #include <boost/shared_ptr.hpp>  #include <boost/shared_ptr.hpp>
# Line 92  class SystemMatrixAdapter:public escript Line 92  class SystemMatrixAdapter:public escript
92      \brief      \brief
93      nullifyRowsAndCols - calls Paso_SystemMatrix_nullifyRowsAndCols.      nullifyRowsAndCols - calls Paso_SystemMatrix_nullifyRowsAndCols.
94    */    */
95    void nullifyRowsAndCols(const escript::Data& row_q, const escript::Data& col_q, const double mdv) const;    void nullifyRowsAndCols(escript::Data& row_q, escript::Data& col_q, const double mdv) const;
96    
97    /**    /**
98       \brief writes the matrix to a file using the Matrix Market file format       \brief writes the matrix to a file using the Matrix Market file format
# Line 122  class SystemMatrixAdapter:public escript Line 122  class SystemMatrixAdapter:public escript
122        \brief        \brief
123        solves the linear system this*out=in        solves the linear system this*out=in
124     */     */
125     virtual void setToSolution(escript::Data& out, const escript::Data& in, const boost::python::dict& options) const;     virtual void setToSolution(escript::Data& out, escript::Data& in, const boost::python::dict& options) const;
126    
127     /**     /**
128         \brief         \brief
129         performs y+=this*x         performs y+=this*x
130     */     */
131     virtual void ypAx(escript::Data& y, const escript::Data& x) const;     virtual void ypAx(escript::Data& y, escript::Data& x) const;
132    
133     //     //
134     // pointer to the externally created finley mesh - system_matrix.     // pointer to the externally created finley mesh - system_matrix.

Legend:
Removed from v.150  
changed lines
  Added in v.471

  ViewVC Help
Powered by ViewVC 1.1.26