Lines Matching refs:iarg
294 for (int iarg = 1; iarg < argc; ++iarg)
296 if (strcmp(argv[iarg], PARAM_LEFT) == 0)
298 if (iarg + 1 < argc)
300 frame0Name = argv[++iarg];
305 if (strcmp(argv[iarg], PARAM_RIGHT) == 0)
307 if (iarg + 1 < argc)
309 frame1Name = argv[++iarg];
314 else if(strcmp(argv[iarg], PARAM_SCALE) == 0)
316 if (iarg + 1 < argc)
317 desc.scale_factor = static_cast<Ncv32f>(atof(argv[++iarg]));
321 else if(strcmp(argv[iarg], PARAM_ALPHA) == 0)
323 if (iarg + 1 < argc)
324 desc.alpha = static_cast<Ncv32f>(atof(argv[++iarg]));
328 else if(strcmp(argv[iarg], PARAM_GAMMA) == 0)
330 if (iarg + 1 < argc)
331 desc.gamma = static_cast<Ncv32f>(atof(argv[++iarg]));
335 else if(strcmp(argv[iarg], PARAM_INNER) == 0)
337 if (iarg + 1 < argc)
338 desc.number_of_inner_iterations = static_cast<Ncv32u>(atoi(argv[++iarg]));
342 else if(strcmp(argv[iarg], PARAM_OUTER) == 0)
344 if (iarg + 1 < argc)
345 desc.number_of_outer_iterations = static_cast<Ncv32u>(atoi(argv[++iarg]));
349 else if(strcmp(argv[iarg], PARAM_SOLVER) == 0)
351 if (iarg + 1 < argc)
352 desc.number_of_solver_iterations = static_cast<Ncv32u>(atoi(argv[++iarg]));
356 else if(strcmp(argv[iarg], PARAM_TIME_STEP) == 0)
358 if (iarg + 1 < argc)
359 timeStep = static_cast<Ncv32f>(atof(argv[++iarg]));
363 else if(strcmp(argv[iarg], PARAM_HELP) == 0)