Skip to content

Spherical Phase Space file #984

Answered by rtownson
mojtaba1365 asked this question in Questions
Apr 12, 2023 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Yes, BEAMDP can read IAEA phase-space files. It just doesn't print the z position. Here are some changes to beamdp to fix that. Make these changes and recompile beamdp.

diff --git a/HEN_HOUSE/omega/progs/beamdp/beamdp.mortran b/HEN_HOUSE/omega/progs/beamdp/beamdp.mortran
index 39f2fac0..a3dca742 100644
--- a/HEN_HOUSE/omega/progs/beamdp/beamdp.mortran
+++ b/HEN_HOUSE/omega/progs/beamdp/beamdp.mortran
@@ -1270,13 +1270,13 @@ IF(MSTART=0 & CHOICE1=11)[
    IF(MODE_RW='MODE0')[
       WRITE(6,:LIST-FORMAT0:);
       :LIST-FORMAT0: FORMAT(/' ENERGY  IQ     X',
-      5X, '  Y',4X,'  U',4X,'  V',4X,'  W',4X,'WEIGHT',6X,
+      5X, '  Y',4X,'  Z',4X,'  U',4X,'  V',4X,'  W',4X,'WEIGHT',6X,

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@mojtaba1365
Comment options

@rtownson
Comment options

@mojtaba1365
Comment options

@rtownson
Comment options

Answer selected by mojtaba1365
@mojtaba1365
Comment options

Comment options

You must be logged in to vote
2 replies
@rtownson
Comment options

@mojtaba1365
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants