/[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

trunk/esys2/escript/src/Data/AbstractContinuousDomain.h revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC trunk/escript/src/AbstractContinuousDomain.h revision 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC
# Line 1  Line 1 
1  //$Id$  
2  /*  /* $Id$ */
3   ******************************************************************************  
4   *                                                                            *  /*******************************************************
5   *       COPYRIGHT  ACcESS 2004 -  All Rights Reserved                        *   *
6   *                                                                            *   *           Copyright 2003-2007 by ACceSS MNRF
7   * This software is the property of ACcESS. No part of this code              *   *       Copyright 2007 by University of Queensland
8   * may be copied in any form or by any means without the expressed written    *   *
9   * consent of ACcESS.  Copying, use or modification of this software          *   *                http://esscc.uq.edu.au
10   * by any unauthorised person is illegal unless that person has a software    *   *        Primary Business: Queensland, Australia
11   * license agreement with ACcESS.                                             *   *  Licensed under the Open Software License version 3.0
12   *                                                                            *   *     http://www.opensource.org/licenses/osl-3.0.php
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 "system_dep.h"
20  #include "escript/Data/AbstractSystemMatrix.h"  #include "AbstractDomain.h"
 #include "escript/Data/Data.h"  
   
 #include <boost/python/tuple.hpp>  
 #include <boost/python/object.hpp>  
21    
22  #include <string>  #include <string>
23  #include <vector>  #include <vector>
# Line 30  namespace escript { Line 26  namespace escript {
26    
27  //  //
28  // Forward declaration  // Forward declaration
29  class FunctionSpace;  class Data;
30    
31  /**  /**
32     \brief     \brief
# Line 59  class AbstractContinuousDomain : public Line 55  class AbstractContinuousDomain : public
55       Throws:       Throws:
56       Describe any exceptions thrown       Describe any exceptions thrown
57    */    */
58      ESCRIPT_DLL_API
59    AbstractContinuousDomain();    AbstractContinuousDomain();
60    
61    /**    /**
# Line 74  class AbstractContinuousDomain : public Line 71  class AbstractContinuousDomain : public
71       Throws:       Throws:
72       Describe any exceptions thrown       Describe any exceptions thrown
73    */    */
74      ESCRIPT_DLL_API
75    virtual ~AbstractContinuousDomain();    virtual ~AbstractContinuousDomain();
76    
77    /**    /**
# Line 81  class AbstractContinuousDomain : public Line 79  class AbstractContinuousDomain : public
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
80       for this domain.       for this domain.
81    */    */
82      ESCRIPT_DLL_API
83    virtual bool isValidFunctionSpaceType(int functionSpaceType) const;    virtual bool isValidFunctionSpaceType(int functionSpaceType) const;
84    
85    /**    /**
86       \brief       \brief
87       Return a description for this domain       Return a description for this domain
88    */    */
89      ESCRIPT_DLL_API
90    virtual std::string getDescription() const;    virtual std::string getDescription() const;
91    
92    /**    /**
93       \brief       \brief
94       Return a continuous FunctionSpace code       Return a continuous FunctionSpace code
95    */    */
96      ESCRIPT_DLL_API
97    virtual int getContinuousFunctionCode() const;    virtual int getContinuousFunctionCode() const;
98    
99    /**    /**
100       \brief       \brief
101       Return a functon FunctionSpace code       Return a continuous on reduced order FunctionSpace code
102    */    */
103      ESCRIPT_DLL_API
104      virtual int getReducedContinuousFunctionCode() const;
105    
106      /**
107         \brief
108         Return a function FunctionSpace code
109      */
110      ESCRIPT_DLL_API
111    virtual int getFunctionCode() const;    virtual int getFunctionCode() const;
112    
113    /**    /**
114       \brief       \brief
115         Return a function FunctionSpace code with reduced integration order
116      */
117      ESCRIPT_DLL_API
118      virtual int getReducedFunctionCode() const;
119    
120      /**
121         \brief
122       Return a function on boundary FunctionSpace code       Return a function on boundary FunctionSpace code
123    */    */
124      ESCRIPT_DLL_API
125    virtual int getFunctionOnBoundaryCode() const;    virtual int getFunctionOnBoundaryCode() const;
126    
127    /**    /**
128       \brief       \brief
129         Return a code for a function on boundary FunctionSpace with reduced integration order
130      */
131      ESCRIPT_DLL_API
132      virtual int getReducedFunctionOnBoundaryCode() const;
133    
134    
135      /**
136         \brief
137       Return a FunctionOnContactZero code       Return a FunctionOnContactZero code
138    */    */
139      ESCRIPT_DLL_API
140    virtual int getFunctionOnContactZeroCode() const;    virtual int getFunctionOnContactZeroCode() const;
141    
142    /**    /**
143       \brief       \brief
144         Return a FunctionOnContactZero for reduced integration order code
145      */
146      ESCRIPT_DLL_API
147      virtual int getReducedFunctionOnContactZeroCode() const;
148    
149      /**
150         \brief
151       Return a FunctionOnContactOne code       Return a FunctionOnContactOne code
152    */    */
153      ESCRIPT_DLL_API
154    virtual int getFunctionOnContactOneCode() const;    virtual int getFunctionOnContactOneCode() const;
155    
156    /**    /**
157       \brief       \brief
158         Return a FunctionOnContactOne for reduced integration order code
159      */
160      ESCRIPT_DLL_API
161      virtual int getReducedFunctionOnContactOneCode() const;
162    
163      /**
164         \brief
165       Return a Solution code       Return a Solution code
166    */    */
167      ESCRIPT_DLL_API
168    virtual int getSolutionCode() const;    virtual int getSolutionCode() const;
169    
170    /**    /**
171       \brief       \brief
172       Return a ReducedSolution code       Return a ReducedSolution code
173    */    */
174      ESCRIPT_DLL_API
175    virtual int getReducedSolutionCode() const;    virtual int getReducedSolutionCode() const;
176    
177    /**    /**
178       \brief       \brief
179       Return a DiracDeltaFunction code       Return a DiracDeltaFunction code
180    */    */
181      ESCRIPT_DLL_API
182    virtual int getDiracDeltaFunctionCode() const;    virtual int getDiracDeltaFunctionCode() const;
183    
184    /**    /**
185       \brief       \brief
186       return the identifier of the matrix type to be used for the global       return the identifier of the matrix type to be used for the global
187       stiffness matrix when a particular solver, preconditioner       stiffness matrix when a particular solver package
188       and symmetric matrix is used.       and symmetric matrix is used.
189    */    */
190    virtual int getSystemMatrixTypeId(const int solver, const bool symmetry) const;    ESCRIPT_DLL_API
191      virtual int getSystemMatrixTypeId(const int solver, const int package, const bool symmetry) const;
192    
193    /**    /**
194       \brief       \brief
# Line 151  class AbstractContinuousDomain : public Line 196  class AbstractContinuousDomain : public
196       arg has to be defined on this.       arg has to be defined on this.
197       has to be implemented by the Domain Adapter.       has to be implemented by the Domain Adapter.
198    */    */
199      ESCRIPT_DLL_API
200    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;
201    
202    /**    /**
203       \brief       \brief
204       Return the domain as const AbstractContinuousDomain&       Return the domain as const AbstractContinuousDomain&
205    */    */
206      ESCRIPT_DLL_API
207    static const  AbstractContinuousDomain& asAbstractContinuousDomain(const AbstractDomain& domain);    static const  AbstractContinuousDomain& asAbstractContinuousDomain(const AbstractDomain& domain);
208    
209   protected:   protected:

Legend:
Removed from v.149  
changed lines
  Added in v.1388

  ViewVC Help
Powered by ViewVC 1.1.26