diff options
author | Thomas White <taw@physics.org> | 2018-02-19 17:05:19 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-02-27 17:12:42 +0100 |
commit | 4ed5ff07554b5f76b06de3a61a3c6eb7d83d1653 (patch) | |
tree | 0eaf7897a0f17509d2dc511c63057396106e9cc7 | |
parent | 98c233a97459eba3170901d186a07d16f6ed3eb2 (diff) |
Reduce granularity of grid scans
The time taken was excessive.
-rw-r--r-- | src/post-refinement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 92059987..488545d4 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -657,9 +657,9 @@ static void write_grid(Crystal *cr, const RefList *full, -5.0*get_scale(par2)+get_initial_param(cr, par2), 5.0*get_scale(par2)+get_initial_param(cr, par2), get_label(par2)); - for ( v2=-5.0; v2<=5.0; v2+=0.2 ) { + for ( v2=-5.0; v2<=5.0; v2+=0.5 ) { int first=1; - for ( v1=-5.0; v1<=5.0; v1+=0.2 ) { + for ( v1=-5.0; v1<=5.0; v1+=0.5 ) { double res; gsl_vector_set(min->x, idx1, v1); gsl_vector_set(min->x, idx2, v2); |