/[ff3d]/ff3d/solver/Cell.hpp
ViewVC logotype

Diff of /ff3d/solver/Cell.hpp

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

revision 1.2 by delpinux, Sun Jun 15 18:35:30 2003 UTC revision 1.3 by delpinux, Sat Jun 21 17:33:54 2003 UTC
# Line 68  public: Line 68  public:
68     */     */
69    inline void replace(Vertex* v0, Vertex* v1)    inline void replace(Vertex* v0, Vertex* v1)
70    {    {
     ffout(0) << *v0 << " -> " << *v1 << '\n';  
71      for (size_t i = 0; i<numberOfVertices(); ++i) {      for (size_t i = 0; i<numberOfVertices(); ++i) {
72        if (__vertices[i] == v0) {        if (__vertices[i] == v0) {
73          __vertices[i] = v1;          __vertices[i] = v1;
74          return;          return;
75        }        }
       fferr(0) << __FILE__ << ':' << __LINE__ << ':' << *v1 << " was not found!\n";  
       //      std::exit(1);  
76      }      }
77        fferr(0) << v0 << " -> " << v1 << '\n';
78        fferr(0) << __FILE__ << ':' << __LINE__ << ':' << v0 << " was not found!\n";
79        std::exit(1);
80    }    }
81    
82    //! Number of Vertices.    //! Number of Vertices.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26