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

Diff of /trunk/finley/src/CPPAdapter/MeshAdapter.cpp

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

revision 103 by jgs, Wed Dec 15 07:08:39 2004 UTC revision 104 by jgs, Fri Dec 17 07:43:12 2004 UTC
# Line 905  bool MeshAdapter::probeInterpolationACro Line 905  bool MeshAdapter::probeInterpolationACro
905  {  {
906      return false;      return false;
907  }  }
908    
909  bool MeshAdapter::operator==(const MeshAdapter& other) const  bool MeshAdapter::operator==(const MeshAdapter& other) const
910  {  {
911    return (m_finleyMesh==other.m_finleyMesh);    return (m_finleyMesh==other.m_finleyMesh);
912  }  }
913    
914    bool MeshAdapter::operator!=(const MeshAdapter& other) const
915    {
916      return !operator==(other);
917    }
918    
919  int MeshAdapter::getSystemMatrixTypeId(const int solver, const bool symmetry) const  int MeshAdapter::getSystemMatrixTypeId(const int solver, const bool symmetry) const
920  {  {
921     int out=Finley_SystemMatrix_getSystemMatrixTypeId(solver,symmetry?1:0);     int out=Finley_SystemMatrix_getSystemMatrixTypeId(solver,symmetry?1:0);
# Line 930  Data MeshAdapter::getSize() const Line 936  Data MeshAdapter::getSize() const
936  }  }
937    
938    
 bool MeshAdapter::operator!=(const MeshAdapter& other) const  
 {  
   return !operator==(other);  
 }  
 // bool MeshAdapter::operator==(const AbstractDomain& other) const  
 // {  
   // try {  
     // const MeshAdapter& ref = dynamic_cast<const MeshAdapter&>(other);  
     // return (operator==(ref));  
   // }  
   // catch (bad_cast) {  
     // return false;  
   // }  
 // }  
939  }  // end of namespace  }  // end of namespace

Legend:
Removed from v.103  
changed lines
  Added in v.104

  ViewVC Help
Powered by ViewVC 1.1.26