From 7dfd685429089980ff5bcb1aeff1ea6a794ec8c7 Mon Sep 17 00:00:00 2001 From: gremerritt Date: Sat, 30 Apr 2016 12:09:05 -0400 Subject: [PATCH] changes to relaxation parallelism --- parallel_mg.c | 71 +++++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 34 deletions(-) diff --git a/parallel_mg.c b/parallel_mg.c index cce0276..9bd3639 100644 --- a/parallel_mg.c +++ b/parallel_mg.c @@ -112,43 +112,46 @@ void relax_parallel(double *T, double *b, int lev, int niter, param_t p) { double alpha=p.alpha; for(int iter=0; iter < niter; iter++) { - #pragma omp parallel for shared(T, b) private(j) - for (i=1; i