/[escript]/trunk/escript/src/AbstractDomain.h
ViewVC logotype

Diff of /trunk/escript/src/AbstractDomain.h

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

revision 117 by jgs, Fri Apr 1 05:48:57 2005 UTC revision 153 by jgs, Tue Oct 25 01:51:20 2005 UTC
# Line 18  Line 18 
18    
19  #include <string>  #include <string>
20  #include <utility>  #include <utility>
21    #include <boost/python/dict.hpp>
22    
23  namespace escript {  namespace escript {
24    
25  //  //
26  // forward declarations of certain classes which will be used  // forward declarations
27  class Data;  class Data;
28  class AbstractSystemMatrix;  class AbstractSystemMatrix;
29  class FunctionSpace;  class FunctionSpace;
# Line 101  class AbstractDomain { Line 102  class AbstractDomain {
102       \brief       \brief
103       Return true if given domains are equal.       Return true if given domains are equal.
104    */    */
105    bool operator==(const AbstractDomain& other) const;    virtual bool operator==(const AbstractDomain& other) const;
106    bool operator!=(const AbstractDomain& other) const;    virtual bool operator!=(const AbstractDomain& other) const;
107    
108    /**    /**
109       \brief       \brief
# Line 233  class AbstractDomain { Line 234  class AbstractDomain {
234       This has to be implemented by the actual Domain adapter.       This has to be implemented by the actual Domain adapter.
235    */    */
236    virtual void setToGradient(escript::Data& grad, const escript::Data& arg) const;    virtual void setToGradient(escript::Data& grad, const escript::Data& arg) const;
   
237    /**    /**
238       \brief       \brief
239       Saves data arg to an OpenDX input file.       Saves a dictonary of Data objects to an OpenDX input file. The keywords are used as identifier
      considered as cell centered data.  
240    
241       This has to be implemented by the actual Domain adapter.       This has to be implemented by the actual Domain adapter.
242    */    */
243    virtual void saveDX(const std::string& filename,const escript::Data& arg) const;    virtual void saveDX(const std::string& filename,const boost::python::dict& arg) const;
244    
245    /**    /**
246       \brief       \brief
247       saves data arg to a VTK input file.       Saves a dictonary of Data objects to an VTK XML input file. The keywords are used as identifier
      considered as cell centered data.  
248    
249       This has to be implemented by the actual Domain adapter.       This has to be implemented by the actual Domain adapter.
250    */    */
251    virtual void saveVTK(const std::string& filename,const escript::Data& arg) const;    virtual void saveVTK(const std::string& filename,const boost::python::dict& arg) const;
252    
253    /**    /**
254       \brief       \brief

Legend:
Removed from v.117  
changed lines
  Added in v.153

  ViewVC Help
Powered by ViewVC 1.1.26