/[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 2640 by jfenwick, Mon Aug 31 06:22:10 2009 UTC revision 2898 by caltinay, Mon Feb 1 01:23:46 2010 UTC
# Line 1  Line 1 
1    
2  /*******************************************************  /*******************************************************
3  *  *
4  * Copyright (c) 2003-2009 by University of Queensland  * Copyright (c) 2003-2010 by University of Queensland
5  * Earth Systems Science Computational Center (ESSCC)  * Earth Systems Science Computational Center (ESSCC)
6  * http://www.uq.edu.au/esscc  * http://www.uq.edu.au/esscc
7  *  *
# Line 17  Line 17 
17  #include "system_dep.h"  #include "system_dep.h"
18    
19  extern "C" {  extern "C" {
20  #include "../Mesh.h"  #include "finley/Mesh.h"
21  #include "../Finley.h"  #include "finley/Finley.h"
22  #include "../Assemble.h"  #include "finley/Assemble.h"
23  #include "paso/SystemMatrix.h"  #include "paso/SystemMatrix.h"
24  #include "paso/SolverFCT.h"  #include "paso/SolverFCT.h"
25  #include "paso/Paso_MPI.h"  #include "paso/Paso_MPI.h"
# Line 43  extern "C" { Line 43  extern "C" {
43  #include <string>  #include <string>
44  #include <sstream>  #include <sstream>
45    
 //  
 // forward declarations  
 class Data;  
   
 //using namespace escript;  
   
46  namespace finley {  namespace finley {
47    
48  struct null_deleter  struct null_deleter
# Line 552  class MeshAdapter : public escript::Abst Line 546  class MeshAdapter : public escript::Abst
546    FINLEY_DLL_API    FINLEY_DLL_API
547    virtual void saveVTK(const std::string& filename,const boost::python::dict& arg,  const std::string& metadata, const std::string& metadata_schema) const;    virtual void saveVTK(const std::string& filename,const boost::python::dict& arg,  const std::string& metadata, const std::string& metadata_schema) const;
548    
549      FINLEY_DLL_API
550      virtual bool ownSample(int fs_code, index_t id) const;
551    
552    /**    /**
553       \brief       \brief
554       returns the function space representation of the type functionSpaceCode on this domain       returns the function space representation of the type functionSpaceCode on this domain
# Line 679  class MeshAdapter : public escript::Abst Line 676  class MeshAdapter : public escript::Abst
676    virtual    virtual
677    bool canTag(int functionSpaceCode) const;    bool canTag(int functionSpaceCode) const;
678    
679       /**
680       \brief returns the approximation order used for a function space functionSpaceCode
681       */
682    
683      FINLEY_DLL_API
684      virtual
685      int getApproximationOrder(const int functionSpaceCode) const;
686    
687    
688   protected:   protected:
689    
# Line 695  class MeshAdapter : public escript::Abst Line 700  class MeshAdapter : public escript::Abst
700    
701  };  };
702    
703    // Do not use this class. It is a convenience wrapper for the dataexporter.
704    class FINLEY_DLL_API ReferenceElementSetWrapper {
705     public:
706      ReferenceElementSetWrapper(ElementTypeId id, index_t order,
707                                 index_t reducedOrder);
708      ~ReferenceElementSetWrapper();
709    
710      Finley_ReferenceElementSet* getElementSet() const { return m_refSet; }
711    
712     private:
713      Finley_ReferenceElementSet* m_refSet;
714    };
715    
716    
717  } // end of namespace  } // end of namespace
718    
719  #endif  #endif

Legend:
Removed from v.2640  
changed lines
  Added in v.2898

  ViewVC Help
Powered by ViewVC 1.1.26