/[escript]/temp_trunk_copy/escript/src/NullDomain.h
ViewVC logotype

Diff of /temp_trunk_copy/escript/src/NullDomain.h

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

revision 615 by elspeth, Wed Mar 22 02:12:00 2006 UTC revision 757 by woo409, Mon Jun 26 13:12:56 2006 UTC
# Line 12  Line 12 
12    
13  #if !defined escript_NullDomain_20040604_H  #if !defined escript_NullDomain_20040604_H
14  #define escript_NullDomain_20040604_H  #define escript_NullDomain_20040604_H
15    #include "system_dep.h"
16    
17  #include "AbstractDomain.h"  #include "AbstractDomain.h"
18    
# Line 42  class NullDomain : public AbstractDomain Line 43  class NullDomain : public AbstractDomain
43       Default constructor for NullDomain.       Default constructor for NullDomain.
44    
45    */    */
46      ESCRIPT_DLL_API
47    NullDomain();    NullDomain();
48    
49    /**    /**
# Line 49  class NullDomain : public AbstractDomain Line 51  class NullDomain : public AbstractDomain
51       Returns true if the given integer is a valid function space type       Returns true if the given integer is a valid function space type
52       for this domain.       for this domain.
53    */    */
54      ESCRIPT_DLL_API
55    virtual bool isValidFunctionSpaceType(int functionSpaceType) const;    virtual bool isValidFunctionSpaceType(int functionSpaceType) const;
56    
57    /**    /**
58       \brief       \brief
59       Return a description for this domain.       Return a description for this domain.
60    */    */
61      ESCRIPT_DLL_API
62    virtual std::string getDescription() const;    virtual std::string getDescription() const;
63    
64    /**    /**
65       \brief       \brief
66       Return a continuous FunctionSpace.       Return a continuous FunctionSpace.
67    */    */
68      ESCRIPT_DLL_API
69    virtual int getContinuousFunctionCode() const;    virtual int getContinuousFunctionCode() const;
70    
71    /**    /**
72       \brief       \brief
73       Return a function FunctionSpace.       Return a function FunctionSpace.
74    */    */
75      ESCRIPT_DLL_API
76    virtual int getFunctionCode() const;    virtual int getFunctionCode() const;
77    
78    /**    /**
79       \brief       \brief
80       Return a function on boundary FunctionSpace.       Return a function on boundary FunctionSpace.
81    */    */
82      ESCRIPT_DLL_API
83    virtual int getFunctionOnBoundaryCode() const;    virtual int getFunctionOnBoundaryCode() const;
84    
85    /**    /**
86       \brief       \brief
87       Return a FunctionSpace.       Return a FunctionSpace.
88    */    */
89      ESCRIPT_DLL_API
90    virtual int getFunctionOnContactZeroCode() const;    virtual int getFunctionOnContactZeroCode() const;
91    
92    /**    /**
93       \brief       \brief
94       Return a FunctionSpace.       Return a FunctionSpace.
95    */    */
96      ESCRIPT_DLL_API
97    virtual int getFunctionOnContactOneCode() const;    virtual int getFunctionOnContactOneCode() const;
98    
99    /**    /**
100       \brief       \brief
101       Return a FunctionSpace.       Return a FunctionSpace.
102    */    */
103      ESCRIPT_DLL_API
104    virtual int getSolutionCode() const;    virtual int getSolutionCode() const;
105    
106    /**    /**
107       \brief       \brief
108       Return a FunctionSpace.       Return a FunctionSpace.
109    */    */
110      ESCRIPT_DLL_API
111    virtual int getReducedSolutionCode() const;    virtual int getReducedSolutionCode() const;
112    
113    /**    /**
114       \brief       \brief
115       Return a FunctionSpace.       Return a FunctionSpace.
116    */    */
117      ESCRIPT_DLL_API
118    virtual int getDiracDeltaFunctionCode() const;    virtual int getDiracDeltaFunctionCode() const;
119    
120    /**    /**
# Line 111  class NullDomain : public AbstractDomain Line 123  class NullDomain : public AbstractDomain
123       \param functionSpaceCode Input - Code for the function space type.       \param functionSpaceCode Input - Code for the function space type.
124       \return pair, first - number of data points per sample, second - number of samples       \return pair, first - number of data points per sample, second - number of samples
125    */    */
126      ESCRIPT_DLL_API
127    virtual std::pair<int,int> getDataShape(int functionSpaceCode) const;    virtual std::pair<int,int> getDataShape(int functionSpaceCode) const;
128    
129    /**    /**
# Line 119  class NullDomain : public AbstractDomain Line 132  class NullDomain : public AbstractDomain
132       \param functionSpaceType Input - The function space type.       \param functionSpaceType Input - The function space type.
133       \param sampleNo Input - The sample number.       \param sampleNo Input - The sample number.
134    */    */
135      ESCRIPT_DLL_API
136    virtual int getTagFromSampleNo(int functionSpaceType, int sampleNo) const;    virtual int getTagFromSampleNo(int functionSpaceType, int sampleNo) const;
137    
138    /**    /**
# Line 127  class NullDomain : public AbstractDomain Line 141  class NullDomain : public AbstractDomain
141       \param functionSpaceType Input - The function space type.       \param functionSpaceType Input - The function space type.
142       \param sampleNo Input - The sample number.       \param sampleNo Input - The sample number.
143    */    */
144      ESCRIPT_DLL_API
145    virtual int getReferenceNoFromSampleNo(int functionSpaceType, int sampleNo) const;    virtual int getReferenceNoFromSampleNo(int functionSpaceType, int sampleNo) const;
146    
147    /**    /**
148       \brief       \brief
149    */    */
150      ESCRIPT_DLL_API
151    virtual int getDim() const;    virtual int getDim() const;
152    
153    /**    /**
154       \brief       \brief
155       Return true if given domains are equal.       Return true if given domains are equal.
156    */    */
157      ESCRIPT_DLL_API
158    virtual bool operator==(const AbstractDomain& other) const;    virtual bool operator==(const AbstractDomain& other) const;
159      ESCRIPT_DLL_API
160    virtual bool operator!=(const AbstractDomain& other) const;    virtual bool operator!=(const AbstractDomain& other) const;
161    
162   protected:   protected:

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

  ViewVC Help
Powered by ViewVC 1.1.26