10 #ifdef MOOSE_MFEM_ENABLED 22 "parallel using the SuperLU_DIST library.");
35 _solver = std::make_unique<Moose::MFEM::SuperLUSolver>(
43 mooseError(
"SuperLU solver does not support LOR solve");
static InputParameters validParams()
Wrapper for Moose::MFEM::SuperLUSolver.
virtual MFEMMesh & mesh() override
Overwritten mesh() method from base MooseMesh to retrieve the correct mesh type, in this case MFEMMes...
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
void constructSolver(const InputParameters ¶meters) override
Override in derived classes to construct and set the solver options.
void updateSolver(mfem::ParBilinearForm &a, mfem::Array< int > &tdofs) override
Updates the solver with the bilinear form in case LOR solve is required.
registerMooseObject("MooseApp", MFEMSuperLU)
MFEMSuperLU(const InputParameters ¶meters)
mfem::ParMesh & getMFEMParMesh()
Accessors for the _mfem_par_mesh object.
bool _lor
Variable defining whether to use LOR solver.
MFEMProblem & getMFEMProblem()
Returns a reference to the MFEMProblem instance.
Base class for wrapping mfem::Solver-derived classes.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
std::unique_ptr< mfem::Solver > _solver
Solver to be used for the problem.