/[escript]/branches/schroedinger/escript/src/FunctionSpace.h
ViewVC logotype

Diff of /branches/schroedinger/escript/src/FunctionSpace.h

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

revision 1942 by jfenwick, Wed Oct 8 00:28:28 2008 UTC revision 1943 by jfenwick, Wed Oct 29 04:05:14 2008 UTC
# Line 97  public: Line 97  public:
97    
98    /**    /**
99     \brief     \brief
100     Return the function space domain.       Return the function space domain.
101     TODO: Internal use only!  This is temporary and should be removed.     Do not use this in C++
102    */    */
103    ESCRIPT_DLL_API    ESCRIPT_DLL_API
104  //   const  //   const
# Line 303  public: Line 303  public:
303    ESCRIPT_DLL_API    ESCRIPT_DLL_API
304    virtual int* borrowListOfTagsInUse() const;    virtual int* borrowListOfTagsInUse() const;
305    
306      ESCRIPT_DLL_API
307      bool
308      probeInterpolation(const FunctionSpace& other) const
309      {
310        if (*this==other) {
311          return true;
312        } else {
313          const_Domain_ptr domain=getDomain();
314          if  (*domain==*other.getDomain()) {
315            return domain->probeInterpolationOnDomain(getTypeCode(),other.getTypeCode());
316          } else {
317            return domain->probeInterpolationACross(getTypeCode(),*(other.getDomain()),other.getTypeCode());
318          }
319        }
320      }
321    
322    
323   protected:   protected:

Legend:
Removed from v.1942  
changed lines
  Added in v.1943

  ViewVC Help
Powered by ViewVC 1.1.26