Changeset ac6d04 for src/solver/solver.cpp
- Timestamp:
- Apr 10, 2012, 1:55:49 PM (14 years ago)
- Children:
- a40eea
- Parents:
- d24c2f
- File:
-
- 1 edited
-
src/solver/solver.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/solver/solver.cpp
rd24c2f rac6d04 27 27 #endif 28 28 29 Comm* comm = MG::GetComm(); 30 31 Grid& rhsGlobal = comm->GetGlobalCoarseGrid(*rhs.Father()); 32 33 this->Realloc(rhsGlobal); 34 this->AssembleMatrix(rhsGlobal); 35 this->Compute(); 36 this->ExportSol(sol, rhs); 29 if (rhs.Global().LocalSize().Product() > 0) { 30 this->Realloc(rhs); 31 this->AssembleMatrix(rhs); 32 this->Compute(); 33 this->ExportSol(sol, rhs); 34 } 37 35 } 38 36 … … 54 52 void Solver::Realloc(Grid& sol) 55 53 { 56 this->Realloc(sol.Global(). SizeGlobal().Product());54 this->Realloc(sol.Global().GlobalSize().Product()); 57 55 }
Note:
See TracChangeset
for help on using the changeset viewer.
