Ignore:
Timestamp:
Apr 5, 2013, 12:39:30 PM (13 years ago)
Author:
Julian Iseringhausen <julian.iseringhausen@…>
Children:
4a709e
Parents:
f57182
Message:

Merge stashed open boundary stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/smoother/gsrb.cpp

    rf57182 r8180d8  
    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.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.