20 params.
addParam<std::string>(
"device",
"cpu",
"Run app on the chosen device.");
21 MooseEnum assembly_levels(
"legacy full element partial none",
"legacy",
true);
25 "Matrix assembly level. Options: legacy, full, element, partial, none.");
32 _mfem_problem(dynamic_cast<
MFEMProblem &>(feProblem())),
33 _problem_data(_mfem_problem.getProblemData())
45 _device.Configure(getParam<std::string>(
"device"));
static InputParameters validParams()
void setDevice()
Set the device to use to solve the FE problem.
MFEMExecutioner(const InputParameters ¶ms)
static InputParameters validParams()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Executioners are objects that do the actual work of solving your problem.