/[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 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2009 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  #if !defined  finley_SystemMatrixAdapter_20040610_H  #if !defined  finley_SystemMatrixAdapter_20040610_H
16  #define finley_SystemMatrixAdapter_20040610_H  #define finley_SystemMatrixAdapter_20040610_H
# Line 29  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 132  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 153  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.1388  
changed lines
  Added in v.2548

  ViewVC Help
Powered by ViewVC 1.1.26