#include <string>
#include <vector>
#include <cstdlib>

typedef struct{
  std::string target_dir;
  std::string lens_pos;
  std::vector<int> devices;
  float kappa_star;
  float kappa_s;
  float gamma;
  int   resolution;
  float source_scale;
  float avg_ray_count;
  float lens_scale_fudge_1;
  float lens_scale_fudge_2;
  float image_scale_fudge;
  float mass;
  long  cycles;
  long  cycles_done;
  long  nray;
  long  exclude;
} params;

void printUsage(char* argv[]);
int  setParams(int argc,char* argv[],params &parameters);
