/[escript]/branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp

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

revision 120 by jgs, Mon Feb 14 04:14:42 2005 UTC revision 121 by jgs, Fri May 6 04:26:16 2005 UTC
# Line 977  bool MeshAdapter::probeInterpolationACro Line 977  bool MeshAdapter::probeInterpolationACro
977      return false;      return false;
978  }  }
979    
980  bool MeshAdapter::operator==(const MeshAdapter& other) const  bool MeshAdapter::operator==(const AbstractDomain& other) const
981  {  {
982    return (m_finleyMesh==other.m_finleyMesh);    const MeshAdapter* temp=dynamic_cast<const MeshAdapter*>(&other);
983      if (temp!=0) {
984        return (m_finleyMesh==temp->m_finleyMesh);
985      } else {
986        return false;
987      }
988  }  }
989    
990  bool MeshAdapter::operator!=(const MeshAdapter& other) const  bool MeshAdapter::operator!=(const AbstractDomain& other) const
991  {  {
992    return !operator==(other);    return !(operator==(other));
993  }  }
994    
995  int MeshAdapter::getSystemMatrixTypeId(const int solver, const bool symmetry) const  int MeshAdapter::getSystemMatrixTypeId(const int solver, const bool symmetry) const

Legend:
Removed from v.120  
changed lines
  Added in v.121

  ViewVC Help
Powered by ViewVC 1.1.26