Changeset ac6d04 for src/base/helper.cpp


Ignore:
Timestamp:
Apr 10, 2012, 1:55:49 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
a40eea
Parents:
d24c2f
Message:

Merge recent changes of the vmg library into ScaFaCos.

Includes a fix for the communication problems on Jugene.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/base/helper.cpp

    rd24c2f rac6d04  
    5252
    5353  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();
    5555  const Vector coord = (point - grid.Extent().Begin() - index_global * grid.Extent().MeshWidth()) / grid.Extent().MeshWidth();
    5656
Note: See TracChangeset for help on using the changeset viewer.