From 2b2d41cd933bb1015fbf95b63dd8ec3c990b0767 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 17 Jul 2019 11:27:36 +0200 Subject: partialator: Add "offset" model (Ewald sphere offset assuming monochromatic beam) --- src/partialator.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3