/[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

revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 2474 by gross, Tue Jun 16 06:32:15 2009 UTC
# Line 28  extern "C" { Line 28  extern "C" {
28  #include "escript/Data.h"  #include "escript/Data.h"
29  #include "escript/UtilC.h"  #include "escript/UtilC.h"
30    
31  #include <boost/python/dict.hpp>  #include <boost/python/object.hpp>
32  #include <boost/shared_ptr.hpp>  #include <boost/shared_ptr.hpp>
33  #include <boost/python/extract.hpp>  #include <boost/python/extract.hpp>
34    
# Line 131  class SystemMatrixAdapter:public escript Line 131  class SystemMatrixAdapter:public escript
131    static int mapOptionToPaso(const int option);    static int mapOptionToPaso(const int option);
132    
133    /**    /**
134       \brief extract paso options from a dictionary       \brief extract paso options from SolutionOptions class
135    */    */
136    
137    FINLEY_DLL_API    FINLEY_DLL_API
138    static void dictToPasoOptions(Paso_Options* paso_options, const boost::python::dict& options);    static void escriptToPasoOptions(Paso_Options* paso_options, const boost::python::object& options);
139    
140    /**    /**
141         \brief copied diagonistic data back to the solver option.
142      */
143    
144      FINLEY_DLL_API
145      static void pasoToEscriptOptions(const Paso_Options* paso_options,boost::python::object& options);
146    
147      /**
148       \brief prints information about a system matrix       \brief prints information about a system matrix
149    */    */
150    FINLEY_DLL_API    FINLEY_DLL_API
# Line 152  class SystemMatrixAdapter:public escript Line 159  class SystemMatrixAdapter:public escript
159        solves the linear system this*out=in        solves the linear system this*out=in
160     */     */
161     FINLEY_DLL_API     FINLEY_DLL_API
162     virtual void setToSolution(escript::Data& out, escript::Data& in, const boost::python::dict& options) const;     virtual void setToSolution(escript::Data& out, escript::Data& in, boost::python::object& options) const;
163    
164     /**     /**
165         \brief         \brief

Legend:
Removed from v.1811  
changed lines
  Added in v.2474

  ViewVC Help
Powered by ViewVC 1.1.26