IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 19, 2009, 7:59:50 AM (17 years ago)
Author:
beaumont
Message:

Added visualizations to ppSub. Set up a single variable in pmVisual to control when plots are drawn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cnb_branch_20090215/ppImage/src/ppImageArguments.c

    r19943 r21536  
    8080    if ((argnum = psArgumentGet(argc, argv, "-visual"))) {
    8181        psArgumentRemove(argnum, &argc, argv);
    82         psphotSetVisual (true);
     82        pmVisualSetVisual(true);
    8383    }
    8484
     
    8686    if ((argnum = psArgumentGet(argc, argv, "-threads"))) {
    8787        psArgumentRemove(argnum, &argc, argv);
    88         int nThreads = atoi(argv[argnum]);
     88        int nThreads = atoi(argv[argnum]);
    8989        psMetadataAddS32(config->arguments, PS_LIST_TAIL, "NTHREADS", 0, "number of warp threads", nThreads);
    9090        psArgumentRemove(argnum, &argc, argv);
    9191
    92         // create the thread pool with number of desired threads, supplying our thread launcher function
    93         // XXX need to determine the number of threads from the config data
    94         psThreadPoolInit (nThreads);
     92        // create the thread pool with number of desired threads, supplying our thread launcher function
     93        // XXX need to determine the number of threads from the config data
     94        psThreadPoolInit (nThreads);
    9595    }
    9696
Note: See TracChangeset for help on using the changeset viewer.