/[escript]/branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/diaplayground/finley/src/CPPAdapter/MeshAdapter.cpp

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

revision 2078 by phornby, Thu Nov 20 16:10:10 2008 UTC revision 2087 by jfenwick, Mon Nov 24 04:51:30 2008 UTC
# Line 1235  void MeshAdapter::setToNormal(escript::D Line 1235  void MeshAdapter::setToNormal(escript::D
1235  //  //
1236  void MeshAdapter::interpolateACross(escript::Data& target,const escript::Data& source) const  void MeshAdapter::interpolateACross(escript::Data& target,const escript::Data& source) const
1237  {  {
1238     const MeshAdapter& targetDomain=dynamic_cast<const MeshAdapter&>(*(target.getFunctionSpace().getDomain()));     const_Domain_ptr targetDomain_p=target.getFunctionSpace().getDomain();
1239     if (targetDomain!=*this)     const MeshAdapter* targetDomain=dynamic_cast<const MeshAdapter*>(targetDomain_p.get());
1240       if (targetDomain!=this)
1241        throw FinleyAdapterException("Error - Illegal domain of interpolation target");        throw FinleyAdapterException("Error - Illegal domain of interpolation target");
1242    
1243     throw FinleyAdapterException("Error - Finley does not allow interpolation across domains yet.");     throw FinleyAdapterException("Error - Finley does not allow interpolation across domains yet.");

Legend:
Removed from v.2078  
changed lines
  Added in v.2087

  ViewVC Help
Powered by ViewVC 1.1.26