Ignore:
Timestamp:
Apr 15, 2013, 9:43:05 PM (13 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
d6a338
Parents:
dc7dc9
Message:

Renamed GlobalIndices::GlobalSizeNew back to GlobalIndices::GlobalSize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/solver/solver_singular.cpp

    rdc7dc9 re58835d  
    6060
    6161  // Make sure that arrays are big enough to hold expanded system of equations
    62   this->Realloc(rhs.Global().GlobalSizeNew().Product() + 1);
     62  this->Realloc(rhs.Global().GlobalSize().Product() + 1);
    6363
    6464  for (grid_iter = rhs.Iterators().Local().Begin(); grid_iter != rhs.Iterators().Local().End(); ++grid_iter) {
     
    8787        if (comm->BoundaryConditions()[j] == Periodic) {
    8888          if (i[j] < rhs.Global().GlobalBegin()[j])
    89             i[j] += rhs.Global().GlobalSizeNew()[j];
     89            i[j] += rhs.Global().GlobalSize()[j];
    9090          else if (i[j] >= rhs.Global().GlobalEnd()[j])
    91             i[j] -= rhs.Global().GlobalSizeNew()[j];
     91            i[j] -= rhs.Global().GlobalSize()[j];
    9292        }
    9393
     
    137137                                      sol.Global().LocalBegin().Z() + k);
    138138
    139         assert(index >= 0 && index < sol.Global().GlobalSizeNew().Product());
     139        assert(index >= 0 && index < sol.Global().GlobalSize().Product());
    140140
    141141        // Set solution
Note: See TracChangeset for help on using the changeset viewer.