Esempio n. 1
0
InputParameters validParams<SamplerBase>()
{
  InputParameters params = emptyInputParameters();

  MooseEnum sort_options("x y z id");
  params.addRequiredParam<MooseEnum>("sort_by", sort_options, "What to sort the samples by");

  return params;
}
Esempio n. 2
0
static int
#line 27
sort_group (int start)
#line 27
{
#line 27
  int i;
#line 27
  
#line 27
  for (i = start; i < NOPTHELP && opthelp[i].opt; i++)
#line 27
    ;
#line 27
  sort_options (start, i - start);
#line 27
  return i + 1;
#line 27
}