10 #ifdef MOOSE_MFEM_ENABLED 21 params.
addClassDescription(
"Hypre auxiliary-space Maxwell eigensolver to compute the lowest " 22 "eigenmodes of a generalized eigenvalue problem.");
28 :
Moose::MFEM::EigensolverBase(parameters)
41 _eigensolver->SetPrintLevel(getParam<int>(
"print_level"));
registerMooseObject("MooseApp", MFEMHypreAME)
MFEMProblem & getMFEMProblem()
Return the owning MFEM problem.
Class for the HypreAME eigensolver.
static InputParameters validParams()
MFEMHypreAME(const InputParameters ¶meters)
virtual void ConstructSolver() override
Override in derived classes to construct and set the solver options.
std::unique_ptr< mfem::HypreAME > _eigensolver
Eigensolver to be used for the problem.
MPI_Comm getComm()
Return the MPI communicator associated with this FE problem's mesh.
void SetPreconditioner(T &solver)
Retrieves the preconditioner userobject if present, sets the member pointer to said object if still u...
int _num_modes
Number of eigenmodes to compute.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
static InputParameters validParams()