Changeset 9e3e0a


Ignore:
Timestamp:
Apr 19, 2013, 8:39:37 PM (13 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
6f7f90
Parents:
540c9f8
Message:

Fixed offset for GSRB smoother.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/smoother/gsrb.cpp

    r540c9f8 r9e3e0a  
    8282  const vmg_float prefactor_inv = 1.0 / MG::GetDiscretization()->OperatorPrefactor(sol);
    8383  const vmg_float diag_inv = 1.0 / mat.GetDiag();
    84   const int off = rhs.Global().LocalBegin().Sum() - rhs.Global().GlobalBegin().Sum() - rhs.Local().HaloSize1().Sum();
     84  const int off = rhs.Global().LocalBegin().Sum() - rhs.Global().GlobalBegin().Sum() + rhs.Local().HaloSize1().Sum();
    8585  const LocalIndices& local = rhs.Local();
    8686  Comm& comm = *MG::GetComm();
Note: See TracChangeset for help on using the changeset viewer.