diff options
author | Thomas White <taw@physics.org> | 2010-03-03 15:40:38 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-03-03 15:40:38 +0100 |
commit | 27c1ee4eb71f4a664f8ddc39f6453ad3653c0c72 (patch) | |
tree | 71ede3973979faa16e8a432b232288854aad4ff2 /src/sfac.c | |
parent | 1d59eab730746adeb8b417a50bf864d48c29db88 (diff) |
Remove commented code
Diffstat (limited to 'src/sfac.c')
-rw-r--r-- | src/sfac.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; } |