aboutsummaryrefslogtreecommitdiff
path: root/src/ewald.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-27 17:44:19 +0100
committerThomas White <taw@physics.org>2009-11-27 17:44:19 +0100
commitc253b180f8970b380345e900f17d799e97de5d93 (patch)
tree17682243ca381b51bae40b3cb65bff0a4c791792 /src/ewald.c
parentef92cb3eebfb74c865cf0e10266ba8c46ffc8a9a (diff)
Macros for status and error messages
Diffstat (limited to 'src/ewald.c')
-rw-r--r--src/ewald.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ewald.c b/src/ewald.c
index 9749f73c..d2352b33 100644
--- a/src/ewald.c
+++ b/src/ewald.c
@@ -94,7 +94,7 @@ void get_ewald(struct image *image)
if ( (x==0) && (y==(int)image->y_centre) ) {
double s;
s = 1.0e-9*modulus(qx, qy, qz)/2.0;
- printf("At left edge: 2theta = %5.3f deg,"
+ STATUS("At left edge: 2theta = %5.3f deg,"
" sin(theta)/lambda = %5.3f nm^-1,"
" d = %5.3f nm\n",
rad2deg(twotheta), s, 1.0/(2.0*s));
@@ -102,7 +102,7 @@ void get_ewald(struct image *image)
if ( (x==0) && (y==0) ) {
double s;
s = 1.0e-9*modulus(qx, qy, qz)/2.0;
- printf(" At corner: 2theta = %5.3f deg,"
+ STATUS(" At corner: 2theta = %5.3f deg,"
" sin(theta)/lambda = %5.3f nm^-1,"
" d = %5.3f nm\n",
rad2deg(twotheta), s, 1.0/(2.0*s));