back to 10000

This commit is contained in:
kai
2025-05-31 17:52:06 +02:00
parent 0beee4701b
commit 9b6051741e
2 changed files with 4 additions and 4 deletions

View File

@@ -150,7 +150,7 @@ int main(int argc, char *argv[]) {
// Set the Jacobi parameters
const int n = 9 * 64;
const double eps = 1e-7;
const int maxNumIter = 100;
const int maxNumIter = 1000;
// Run the serial and parallel versions
// Result is saved to file.

View File

@@ -156,9 +156,9 @@ Jacobi::Result JacobiMPI::run(const Matrix &init, double epsilon,
nIter++;
std::swap(t0, t1);
if (nIter == 100) {
std::cout << phi[t1] << std::endl;
}
// if (nIter == 100) {
// std::cout << phi[t1] << std::endl;
// }
}
// std::cout << phi[t1] << std::endl;