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

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

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

revision 2004 by jfenwick, Wed Oct 29 05:48:53 2008 UTC revision 2005 by jfenwick, Mon Nov 10 01:21:39 2008 UTC
# Line 304  public: Line 304  public:
304    ESCRIPT_DLL_API    ESCRIPT_DLL_API
305    int* borrowListOfTagsInUse() const;    int* borrowListOfTagsInUse() const;
306    
307      ESCRIPT_DLL_API
308      bool
309      probeInterpolation(const FunctionSpace& other) const
310      {
311        if (*this==other) {
312          return true;
313        } else {
314          const_Domain_ptr domain=getDomain();
315          if  (*domain==*other.getDomain()) {
316            return domain->probeInterpolationOnDomain(getTypeCode(),other.getTypeCode());
317          } else {
318            return domain->probeInterpolationACross(getTypeCode(),*(other.getDomain()),other.getTypeCode());
319          }
320        }
321      }
322    
323    
324   protected:   protected:

Legend:
Removed from v.2004  
changed lines
  Added in v.2005

  ViewVC Help
Powered by ViewVC 1.1.26