/[escript]/trunk/finley/src/CPPAdapter/MeshAdapter.h
ViewVC logotype

Diff of /trunk/finley/src/CPPAdapter/MeshAdapter.h

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

revision 97 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC
# Line 1  Line 1 
 // $Id$  
1  /*  /*
2   ******************************************************************************   ******************************************************************************
3   *                                                                            *   *                                                                            *
# Line 258  class MeshAdapter:public escript::Abstra Line 257  class MeshAdapter:public escript::Abstra
257    */    */
258    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;    virtual void setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const;
259    
  /**  
      \brief  
      return the identifier of the matrix type to be used for the global stiffness matrix when a particular solver, preconditioner  
      and symmetric matrix is used.  
      \param solver  
      \param symmetry  
   */  
   virtual int getSystemMatrixTypeId(const int solver, const bool symmetry) const;  
   
260    /**    /**
261       \brief       \brief
262       returns true if data on this domain and a function space of type functionSpaceCode has to       returns true if data on this domain and a function space of type functionSpaceCode has to
# Line 292  class MeshAdapter:public escript::Abstra Line 282  class MeshAdapter:public escript::Abstra
282    virtual void addPDEToSystem(    virtual void addPDEToSystem(
283                       SystemMatrixAdapter& mat, escript::Data& rhs,                       SystemMatrixAdapter& mat, escript::Data& rhs,
284                       const escript::Data& A, const escript::Data& B, const escript::Data& C,                       const escript::Data& A, const escript::Data& B, const escript::Data& C,
285                       const escript::Data& D, const escript::Data& X, const escript::Data& Y,                       const escript::Data& D, const escript::Data& X, const escript::Data& Y) const;
286                       const escript::Data& d, const escript::Data& y,  
                      const escript::Data& d_contact, const escript::Data& y_contact) const;  
287    /**    /**
288       \brief       \brief
289       adds a PDE onto the stiffness matrix mat and a rhs       adds a Robin boundary condition onto the stiffness matrix mat and a rhs
290      */
291      virtual void addRobinConditionsToSystem(
292                         SystemMatrixAdapter& mat, escript::Data& rhs,
293                         const escript::Data& d, const escript::Data& y) const;
294    
295      /**
296         \brief
297         adds a contact condition onto the stiffness matrix mat and a rhs
298    */    */
299    virtual void addPDEToRHS(escript::Data& rhs,    virtual void addContactToSystem(
300                       const escript::Data& X, const escript::Data& Y,                       SystemMatrixAdapter& mat, escript::Data& rhs,
301                       const escript::Data& y, const escript::Data& y_contact) const;                       const escript::Data& d, const escript::Data& y) const;
302    
303    /**    /**
304       \brief       \brief
305      creates a SystemMatrixAdapter stiffness matrix an initializes it with zeros:      creates a SystemMatrixAdapter stiffness matrix an initializes it with zeros:
# Line 311  class MeshAdapter:public escript::Abstra Line 309  class MeshAdapter:public escript::Abstra
309                        const escript::FunctionSpace& row_functionspace,                        const escript::FunctionSpace& row_functionspace,
310                        const int column_blocksize,                        const int column_blocksize,
311                        const escript::FunctionSpace& column_functionspace,                        const escript::FunctionSpace& column_functionspace,
312                        const int type) const;                        const int type,
313                          const bool sym) const;
   /**  
      \brief returns locations in the FEM nodes  
   */  
   virtual escript::Data getX() const;  
   /**  
      \brief return boundary normals at the quadrature point on the face elements  
   */  
   virtual escript::Data getNormal() const;  
   /**  
      \brief returns the element size  
   */  
   virtual escript::Data getSize() const;  
   
314    
315    // `virtual bool operator==(const escript::AbstractDomain& other) const;    // `virtual bool operator==(const escript::AbstractDomain& other) const;
316    bool operator==(const MeshAdapter& other) const;    bool operator==(const MeshAdapter& other) const;
317    bool operator!=(const MeshAdapter& other) const;    bool operator!=(const MeshAdapter& other) const;
   
318   protected:   protected:
319    
320   private:   private:

Legend:
Removed from v.97  
changed lines
  Added in v.100

  ViewVC Help
Powered by ViewVC 1.1.26