/[escript]/trunk/esys2/bruce/src/Bruce/Bruce.h
ViewVC logotype

Diff of /trunk/esys2/bruce/src/Bruce/Bruce.h

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

revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC revision 151 by jgs, Thu Sep 22 01:55:00 2005 UTC
# Line 12  Line 12 
12   *                                                                            *   *                                                                            *
13   ******************************************************************************   ******************************************************************************
14  */  */
15                                                                              
16  #if !defined bruce_Bruce_20050829_H  #if !defined bruce_Bruce_20050829_H
17  #define bruce_Bruce_20050829_H  #define bruce_Bruce_20050829_H
18    
# Line 28  namespace bruce { Line 28  namespace bruce {
28    
29  /**  /**
30     \brief     \brief
31     Bruce implements the AbstractContinuousDomain     Bruce implements a structured AbstractContinuousDomain.
    interface for the Bruce library.  
32    
33     Description:     Description:
34     Bruce implements the AbstractContinuousDomain     Bruce implements a structured AbstractContinuousDomain.
    interface for the Bruce library.  
35  */  */
36    
37  class Bruce : public escript::AbstractContinuousDomain {  class Bruce : public escript::AbstractContinuousDomain {
# Line 126  class Bruce : public escript::AbstractCo Line 124  class Bruce : public escript::AbstractCo
124       Return a description for this domain.       Return a description for this domain.
125    */    */
126    virtual    virtual
127      inline
128    std::string    std::string
129    getDescription() const;    getDescription() const
130      {
131        return "Bruce";
132      }
133    
134    /**    /**
135       \brief       \brief
# Line 151  class Bruce : public escript::AbstractCo Line 153  class Bruce : public escript::AbstractCo
153       Return a continuous FunctionSpace code.       Return a continuous FunctionSpace code.
154    */    */
155    virtual    virtual
156      inline
157    int    int
158    getContinuousFunctionCode() const;    getContinuousFunctionCode() const
159      {
160        return ContinuousFunction;
161      }
162    
163    /**    /**
164       \brief       \brief
165       Return a function FunctionSpace code.       Return a function FunctionSpace code.
166    */    */
167    virtual    virtual
168      inline
169    int    int
170    getFunctionCode() const;    getFunctionCode() const
171      {
172        return Function;
173      }
174    
175    /**    /**
176       \brief       \brief
177       Return the spatial dimension of the mesh.       Return the spatial dimension of the mesh.
178    */    */
179    virtual    virtual
180      inline
181    int    int
182    getDim() const;    getDim() const
183      {
184        return m_origin.size();
185      }
186    
187    /**    /**
188       \brief       \brief
# Line 238  class Bruce : public escript::AbstractCo Line 252  class Bruce : public escript::AbstractCo
252       \brief       \brief
253       Check if all components of vector are zero.       Check if all components of vector are zero.
254    */    */
255      static
256    bool    bool
257    isZero(DimVec vec) const;    isZero(DimVec vec);
258    
259   private:   private:
260    

Legend:
Removed from v.150  
changed lines
  Added in v.151

  ViewVC Help
Powered by ViewVC 1.1.26