/[escript]/trunk/pasowrap/src/SystemMatrixAdapter.h
ViewVC logotype

Diff of /trunk/pasowrap/src/SystemMatrixAdapter.h

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

revision 3680 by jfenwick, Thu Nov 17 03:52:25 2011 UTC revision 3681 by caltinay, Fri Nov 18 04:54:15 2011 UTC
# Line 33  extern "C" { Line 33  extern "C" {
33    
34  namespace paso {  namespace paso {
35    
36  class SystemMatrixAdapter:public escript::AbstractSystemMatrix {  class SystemMatrixAdapter: public escript::AbstractSystemMatrix {
37    
38  /**  /**
39     \brief     \brief
# Line 124  class SystemMatrixAdapter:public escript Line 124  class SystemMatrixAdapter:public escript
124    virtual void resetValues() const;    virtual void resetValues() const;
125    
126    /**    /**
127       \brief maps escript options onto Paso options:       \brief maps escript options onto Paso options
128    */    */
129    PASOWRAP_DLL_API    PASOWRAP_DLL_API
130    static int mapOptionToPaso(const int option);    static int mapOptionToPaso(const int option);
131    
132    /**    /**
133         \brief returns the identifier of the matrix type to be used for the global
134         stiffness matrix when the given solver, preconditioner and package is
135         used
136      */
137      PASOWRAP_DLL_API
138      static int getSystemMatrixTypeId(const int solver, const int preconditioner, const int package, const bool symmetry, Esys_MPIInfo* mpiInfo);
139    
140      /**
141       \brief extract paso options from SolutionOptions class       \brief extract paso options from SolutionOptions class
142    */    */
143    
# Line 137  class SystemMatrixAdapter:public escript Line 145  class SystemMatrixAdapter:public escript
145    static void escriptToPasoOptions(Paso_Options* paso_options, const boost::python::object& options);    static void escriptToPasoOptions(Paso_Options* paso_options, const boost::python::object& options);
146    
147    /**    /**
148       \brief copied diagonistic data back to the solver option.       \brief copies diagnostic data back to the solver options
149    */    */
150    
151    PASOWRAP_DLL_API    PASOWRAP_DLL_API
152    static void pasoToEscriptOptions(const Paso_Options* paso_options,boost::python::object& options);    static void pasoToEscriptOptions(const Paso_Options* paso_options, boost::python::object& options);
153    
154    /**    /**
155       \brief prints information about a system matrix       \brief prints information about a system matrix

Legend:
Removed from v.3680  
changed lines
  Added in v.3681

  ViewVC Help
Powered by ViewVC 1.1.26