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

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

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

revision 1044 by gross, Mon Mar 19 07:29:31 2007 UTC revision 1137 by gross, Thu May 10 08:11:31 2007 UTC
# Line 20  Line 20 
20  #include <string>  #include <string>
21  #include <map>  #include <map>
22  #include <boost/python/dict.hpp>  #include <boost/python/dict.hpp>
23    #include <boost/python/str.hpp>
24    
25  namespace escript {  namespace escript {
26  // class forward declarations  // class forward declarations
# Line 36  class AbstractDomain { Line 37  class AbstractDomain {
37    
38   public:   public:
39    
40      
41     // structure holding values for X, size and normal     // structure holding values for X, size and normal
42     typedef int StatusType;     typedef int StatusType;
43     struct ValueBuffer     // struct ValueBuffer
44     {     // {
45         StatusType m_status;     //    StatusType m_status;
46         boost::shared_ptr<Data> m_data;     //    boost::shared_ptr<Data> m_data;
47     };     //};
48     typedef struct ValueBuffer ValueBuffer;     // typedef struct ValueBuffer ValueBuffer;
49    
50     //     //
51     // map from function space type code to value buffer     // map from function space type code to value buffer
52     typedef std::map<int, ValueBuffer> BufferMapType;     // typedef std::map<int, ValueBuffer> BufferMapType;
53    
54    
55    /**    /**
# Line 101  class AbstractDomain { Line 102  class AbstractDomain {
102    
103    /**    /**
104       \brief       \brief
105         Return a description for this domain for python.
106      */
107      ESCRIPT_DLL_API
108      const boost::python::str str() const;
109      
110      /**
111         \brief
112       Return a description for the given function space type code.       Return a description for the given function space type code.
113    */    */
114    ESCRIPT_DLL_API    ESCRIPT_DLL_API
# Line 355  class AbstractDomain { Line 363  class AbstractDomain {
363   private:   private:
364    
365     // buffer for coordinates used by function spaces     // buffer for coordinates used by function spaces
366     BufferMapType m_x_buffer;     //BufferMapType m_x_buffer;
367    
368     // buffer for normal vectors used by function spaces     // buffer for normal vectors used by function spaces
369     BufferMapType m_normal_buffer;     //BufferMapType m_normal_buffer;
370    
371     // buffer for normal element size used by function spaces     // buffer for normal element size used by function spaces
372     BufferMapType m_size_buffer;     //BufferMapType m_size_buffer;
373    
374  };  };
375    

Legend:
Removed from v.1044  
changed lines
  Added in v.1137

  ViewVC Help
Powered by ViewVC 1.1.26