Changeset ac6d04 for src/base/helper.cpp
- Timestamp:
- Apr 10, 2012, 1:55:49 PM (14 years ago)
- Children:
- a40eea
- Parents:
- d24c2f
- File:
-
- 1 edited
-
src/base/helper.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/base/helper.cpp
rd24c2f rac6d04 52 52 53 53 const Index index_global = (point - grid.Extent().Begin()) / grid.Extent().MeshWidth(); 54 const Index index_local = index_global - grid.Global(). BeginLocal() + grid.Local().Begin();54 const Index index_local = index_global - grid.Global().LocalBegin() + grid.Local().Begin(); 55 55 const Vector coord = (point - grid.Extent().Begin() - index_global * grid.Extent().MeshWidth()) / grid.Extent().MeshWidth(); 56 56
Note:
See TracChangeset
for help on using the changeset viewer.
