https://mooseframework.inl.gov
MFEMHypreAMS.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 MFEM_ENABLED
11 
12 #pragma once
13 #include "MFEMSolverBase.h"
14 #include "MFEMFESpace.h"
15 
20 {
21 public:
23 
25 
27  void updateSolver(mfem::ParBilinearForm & a, mfem::Array<int> & tdofs) override;
28 
29 protected:
30  void constructSolver(const InputParameters & parameters) override;
31 
32 private:
34 };
35 
36 #endif
Wrapper for mfem::HypreAMS solver.
Definition: MFEMHypreAMS.h:19
const MFEMFESpace & _mfem_fespace
Definition: MFEMHypreAMS.h:33
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static InputParameters validParams()
Definition: MFEMHypreAMS.C:17
Constructs and stores an mfem::ParFiniteElementSpace object.
Definition: MFEMFESpace.h:22
void updateSolver(mfem::ParBilinearForm &a, mfem::Array< int > &tdofs) override
Updates the solver with the bilinear form in case LOR solve is required.
Definition: MFEMHypreAMS.C:51
MFEMHypreAMS(const InputParameters &)
Definition: MFEMHypreAMS.C:32
Base class for wrapping mfem::Solver-derived classes.
void constructSolver(const InputParameters &parameters) override
Override in derived classes to construct and set the solver options.
Definition: MFEMHypreAMS.C:39
const InputParameters & parameters() const
Get the parameters of the object.