/[escript]/branches/arrexp_2137_win_merge/escript/src/NullDomain.cpp
ViewVC logotype

Diff of /branches/arrexp_2137_win_merge/escript/src/NullDomain.cpp

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

trunk/esys2/escript/src/Data/NullDomain.cpp revision 115 by jgs, Fri Mar 4 07:12:47 2005 UTC trunk/escript/src/Data/NullDomain.cpp revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC
# Line 115  int NullDomain::getDim() const Line 115  int NullDomain::getDim() const
115    return 1;    return 1;
116  }  }
117    
118    bool NullDomain::operator==(const AbstractDomain& other) const
119    {
120      const NullDomain* temp=dynamic_cast<const NullDomain*>(&other);
121      if (temp!=0) {
122        return true;
123      } else {
124        return false;
125      }
126    }
127    
128    bool NullDomain::operator!=(const AbstractDomain& other) const
129    {
130      return(!(*this==other));
131    }
132    
133  }  // end of namespace  }  // end of namespace

Legend:
Removed from v.115  
changed lines
  Added in v.155

  ViewVC Help
Powered by ViewVC 1.1.26