Changeset e58835d for src/grid/is_grid.hpp
- Timestamp:
- Apr 15, 2013, 9:43:05 PM (13 years ago)
- Children:
- d6a338
- Parents:
- dc7dc9
- File:
-
- 1 edited
-
src/grid/is_grid.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/grid/is_grid.hpp
rdc7dc9 re58835d 171 171 inline int IsGrid<T>::GlobalLinearIndex(int x, int y, int z) const 172 172 { 173 return z + global.GlobalSize New().Z() * (y + global.GlobalSizeNew().Y() * x);173 return z + global.GlobalSize().Z() * (y + global.GlobalSize().Y() * x); 174 174 } 175 175 … … 177 177 inline int IsGrid<T>::GlobalLinearIndex(const Index& index) const 178 178 { 179 return index.Z() + global.GlobalSize New().Z() * (index.Y() + global.GlobalSizeNew().Y() * index.X());179 return index.Z() + global.GlobalSize().Z() * (index.Y() + global.GlobalSize().Y() * index.X()); 180 180 } 181 181
Note:
See TracChangeset
for help on using the changeset viewer.
