/[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 3699 by caltinay, Thu Dec 1 22:59:42 2011 UTC revision 3701 by caltinay, Fri Dec 2 02:04:58 2011 UTC
# Line 90  public: Line 90  public:
90    
91      /**      /**
92         \brief         \brief
        interpolates data given on source onto target where source and target  
        have to be given on the same domain  
     */  
     RIPLEY_DLL_API  
     virtual void interpolateOnDomain(escript::Data& target, const escript::Data& source) const;  
   
     /**  
        \brief  
93         writes information about the mesh to standard output         writes information about the mesh to standard output
94         \param full whether to print additional data         \param full whether to print additional data
95      */      */
# Line 141  public: Line 133  public:
133      RIPLEY_DLL_API      RIPLEY_DLL_API
134      virtual std::pair<double,double> getFirstCoordAndSpacing(dim_t dim) const;      virtual std::pair<double,double> getFirstCoordAndSpacing(dim_t dim) const;
135    
136        /**
137           \brief
138           adds a PDE onto the stiffness matrix mat and rhs
139        */
140        RIPLEY_DLL_API
141        virtual void addPDEToSystem(escript::AbstractSystemMatrix& mat,
142                escript::Data& rhs, const escript::Data& A, const escript::Data& B,
143                const escript::Data& C, const escript::Data& D,
144                const escript::Data& X, const escript::Data& Y,
145                const escript::Data& d, const escript::Data& y,
146                const escript::Data& d_contact, const escript::Data& y_contact,
147                const escript::Data& d_dirac, const escript::Data& y_dirac) const;
148    
149  protected:  protected:
150      virtual dim_t getNumNodes() const { return m_N0*m_N1; }      virtual dim_t getNumNodes() const { return m_N0*m_N1; }
151      virtual dim_t getNumElements() const { return m_NE0*m_NE1; }      virtual dim_t getNumElements() const { return m_NE0*m_NE1; }
152      virtual dim_t getNumFaceElements() const;      virtual dim_t getNumFaceElements() const;
153      virtual void assembleCoordinates(escript::Data& arg) const;      virtual void assembleCoordinates(escript::Data& arg) const;
154      virtual Paso_SystemMatrixPattern* getPattern(bool reducedRowOrder, bool reducedColOrder) const;      virtual Paso_SystemMatrixPattern* getPattern(bool reducedRowOrder, bool reducedColOrder) const;
155        virtual void interpolateNodesOnElements(escript::Data& out, escript::Data& in) const;
156        virtual void interpolateNodesOnFaces(escript::Data& out, escript::Data& in) const;
157    
158  private:  private:
159      void populateSampleIds();      void populateSampleIds();

Legend:
Removed from v.3699  
changed lines
  Added in v.3701

  ViewVC Help
Powered by ViewVC 1.1.26