10 #ifdef MOOSE_MFEM_ENABLED 22 "parallel using the SuperLU_DIST library.");
27 :
Moose::MFEM::LinearSolverBase(parameters)
36 solver->iterative_mode = getParam<bool>(
"use_initial_guess");
44 mooseError(
"SuperLU solver does not support LOR solve");
static InputParameters validParams()
MFEMProblem & getMFEMProblem()
Return the owning MFEM problem.
Wrapper for Moose::MFEM::SuperLUSolver.
std::unique_ptr< mfem::Solver > _solver
Solver to be used for the problem.
static InputParameters validParams()
bool _lor
Variable defining whether to use LOR solver.
registerMooseObject("MooseApp", MFEMSuperLU)
MFEMSuperLU(const InputParameters ¶meters)
void SetupLOR(mfem::ParBilinearForm &a, mfem::Array< int > &ess_bdr_markers) override
Updates the solver with the bilinear form in case LOR solve is required.
MPI_Comm getComm()
Return the MPI communicator associated with this FE problem's mesh.
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...
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
void ConstructSolver() override
Override in derived classes to construct and set the solver options.