Changeset 39740
- Timestamp:
- Oct 8, 2016, 6:26:30 AM (10 years ago)
- Location:
- branches/czw_branch/20160809/Ohana/src/uniphot
- Files:
-
- 4 edited
-
include/setgalmodel.h (modified) (2 diffs)
-
src/initialize_setgalmodel.c (modified) (2 diffs)
-
src/update_catalog_setgalmodel.c (modified) (1 diff)
-
src/update_dvo_setgalmodel.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/Ohana/src/uniphot/include/setgalmodel.h
r38986 r39740 10 10 char *HOSTDIR; 11 11 int VERBOSE; 12 int TESTING;13 12 int UPDATE; 14 13 int PARALLEL; … … 17 16 char *UPDATE_CATFORMAT; 18 17 char *SINGLE_CPT; 18 19 float TEST_SCALE; 19 20 20 21 SkyRegion UserPatch; -
branches/czw_branch/20160809/Ohana/src/uniphot/src/initialize_setgalmodel.c
r39225 r39740 92 92 } 93 93 94 TEST ING = FALSE;94 TEST_SCALE = 1.0; 95 95 if ((N = get_argument (argc, argv, "-testing"))) { 96 TESTING = TRUE; 96 remove_argument (N, &argc, argv); 97 TEST_SCALE = atof(argv[N]); 97 98 remove_argument (N, &argc, argv); 98 99 } … … 212 213 } 213 214 214 TEST ING = FALSE;215 TEST_SCALE = 1.0; 215 216 if ((N = get_argument (argc, argv, "-testing"))) { 216 TESTING = TRUE; 217 remove_argument (N, &argc, argv); 218 TEST_SCALE = atof(argv[N]); 217 219 remove_argument (N, &argc, argv); 218 220 } -
branches/czw_branch/20160809/Ohana/src/uniphot/src/update_catalog_setgalmodel.c
r39586 r39740 51 51 52 52 // XXX: amplify motion to make tests easier: 53 if (TESTING) { 54 uL *= 100.0; 55 uB *= 100.0; 56 } 53 uL *= TEST_SCALE; 54 uB *= TEST_SCALE; 57 55 58 56 double uR, uD; -
branches/czw_branch/20160809/Ohana/src/uniphot/src/update_dvo_setgalmodel.c
r39225 r39740 98 98 99 99 if (VERBOSE) { strextend (&command, "-v"); } 100 if (TEST ING) { strextend (&command, "-testing"); }100 if (TEST_SCALE != 1.0){ strextend (&command, "-testing %f", TEST_SCALE); } 101 101 if (UPDATE) { strextend (&command, "-update"); } 102 102 if (UPDATE_CATFORMAT) { strextend (&command, "-update-catformat %s", UPDATE_CATFORMAT); }
Note:
See TracChangeset
for help on using the changeset viewer.
