/[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 2521 by jfenwick, Tue Jul 7 00:08:58 2009 UTC revision 2640 by jfenwick, Mon Aug 31 06:22:10 2009 UTC
# Line 1  Line 1 
1    
2  /*******************************************************  /*******************************************************
3  *  *
4  * Copyright (c) 2003-2008 by University of Queensland  * Copyright (c) 2003-2009 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 156  class MeshAdapter : public escript::Abst Line 156  class MeshAdapter : public escript::Abst
156    FINLEY_DLL_API    FINLEY_DLL_API
157    virtual bool onMasterProcessor() const;    virtual bool onMasterProcessor() const;
158    
159      FINLEY_DLL_API
160    #ifdef PASO_MPI
161      MPI_Comm
162    #else
163      unsigned int
164    #endif
165      getMPIComm() const;
166    
167    /**    /**
168       \brief       \brief
169       return this as an AbstractContinuousDomain.       return this as an AbstractContinuousDomain.
# Line 355  class MeshAdapter : public escript::Abst Line 363  class MeshAdapter : public escript::Abst
363    
364    /**    /**
365       \brief       \brief
366          Returns a status indicator of the domain. The status identifier should be unique over
367          the live time if the object but may be updated if changes to the domain happen, e.g.
368          modifications to its geometry.
369    
370         This has to be implemented by the actual Domain adapter.
371      */
372      FINLEY_DLL_API
373      virtual StatusType getStatus() const;
374    
375    
376      /**
377         \brief
378       Return the number of data points summed across all MPI processes       Return the number of data points summed across all MPI processes
379    */    */
380    FINLEY_DLL_API    FINLEY_DLL_API
# Line 427  class MeshAdapter : public escript::Abst Line 447  class MeshAdapter : public escript::Abst
447    virtual bool probeInterpolationOnDomain(int functionSpaceType_source,int functionSpaceType_target) const;    virtual bool probeInterpolationOnDomain(int functionSpaceType_source,int functionSpaceType_target) const;
448    
449    /**    /**
450        \brief given a vector of FunctionSpace typecodes, pass back a code which then can all be interpolated to.
451        \return true is result is valid, false if not
452      */
453      FINLEY_DLL_API
454      bool
455      commonFunctionSpace(const std::vector<int>& fs, int& resultcode) const;
456    
457      /**
458       \brief       \brief
459       interpolates data given on source onto target where source and target are given on different domains.       interpolates data given on source onto target where source and target are given on different domains.
460       has to be implemented by the actual Domain adapter.       has to be implemented by the actual Domain adapter.

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

  ViewVC Help
Powered by ViewVC 1.1.26