aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-07-17 11:27:36 +0200
committerThomas White <taw@physics.org>2019-07-17 13:38:54 +0200
commit2b2d41cd933bb1015fbf95b63dd8ec3c990b0767 (patch)
treecaa27ad9a766146e4d463b2ec513167357569b45 /src
parent930ac8c40b7d721291f06759bb35cd93e1e172f9 (diff)
partialator: Add "offset" model (Ewald sphere offset assuming monochromatic beam)
Diffstat (limited to 'src')
-rw-r--r--src/partialator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 5543b041..68c886c9 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -1267,6 +1267,8 @@ int main(int argc, char *argv[])
pmodel = PMODEL_UNITY;
} else if ( strcmp(pmodel_str, "xsphere") == 0 ) {
pmodel = PMODEL_XSPHERE;
+ } else if ( strcmp(pmodel_str, "offset") == 0 ) {
+ pmodel = PMODEL_OFFSET;
} else if ( strcmp(pmodel_str, "random") == 0 ) {
pmodel = PMODEL_RANDOM;
} else {