/[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 1204 by gross, Sat Jun 23 11:43:12 2007 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
1  // $Id$  
2  /*  /* $Id$ */
3   ************************************************************  
4   *          Copyright 2006 by ACcESS MNRF                   *  /*******************************************************
5   *                                                          *   *
6   *              http://www.access.edu.au                    *   *           Copyright 2003-2007 by ACceSS MNRF
7   *       Primary Business: Queensland, Australia            *   *       Copyright 2007 by University of Queensland
8   *  Licensed under the Open Software License version 3.0    *   *
9   *     http://www.opensource.org/licenses/osl-3.0.php       *   *                http://esscc.uq.edu.au
10   *                                                          *   *        Primary Business: Queensland, Australia
11   ************************************************************   *  Licensed under the Open Software License version 3.0
12  */   *     http://www.opensource.org/licenses/osl-3.0.php
13                                                                               *
14     *******************************************************/
15    
16  #if !defined finley_MeshAdapter_20040526_H  #if !defined finley_MeshAdapter_20040526_H
17  #define finley_MeshAdapter_20040526_H  #define finley_MeshAdapter_20040526_H
18  #include "system_dep.h"  #include "system_dep.h"
# Line 91  class MeshAdapter : public escript::Abst Line 93  class MeshAdapter : public escript::Abst
93    
94       Description:       Description:
95       Constructor for MeshAdapter. The pointer passed to MeshAdapter       Constructor for MeshAdapter. The pointer passed to MeshAdapter
96       is deleted using a call to Finley_Mesh_deallocate in the       is deleted using a call to Finley_Mesh_free in the
97       MeshAdapter destructor.       MeshAdapter destructor.
98    
99       Throws:       Throws:
# Line 100  class MeshAdapter : public escript::Abst Line 102  class MeshAdapter : public escript::Abst
102       \param finleyMesh Input - A pointer to the externally constructed       \param finleyMesh Input - A pointer to the externally constructed
103                                 finley mesh.The pointer passed to MeshAdapter                                 finley mesh.The pointer passed to MeshAdapter
104                                 is deleted using a call to                                 is deleted using a call to
105                                 Finley_Mesh_deallocate in the MeshAdapter                                 Finley_Mesh_free in the MeshAdapter
106                                 destructor.                                 destructor.
107    */    */
108    FINLEY_DLL_API    FINLEY_DLL_API
# Line 116  class MeshAdapter : public escript::Abst Line 118  class MeshAdapter : public escript::Abst
118    /**    /**
119       \brief       \brief
120       Destructor for MeshAdapter. As specified in the constructor       Destructor for MeshAdapter. As specified in the constructor
121       this calls Finley_Mesh_deallocate for the pointer given to the       this calls Finley_Mesh_free for the pointer given to the
122       constructor.       constructor.
123    */    */
124    FINLEY_DLL_API    FINLEY_DLL_API
# Line 124  class MeshAdapter : public escript::Abst Line 126  class MeshAdapter : public escript::Abst
126    
127    /**    /**
128       \brief       \brief
129         return the number of processors used for this domain
130      */
131      FINLEY_DLL_API
132      virtual int getMPISize() const;
133      /**
134         \brief
135         return the number MPI rank of this processor
136      */
137    
138      FINLEY_DLL_API
139      virtual int getMPIRank() const;
140    
141      /**
142         \brief
143       return this as an AbstractContinuousDomain.       return this as an AbstractContinuousDomain.
144    */    */
145    inline const AbstractContinuousDomain& asAbstractContinuousDomain() const    inline const AbstractContinuousDomain& asAbstractContinuousDomain() const
# Line 150  class MeshAdapter : public escript::Abst Line 166  class MeshAdapter : public escript::Abst
166    
167    /**    /**
168       \brief       \brief
169         dumps the mesh to a file with the given name.
170         \param fileName Input - The name of the file
171      */
172      FINLEY_DLL_API
173      void dump(const std::string& fileName) const;
174    
175      /**
176         \brief
177       return the pointer to the underlying finley mesh structure       return the pointer to the underlying finley mesh structure
178    */    */
179    FINLEY_DLL_API    FINLEY_DLL_API

Legend:
Removed from v.1204  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26