diff options
author | Tom White <weiss@jade.(none)> | 2008-09-23 17:15:16 +0100 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2008-10-02 17:54:49 +0100 |
commit | 0feee3be643774a473f667b69b9449fecbb2c553 (patch) | |
tree | a8a62487a0a28bd03413022f201536875c4416e4 | |
parent | 66ce6300cb0f97025a483349f83eb252443aed27 (diff) |
Increase number of iterations to make 2D test work
-rw-r--r-- | src/refine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/refine.c b/src/refine.c index 72efe53..55e7868 100644 --- a/src/refine.c +++ b/src/refine.c @@ -242,7 +242,7 @@ double refine_do_cell(ControlContext *ctx) { /* Determine direction of steepest gradient */ devcell_try = malloc(sizeof(Basis)); devcell_try_best = malloc(sizeof(Basis)); - for ( it=1; it<=2000; it++ ) { + for ( it=1; it<=10000; it++ ) { int found = 0; for ( comp=0; comp<18; comp++ ) { memcpy(devcell_try, devcell, sizeof(Basis)); @@ -274,7 +274,7 @@ double refine_do_cell(ControlContext *ctx) { } } if ( found ) memcpy(devcell, devcell_try_best, sizeof(Basis)); - if ( !(it % 20) ) printf("After %5i iterations: mean dev = %13.8f nm^1\n", it, mean_dev/DISPFACTOR); + if ( !(it % 1000) ) printf("After %5i iterations: mean dev = %13.8f nm^1\n", it, mean_dev/DISPFACTOR); } free(devcell_try); free(devcell_try_best); |