/[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 3748 by caltinay, Thu Dec 15 07:36:19 2011 UTC revision 3750 by caltinay, Fri Dec 23 01:20:34 2011 UTC
# Line 16  Line 16 
16    
17  #include <ripley/RipleyDomain.h>  #include <ripley/RipleyDomain.h>
18    
 struct Paso_Pattern;  
   
19  namespace ripley {  namespace ripley {
20    
21  /**  /**
# Line 162  public: Line 160  public:
160  protected:  protected:
161      virtual dim_t getNumNodes() const { return m_N0*m_N1; }      virtual dim_t getNumNodes() const { return m_N0*m_N1; }
162      virtual dim_t getNumElements() const { return m_NE0*m_NE1; }      virtual dim_t getNumElements() const { return m_NE0*m_NE1; }
163        virtual dim_t getNumDOF() const;
164      virtual dim_t getNumFaceElements() const;      virtual dim_t getNumFaceElements() const;
165      virtual void assembleCoordinates(escript::Data& arg) const;      virtual void assembleCoordinates(escript::Data& arg) const;
166      virtual void assemblePDESingle(Paso_SystemMatrix* mat, escript::Data& rhs,      virtual void assemblePDESingle(Paso_SystemMatrix* mat, escript::Data& rhs,
# Line 180  protected: Line 179  protected:
179                                         escript::Data& in, bool reduced) const;                                         escript::Data& in, bool reduced) const;
180      virtual void interpolateNodesOnFaces(escript::Data& out, escript::Data& in,      virtual void interpolateNodesOnFaces(escript::Data& out, escript::Data& in,
181                                           bool reduced) const;                                           bool reduced) const;
182        virtual void nodesToDOF(escript::Data& out, escript::Data& in) const;
183    
184  private:  private:
185      void populateSampleIds();      void populateSampleIds();
186      int insertNeighbours(IndexVector& index, index_t node) const;      int insertNeighbours(IndexVector& index, index_t node) const;
187      void generateCouplePatterns(Paso_Pattern** colPattern,      void addToSystemMatrix(Paso_SystemMatrix* in, const IndexVector& nodes_Eq,
188                                  Paso_Pattern** rowPattern) const;              dim_t num_Eq, const IndexVector& nodes_Sol, dim_t num_Sol,
     void addToSystemMatrix(Paso_SystemMatrix* in, dim_t NN_Equa,  
             const IndexVector& Nodes_Equa, dim_t num_Equa, dim_t NN_Sol,  
             const IndexVector& Nodes_Sol, dim_t num_Sol,  
189              const std::vector<double>& array) const;              const std::vector<double>& array) const;
190    
191      /// total number of elements in each dimension      /// total number of elements in each dimension
# Line 214  private: Line 211  private:
211      IndexVector m_faceOffset;      IndexVector m_faceOffset;
212    
213      /// vector of sample reference identifiers      /// vector of sample reference identifiers
214        IndexVector m_dofId;
215      IndexVector m_nodeId;      IndexVector m_nodeId;
216      IndexVector m_elementId;      IndexVector m_elementId;
217      IndexVector m_faceId;      IndexVector m_faceId;

Legend:
Removed from v.3748  
changed lines
  Added in v.3750

  ViewVC Help
Powered by ViewVC 1.1.26