Changeset e58835d for src/solver/solver_singular.cpp
- Timestamp:
- Apr 15, 2013, 9:43:05 PM (13 years ago)
- Children:
- d6a338
- Parents:
- dc7dc9
- File:
-
- 1 edited
-
src/solver/solver_singular.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/solver/solver_singular.cpp
rdc7dc9 re58835d 60 60 61 61 // Make sure that arrays are big enough to hold expanded system of equations 62 this->Realloc(rhs.Global().GlobalSize New().Product() + 1);62 this->Realloc(rhs.Global().GlobalSize().Product() + 1); 63 63 64 64 for (grid_iter = rhs.Iterators().Local().Begin(); grid_iter != rhs.Iterators().Local().End(); ++grid_iter) { … … 87 87 if (comm->BoundaryConditions()[j] == Periodic) { 88 88 if (i[j] < rhs.Global().GlobalBegin()[j]) 89 i[j] += rhs.Global().GlobalSize New()[j];89 i[j] += rhs.Global().GlobalSize()[j]; 90 90 else if (i[j] >= rhs.Global().GlobalEnd()[j]) 91 i[j] -= rhs.Global().GlobalSize New()[j];91 i[j] -= rhs.Global().GlobalSize()[j]; 92 92 } 93 93 … … 137 137 sol.Global().LocalBegin().Z() + k); 138 138 139 assert(index >= 0 && index < sol.Global().GlobalSize New().Product());139 assert(index >= 0 && index < sol.Global().GlobalSize().Product()); 140 140 141 141 // Set solution
Note:
See TracChangeset
for help on using the changeset viewer.
