https://mooseframework.inl.gov
MFEMHypreBoomerAMG.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #ifdef MOOSE_MFEM_ENABLED
11 
12 #pragma once
13 
14 #include "MFEMSolverBase.h"
15 
20 {
21 public:
23 
26 
28  void updateSolver(mfem::ParBilinearForm & a, mfem::Array<int> & tdofs) override;
29 
30 protected:
31  void constructSolver() override;
32 
33 private:
34  std::shared_ptr<mfem::ParFiniteElementSpace> _mfem_fespace{nullptr};
35 };
36 
37 #endif
MFEMHypreBoomerAMG(const InputParameters &)
void updateSolver(mfem::ParBilinearForm &a, mfem::Array< int > &tdofs) override
Updates the solver with the bilinear form in case LOR solve is required.
Wrapper for mfem::HypreBoomerAMG solver.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
std::shared_ptr< mfem::ParFiniteElementSpace > _mfem_fespace
Base class for wrapping mfem::Solver-derived classes.
static InputParameters validParams()
void constructSolver() override
Override in derived classes to construct and set the solver options.