/[escript]/trunk/ripley/src/Rectangle.h
ViewVC logotype

Diff of /trunk/ripley/src/Rectangle.h

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

revision 3776 by caltinay, Thu Jan 19 03:48:35 2012 UTC revision 3781 by caltinay, Mon Jan 23 22:18:49 2012 UTC
# Line 30  public: Line 30  public:
30    
31      /**      /**
32         \brief creates a rectangular mesh with n0 x n1 elements over the         \brief creates a rectangular mesh with n0 x n1 elements over the
33                rectangle [0,l0] x [0,l1].                rectangle [x0,x1] x [y0,y1].
34         \param n0,n1 number of elements in each dimension         \param n0,n1 number of elements in each dimension
35         \param l0,l1 length of each side of rectangle         \param x0,y0,x1,y1 coordinates of bottom-left and top-right corners
36         \param d0,d1 number of subdivisions in each dimension         \param d0,d1 number of subdivisions in each dimension
37      */      */
38      RIPLEY_DLL_API      RIPLEY_DLL_API
39      Rectangle(int n0, int n1, double l0, double l1, int d0, int d1);      Rectangle(int n0, int n1, double x0, double y0, double x1, double y1, int d0, int d1);
40    
41      /**      /**
42         \brief         \brief
# Line 212  private: Line 212  private:
212      /// total number of elements in each dimension      /// total number of elements in each dimension
213      dim_t m_gNE0, m_gNE1;      dim_t m_gNE0, m_gNE1;
214    
215        /// location of domain
216        double m_x0, m_y0;
217    
218      /// side lengths of domain      /// side lengths of domain
219      double m_l0, m_l1;      double m_l0, m_l1;
220    

Legend:
Removed from v.3776  
changed lines
  Added in v.3781

  ViewVC Help
Powered by ViewVC 1.1.26