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

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

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

revision 102 by jgs, Wed Dec 15 07:08:39 2004 UTC revision 117 by jgs, Fri Apr 1 05:48:57 2005 UTC
# Line 12  Line 12 
12   *                                                                            *   *                                                                            *
13   ******************************************************************************   ******************************************************************************
14  */  */
15                                                                              
16  #if !defined  escript_AbstractContinuousDomain_20040528_H  #if !defined escript_AbstractContinuousDomain_20040528_H
17  #define escript_AbstractContinuousDomain_20040528_H  #define escript_AbstractContinuousDomain_20040528_H
18    
19  #include "escript/Data/AbstractDomain.h"  #include "escript/Data/AbstractDomain.h"
20  #include "escript/Data/AbstractSystemMatrix.h"  #include "escript/Data/AbstractSystemMatrix.h"
21  #include "escript/Data/Data.h"  #include "escript/Data/Data.h"
22    
23  #include <boost/python/tuple.hpp>  #include <boost/python/tuple.hpp>
24  #include <boost/python/object.hpp>  #include <boost/python/object.hpp>
25    
# Line 26  Line 27 
27  #include <vector>  #include <vector>
28    
29  namespace escript {  namespace escript {
30    
31  //  //
32  // Forward declaration  // Forward declaration
33  class FunctionSpace;  class FunctionSpace;
34    
35  /**  /**
36     \brief     \brief
37     AbstractContinuousDomain, base class for continuous domains.     AbstractContinuousDomain, base class for continuous domains.
38    
39     Description:     Description:
40     AbstractContinuousDomain, base class for continuous domains.     AbstractContinuousDomain, base class for continuous domains.
41    
42     NOTE: Most of the virtual functions would be pure virtual except     NOTE: Most of the virtual functions would be pure virtual except
43     boost.python requires a non abstract base class.     boost.python requires a non abstract base class.
44  */  */
45  class AbstractContinuousDomain:public AbstractDomain {  class AbstractContinuousDomain : public AbstractDomain {
46    
47   public:   public:
48    
# Line 70  class AbstractContinuousDomain:public Ab Line 74  class AbstractContinuousDomain:public Ab
74       Describe any exceptions thrown       Describe any exceptions thrown
75    */    */
76    virtual ~AbstractContinuousDomain();    virtual ~AbstractContinuousDomain();
   
77    /**    /**
78       \brief       \brief
79       Returns true if the given integer is a valid function space type       Returns true if the given integer is a valid function space type
# Line 122  class AbstractContinuousDomain:public Ab Line 125  class AbstractContinuousDomain:public Ab
125       Return a DiracDeltaFunction code       Return a DiracDeltaFunction code
126    */    */
127    virtual int getDiracDeltaFunctionCode() const;    virtual int getDiracDeltaFunctionCode() const;
   
128    /**    /**
129       \brief       \brief
130       return the identifier of the matrix type to be used for the global stiffness matrix when a particular solver, preconditioner       return the identifier of the matrix type to be used for the global stiffness matrix when a particular solver, preconditioner
131       and symmetric matrix is used.       and symmetric matrix is used.
132    */    */
133    virtual int getSystemMatrixTypeId(const int solver, const bool symmetry) const;    virtual int getSystemMatrixTypeId(const int solver, const bool symmetry) const;
134      /**
    /**  
135       \brief       \brief
136       copies the integrals of the function defined by arg into integrals.       copies the integrals of the function defined by arg into integrals.
137       arg has to be defined on this.       arg has to be defined on this.
138       has to be implemented by the Domain Adapter.       has to be implemented by the Domain Adapter.
139    */    */
140    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;
   
141    /**    /**
142       \brief       \brief
143       Return the domain as const AbstractContinuousDomain&       Return the domain as const AbstractContinuousDomain&
# Line 147  class AbstractContinuousDomain:public Ab Line 147  class AbstractContinuousDomain:public Ab
147   protected:   protected:
148    
149   private:   private:
150    
151  };  };
152    
153  } // end of namespace  } // end of namespace
154    
155  #endif  #endif

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

  ViewVC Help
Powered by ViewVC 1.1.26