switched variable name useLCDM to less confusing useComoving; make it sample-level rather than dataset-level

This commit is contained in:
P.M. Sutter 2013-12-19 12:38:05 -06:00
parent 34a32bfd2c
commit f268820a2e
8 changed files with 25 additions and 26 deletions

View file

@ -724,7 +724,7 @@ int main(int argc, char **argv) {
voids[iVoid].redshiftInMpc = voids[iVoid].redshiftInMpc;
if (args.useLCDM_flag) {
if (args.useComoving_flag) {
redshift = gsl_interp_eval(interp, dL, redshifts,
voids[iVoid].redshiftInMpc, acc);
//printf("HELLO %e %e\n", redshift, args.zMax_arg);

View file

@ -23,7 +23,7 @@ option "numVoids" - "Number of voids" int required
option "isObservation" - "We are working with observational data" flag off
option "useLCDM" - "Void positions are in comoving coordinates" flag off
option "useComoving" - "Void positions are in comoving coordinates" flag off
option "zMin" - "Minimum redshift of sample" double optional default="0.0"
option "zMax" - "Maximum redshift of sample" double optional default="10.0"