/[escript]/trunk/escript/src/AbstractDomain.h
ViewVC logotype

Diff of /trunk/escript/src/AbstractDomain.h

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

trunk/escript/src/AbstractDomain.h revision 964 by gross, Tue Feb 13 05:10:26 2007 UTC temp_trunk_copy/escript/src/AbstractDomain.h revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC
# Line 1  Line 1 
 // $Id$  
 /*  
  ************************************************************  
  *          Copyright 2006 by ACcESS MNRF                   *  
  *                                                          *  
  *              http://www.access.edu.au                    *  
  *       Primary Business: Queensland, Australia            *  
  *  Licensed under the Open Software License version 3.0    *  
  *     http://www.opensource.org/licenses/osl-3.0.php       *  
  *                                                          *  
  ************************************************************  
1    
2  */  /* $Id$ */
3    
4    /*******************************************************
5     *
6     *           Copyright 2003-2007 by ACceSS MNRF
7     *       Copyright 2007 by University of Queensland
8     *
9     *                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 escript_AbstractDomain_20040609_H  #if !defined escript_AbstractDomain_20040609_H
17  #define escript_AbstractDomain_20040609_H  #define escript_AbstractDomain_20040609_H
# Line 86  class AbstractDomain { Line 87  class AbstractDomain {
87    
88    /**    /**
89       \brief       \brief
90         return the number of processors used for this domain
91      */
92      ESCRIPT_DLL_API
93      virtual int getMPISize() const;
94      /**
95         \brief
96         return the number MPI rank of this processor
97      */
98    
99      ESCRIPT_DLL_API
100      virtual int getMPIRank() const;
101    
102    
103    
104      /**
105         \brief
106       Returns true if the given integer is a valid function space type       Returns true if the given integer is a valid function space type
107       for this domain.       for this domain.
108    */    */
# Line 135  class AbstractDomain { Line 152  class AbstractDomain {
152    
153    /**    /**
154       \brief       \brief
155         dumps the domain to an external file filename.
156    
157         This has to be implemented by the actual Domain adapter.
158      */
159      ESCRIPT_DLL_API
160      virtual void dump(const std::string& filename) const;
161    
162      /**
163         \brief
164       Return the number of data points per sample, and the number of samples as a pair.       Return the number of data points per sample, and the number of samples as a pair.
165    
166       This has to be implemented by the actual Domain adapter.       This has to be implemented by the actual Domain adapter.
# Line 156  class AbstractDomain { Line 182  class AbstractDomain {
182    
183    /**    /**
184       \brief       \brief
185         sets a map from a clear tag name to a tag key
186         \param name Input - tag name.
187         \param tag Input - tag key.
188      */
189      ESCRIPT_DLL_API
190      virtual void setTagMap(const std::string& name,  int tag);
191    
192      /**
193         \brief
194         Return the tag key for tag name.
195         \param name Input - tag name
196      */
197      ESCRIPT_DLL_API
198      virtual int getTag(const std::string& name) const;
199    
200      /**
201         \brief
202         Returns True if name is a defined tag name
203         \param name Input - tag name
204      */
205      ESCRIPT_DLL_API
206      virtual bool isValidTagName(const std::string& name) const;
207    
208      /**
209         \brief
210         Returns all tag names in a single string sperated by commas
211      */
212      ESCRIPT_DLL_API
213      virtual std::string showTagNames() const;
214    
215      /**
216         \brief
217       Return a borrowed pointer to the sample reference number id list       Return a borrowed pointer to the sample reference number id list
218       \param functionSpaceType Input - The function space type.       \param functionSpaceType Input - The function space type.
219    */    */

Legend:
Removed from v.964  
changed lines
  Added in v.1384

  ViewVC Help
Powered by ViewVC 1.1.26