[cig-commits] commit: Make smooth_Tackley_3D do 4 times as many sweeps on the coarse level, rather than 2 times
Mercurial
hg at geodynamics.org
Sat Apr 16 09:55:11 PDT 2011
changeset: 162:d5b47f287653
user: Walter Landry <wlandry at caltech.edu>
date: Fri Apr 15 20:30:39 2011 -0700
files: StokesFACOps/smooth_Tackley_3D.C
description:
Make smooth_Tackley_3D do 4 times as many sweeps on the coarse level, rather than 2 times
diff -r 799db2fc597b -r d5b47f287653 StokesFACOps/smooth_Tackley_3D.C
--- a/StokesFACOps/smooth_Tackley_3D.C Fri Apr 15 16:46:02 2011 -0700
+++ b/StokesFACOps/smooth_Tackley_3D.C Fri Apr 15 20:30:39 2011 -0700
@@ -67,7 +67,7 @@ void SAMRAI::solv::StokesFACOps::smooth_
const hier::Index ip(1,0,0), jp(0,1,0), kp(0,0,1);
const hier::Index pp[]={ip,jp,kp};
bool converged = false;
- for (int sweep=0; sweep < num_sweeps*(1<<(d_ln_max-ln)) && !converged;
+ for (int sweep=0; sweep < num_sweeps*(1<<(2*(d_ln_max-ln))) && !converged;
++sweep)
{
maxres=0;
More information about the CIG-COMMITS
mailing list