diff --git a/lab10/jacobi/jacobi_main.cpp b/lab10/jacobi/jacobi_main.cpp index 7370da9..e985256 100644 --- a/lab10/jacobi/jacobi_main.cpp +++ b/lab10/jacobi/jacobi_main.cpp @@ -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. diff --git a/lab10/jacobi/jacobi_mpi.cpp b/lab10/jacobi/jacobi_mpi.cpp index 5862fd5..56d3e7b 100644 --- a/lab10/jacobi/jacobi_mpi.cpp +++ b/lab10/jacobi/jacobi_mpi.cpp @@ -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;