aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-14 15:07:21 +0200
committerThomas White <taw@physics.org>2014-09-25 10:53:56 +0200
commit629934d82e202ea04b334c49efffe09aaa0f1c4e (patch)
treee12b6ca6bd72f76e8e687317eec8fc659d6c712c /src/partialator.c
parenta06a3f67f57de0bc85982976b9ea6d598598e014 (diff)
Remove "sphere", "thin" and "gaussian" partiality models, add "scgaussian"
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 0d532997..bdee29c5 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -219,7 +219,7 @@ int main(int argc, char *argv[])
Stream *st;
Crystal **crystals;
char *pmodel_str = NULL;
- PartialityModel pmodel = PMODEL_SPHERE;
+ PartialityModel pmodel = PMODEL_SCSPHERE;
int min_measurements = 2;
char *rval;
struct srdata srdata;
@@ -342,14 +342,10 @@ int main(int argc, char *argv[])
free(sym_str);
if ( pmodel_str != NULL ) {
- if ( strcmp(pmodel_str, "sphere") == 0 ) {
- pmodel = PMODEL_SPHERE;
- } else if ( strcmp(pmodel_str, "unity") == 0 ) {
+ if ( strcmp(pmodel_str, "unity") == 0 ) {
pmodel = PMODEL_UNITY;
- } else if ( strcmp(pmodel_str, "gaussian") == 0 ) {
- pmodel = PMODEL_GAUSSIAN;
- } else if ( strcmp(pmodel_str, "thin") == 0 ) {
- pmodel = PMODEL_THIN;
+ } else if ( strcmp(pmodel_str, "scgaussian") == 0 ) {
+ pmodel = PMODEL_SCGAUSSIAN;
} else if ( strcmp(pmodel_str, "scsphere") == 0 ) {
pmodel = PMODEL_SCSPHERE;
} else {