aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 62390017..758e9c85 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -599,6 +599,12 @@ skip:
} while ( !done );
+ if ( powder_fn != NULL ) {
+ hdf5_write(powder_fn, powder,
+ image.width, image.height,
+ H5T_NATIVE_DOUBLE);
+ }
+
if ( gctx != NULL ) {
cleanup_gpu(gctx);
}