10 #ifdef MOOSE_MFEM_ENABLED 20 params.
addParam<std::string>(
"device",
"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())
static InputParameters validParams()
bool isUltimateMaster() const
Whether or not this app is the ultimate master app.
MFEMExecutioner(const InputParameters ¶ms)
void setMFEMDevice(const std::string &device_string, Moose::PassKey< MFEMExecutioner >)
Create/configure the MFEM device with the provided device_string.
std::optional< MooseEnum > getComputeDevice() const
Get the device accelerated computations are supposed to be running on.
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
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.
MooseApp & _app
The MOOSE application this is associated with.