/[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 2987 by gross, Tue Mar 16 01:32:43 2010 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 22  extern "C" { Line 22  extern "C" {
22  #include "finley/Assemble.h"  #include "finley/Assemble.h"
23  #include "paso/SystemMatrix.h"  #include "paso/SystemMatrix.h"
24  #include "paso/Transport.h"  #include "paso/Transport.h"
25  #include "paso/Paso_MPI.h"  #include "esysUtils/Esys_MPI.h"
26  }  }
27    
28  #include "FinleyError.h"  #include "FinleyError.h"
# Line 151  class MeshAdapter : public escript::Abst Line 151  class MeshAdapter : public escript::Abst
151    virtual bool onMasterProcessor() const;    virtual bool onMasterProcessor() const;
152    
153    FINLEY_DLL_API    FINLEY_DLL_API
154  #ifdef PASO_MPI  #ifdef ESYS_MPI
155    MPI_Comm    MPI_Comm
156  #else  #else
157    unsigned int    unsigned int
# Line 160  class MeshAdapter : public escript::Abst Line 160  class MeshAdapter : public escript::Abst
160    
161    /**    /**
162       \brief       \brief
      return this as an AbstractContinuousDomain.  
   */  
   inline const AbstractContinuousDomain& asAbstractContinuousDomain() const  
   {  
      return *(static_cast<const AbstractContinuousDomain*>(this));  
   }  
   
   /**  
      \brief  
      return this as an AbstractDomain.  
   */  
   inline const AbstractDomain& asAbstractDomain() const  
   {  
      return *(static_cast<const AbstractDomain*>(this));  
   }  
   
   /**  
      \brief  
163       Write the current mesh to a file with the given name.       Write the current mesh to a file with the given name.
164       \param fileName Input - The name of the file to write to.       \param fileName Input - The name of the file to write to.
165    */    */
# Line 605  class MeshAdapter : public escript::Abst Line 587  class MeshAdapter : public escript::Abst
587      creates a SystemMatrixAdapter stiffness matrix and initializes it with zeros:      creates a SystemMatrixAdapter stiffness matrix and initializes it with zeros:
588    */    */
589    FINLEY_DLL_API    FINLEY_DLL_API
590    SystemMatrixAdapter newSystemMatrix(    escript::ASM_ptr newSystemMatrix(
591                        const int row_blocksize,                        const int row_blocksize,
592                        const escript::FunctionSpace& row_functionspace,                        const escript::FunctionSpace& row_functionspace,
593                        const int column_blocksize,                        const int column_blocksize,
# Line 618  class MeshAdapter : public escript::Abst Line 600  class MeshAdapter : public escript::Abst
600    */    */
601    
602    FINLEY_DLL_API    FINLEY_DLL_API
603    TransportProblemAdapter newTransportProblem(    escript::ATP_ptr newTransportProblem(
604                        const bool useBackwardEuler,                        const bool useBackwardEuler,
605                        const int blocksize,                        const int blocksize,
606                        const escript::FunctionSpace& functionspace,                        const escript::FunctionSpace& functionspace,
# Line 684  class MeshAdapter : public escript::Abst Line 666  class MeshAdapter : public escript::Abst
666    virtual    virtual
667    int getApproximationOrder(const int functionSpaceCode) const;    int getApproximationOrder(const int functionSpaceCode) const;
668    
669      FINLEY_DLL_API
670      bool supportsContactElements() const;
671    
672    
673   protected:   protected:
674    
# Line 703  class MeshAdapter : public escript::Abst Line 688  class MeshAdapter : public escript::Abst
688  // Do not use this class. It is a convenience wrapper for the dataexporter.  // Do not use this class. It is a convenience wrapper for the dataexporter.
689  class FINLEY_DLL_API ReferenceElementSetWrapper {  class FINLEY_DLL_API ReferenceElementSetWrapper {
690   public:   public:
691    ReferenceElementSetWrapper(ElementTypeId id, index_t order,    ReferenceElementSetWrapper(Finley_ElementTypeId id, index_t order,
692                               index_t reducedOrder);                               index_t reducedOrder);
693    ~ReferenceElementSetWrapper();    ~ReferenceElementSetWrapper();
694    

Legend:
Removed from v.2987  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.26