Changeset 894a5f for src/base/index.cpp


Ignore:
Timestamp:
Feb 2, 2012, 1:58:12 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
32ff22
Parents:
01be70
Message:

Parallel performance update.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1314 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/base/index.cpp

    r01be70 r894a5f  
    6969}
    7070
    71 bool operator<(const Index& lhs, const Index& rhs)
    72 {
    73   if (lhs.X() < rhs.X())
    74     return true;
    75   else if (lhs.X() > rhs.X())
    76     return false;
    77 
    78   if (lhs.Y() < rhs.Y())
    79     return true;
    80   else if (lhs.Y() > rhs.Y())
    81     return false;
    82 
    83   if (lhs.Z() < rhs.Z())
    84     return true;
    85   else
    86     return false;
    87 }
    88 
    8971const Index Max(const Index& index1, const Index& index2)
    9072{
Note: See TracChangeset for help on using the changeset viewer.