aboutsummaryrefslogtreecommitdiff
path: root/src/sfac.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-03 15:40:38 +0100
committerThomas White <taw@physics.org>2010-03-03 15:40:38 +0100
commit27c1ee4eb71f4a664f8ddc39f6453ad3653c0c72 (patch)
tree71ede3973979faa16e8a432b232288854aad4ff2 /src/sfac.c
parent1d59eab730746adeb8b417a50bf864d48c29db88 (diff)
Remove commented code
Diffstat (limited to 'src/sfac.c')
-rw-r--r--src/sfac.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sfac.c b/src/sfac.c
index b0b02b45..d758fa08 100644
--- a/src/sfac.c
+++ b/src/sfac.c
@@ -438,8 +438,6 @@ double complex *get_reflections(struct molecule *mol, double en)
double bsx, bsy, bsz;
double csx, csy, csz;
signed int h, k, l;
- //double tscat = 0.0;
- //double F00;
const int do_thermal = 1;
cell_get_reciprocal(mol->cell, &asx, &asy, &asz,
@@ -494,18 +492,12 @@ double complex *get_reflections(struct molecule *mol, double en)
}
set_sfac(reflections, h, k, l, F);
- //if ( (h!=0) || (k!=0) || (l!=0) ) {
- // tscat += cabs(F);
- //} else {
- // F00 = cabs(F);
- //}
}
progress_bar((k+INDMAX)+IDIM*(h+INDMAX), IDIM*IDIM-1,
"Calculating structure factors");
}
}
- //STATUS("Total scattered = %f, F000 = %f\n", tscat, F00);
return reflections;
}