Changeset 872b51 for molecuilder/src/linkedcell.cpp
- Timestamp:
- Oct 18, 2009, 2:51:38 PM (16 years ago)
- Children:
- 77894f
- Parents:
- b0ee98
- git-author:
- Frederik Heber <heber@…> (10/18/09 14:15:37)
- git-committer:
- Frederik Heber <heber@…> (10/18/09 14:51:38)
- File:
-
- 1 edited
-
molecuilder/src/linkedcell.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/linkedcell.cpp
rb0ee98 r872b51 203 203 204 204 /** Checks whether LinkedCell::n[] plus relative offset is each within [0,N[]]. 205 * Note that for this check we don't admonish if out of bounds. 205 206 * \param relative[NDIM] relative offset to current cell 206 207 * \return if all in intervals - true, else -false … … 211 212 for(int i=0;i<NDIM;i++) 212 213 status = status && ((n[i]+relative[i] >=0) && (n[i]+relative[i] < N[i])); 213 if (!status)214 cerr << "ERROR: indices are out of bounds!" << endl;215 214 return status; 216 215 };
Note:
See TracChangeset
for help on using the changeset viewer.
