www.mooseframework.org
Classes | Functions
TestSampler.h File Reference

Go to the source code of this file.

Classes

class  TestSampler
 UserObject for testing Sampler object threaded and parallel behavior, it should be used for anything else. More...
 

Functions

template<>
InputParameters validParams< TestSampler > ()
 

Function Documentation

template<>
InputParameters validParams< TestSampler > ( )

Definition at line 12 of file TestSampler.C.

13 {
14  InputParameters params = validParams<ElementUserObject>();
15  params.addRequiredParam<SamplerName>("sampler", "The sampler to test.");
16 
17  MooseEnum test_type("mpi thread");
18  params.addParam<MooseEnum>("test_type", test_type, "The type of test to perform.");
19  return params;
20 }