/[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 756 by elspeth, Wed Mar 22 02:12:00 2006 UTC revision 757 by woo409, Mon Jun 26 13:12:56 2006 UTC
# Line 15  Line 15 
15  #if !defined escript_AbstractContinuousDomain_20040528_H  #if !defined escript_AbstractContinuousDomain_20040528_H
16  #define escript_AbstractContinuousDomain_20040528_H  #define escript_AbstractContinuousDomain_20040528_H
17    
18    #include "system_dep.h"
19  #include "AbstractDomain.h"  #include "AbstractDomain.h"
20    
21  #include <string>  #include <string>
# Line 53  class AbstractContinuousDomain : public Line 54  class AbstractContinuousDomain : public
54       Throws:       Throws:
55       Describe any exceptions thrown       Describe any exceptions thrown
56    */    */
57      ESCRIPT_DLL_API
58    AbstractContinuousDomain();    AbstractContinuousDomain();
59    
60    /**    /**
# Line 68  class AbstractContinuousDomain : public Line 70  class AbstractContinuousDomain : public
70       Throws:       Throws:
71       Describe any exceptions thrown       Describe any exceptions thrown
72    */    */
73      ESCRIPT_DLL_API
74    virtual ~AbstractContinuousDomain();    virtual ~AbstractContinuousDomain();
75    
76    /**    /**
# Line 75  class AbstractContinuousDomain : public Line 78  class AbstractContinuousDomain : public
78       Returns true if the given integer is a valid function space type       Returns true if the given integer is a valid function space type
79       for this domain.       for this domain.
80    */    */
81      ESCRIPT_DLL_API
82    virtual bool isValidFunctionSpaceType(int functionSpaceType) const;    virtual bool isValidFunctionSpaceType(int functionSpaceType) const;
83    
84    /**    /**
85       \brief       \brief
86       Return a description for this domain       Return a description for this domain
87    */    */
88      ESCRIPT_DLL_API
89    virtual std::string getDescription() const;    virtual std::string getDescription() const;
90    
91    /**    /**
92       \brief       \brief
93       Return a continuous FunctionSpace code       Return a continuous FunctionSpace code
94    */    */
95      ESCRIPT_DLL_API
96    virtual int getContinuousFunctionCode() const;    virtual int getContinuousFunctionCode() const;
97    
98    /**    /**
99       \brief       \brief
100       Return a functon FunctionSpace code       Return a functon FunctionSpace code
101    */    */
102      ESCRIPT_DLL_API
103    virtual int getFunctionCode() const;    virtual int getFunctionCode() const;
104    
105    /**    /**
106       \brief       \brief
107       Return a function on boundary FunctionSpace code       Return a function on boundary FunctionSpace code
108    */    */
109      ESCRIPT_DLL_API
110    virtual int getFunctionOnBoundaryCode() const;    virtual int getFunctionOnBoundaryCode() const;
111    
112    /**    /**
113       \brief       \brief
114       Return a FunctionOnContactZero code       Return a FunctionOnContactZero code
115    */    */
116      ESCRIPT_DLL_API
117    virtual int getFunctionOnContactZeroCode() const;    virtual int getFunctionOnContactZeroCode() const;
118    
119    /**    /**
120       \brief       \brief
121       Return a FunctionOnContactOne code       Return a FunctionOnContactOne code
122    */    */
123      ESCRIPT_DLL_API
124    virtual int getFunctionOnContactOneCode() const;    virtual int getFunctionOnContactOneCode() const;
125    
126    /**    /**
127       \brief       \brief
128       Return a Solution code       Return a Solution code
129    */    */
130      ESCRIPT_DLL_API
131    virtual int getSolutionCode() const;    virtual int getSolutionCode() const;
132    
133    /**    /**
134       \brief       \brief
135       Return a ReducedSolution code       Return a ReducedSolution code
136    */    */
137      ESCRIPT_DLL_API
138    virtual int getReducedSolutionCode() const;    virtual int getReducedSolutionCode() const;
139    
140    /**    /**
141       \brief       \brief
142       Return a DiracDeltaFunction code       Return a DiracDeltaFunction code
143    */    */
144      ESCRIPT_DLL_API
145    virtual int getDiracDeltaFunctionCode() const;    virtual int getDiracDeltaFunctionCode() const;
146    
147    /**    /**
# Line 137  class AbstractContinuousDomain : public Line 150  class AbstractContinuousDomain : public
150       stiffness matrix when a particular solver package       stiffness matrix when a particular solver package
151       and symmetric matrix is used.       and symmetric matrix is used.
152    */    */
153      ESCRIPT_DLL_API
154    virtual int getSystemMatrixTypeId(const int solver, const int package, const bool symmetry) const;    virtual int getSystemMatrixTypeId(const int solver, const int package, const bool symmetry) const;
155    
156    /**    /**
# Line 145  class AbstractContinuousDomain : public Line 159  class AbstractContinuousDomain : public
159       arg has to be defined on this.       arg has to be defined on this.
160       has to be implemented by the Domain Adapter.       has to be implemented by the Domain Adapter.
161    */    */
162      ESCRIPT_DLL_API
163    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;
164    
165    /**    /**
166       \brief       \brief
167       Return the domain as const AbstractContinuousDomain&       Return the domain as const AbstractContinuousDomain&
168    */    */
169      ESCRIPT_DLL_API
170    static const  AbstractContinuousDomain& asAbstractContinuousDomain(const AbstractDomain& domain);    static const  AbstractContinuousDomain& asAbstractContinuousDomain(const AbstractDomain& domain);
171    
172   protected:   protected:

Legend:
Removed from v.756  
changed lines
  Added in v.757

  ViewVC Help
Powered by ViewVC 1.1.26