[cig-commits] commit: Increase number of sweeps and output interval.
Mercurial
hg at geodynamics.org
Tue Apr 3 11:23:19 PDT 2012
changeset: 148:dd823a902bdc
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Mon Apr 02 20:06:55 2012 -0700
files: main.cxx
description:
Increase number of sweeps and output interval.
diff -r 551aef7421a2 -r dd823a902bdc main.cxx
--- a/main.cxx Mon Apr 02 20:06:10 2012 -0700
+++ b/main.cxx Mon Apr 02 20:06:55 2012 -0700
@@ -50,7 +50,7 @@ int main()
const bool jacobi(check_initial);
/* Initial conditions */
- const int n_sweeps(check_initial ? 1 : 10001);
+ const int n_sweeps(check_initial ? 1 : 40001);
const double theta_mom=0.7;
const double theta_continuity=1.0;
const double tolerance=1.0e-6;
@@ -202,6 +202,7 @@ int main()
// if(j!=0)
// dRc_dp+=(-1/h - dlog_etay/2)*dRmm_dp/dRy[i][j];
+ // dRc_dp=2/3.0;
Resid_p[i][j]=Rc;
@@ -262,7 +263,7 @@ int main()
p[i][j]=p_new[i][j];
}
- if(sweep%100==0)
+ if(sweep%1000==0)
{
std::cout << "sweep "
<< sweep << " "
More information about the CIG-COMMITS
mailing list