diff options
author | Thomas White <taw@physics.org> | 2011-09-20 14:06:30 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:37 +0100 |
commit | fba222a2c0d377f1b87644ffb3eeb9c40252bc89 (patch) | |
tree | 20ec37f33bdb5214cdc7a7204da23aa0342b7edf | |
parent | 89a309c13b57011930ed452d1c3a1cd350f67bcb (diff) |
pattern_sim: Write powder at end of simulation series as well
-rw-r--r-- | src/pattern_sim.c | 6 |
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); } |