https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMHypreADS.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
15#include "MFEMFESpace.h"
16
20class MFEMHypreADS : public Moose::MFEM::LORLinearSolverBase<mfem::HypreADS>
21{
22public:
24
26
27 void ConstructSolver() override;
28
29protected:
31 virtual void SetSolverParameters(mfem::HypreADS & solver) override;
32
33private:
35};
36
37#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Constructs and stores an mfem::ParFiniteElementSpace object.
Definition MFEMFESpace.h:21
Wrapper for mfem::HypreADS solver.
static InputParameters validParams()
virtual void SetSolverParameters(mfem::HypreADS &solver) override
Update the wrapped MFEM solver parameters.
void ConstructSolver() override
Override in derived classes to construct and set the solver options.
const MFEMFESpace & _mfem_fespace
Base class for LOR compatible linear MFEM solvers and preconditioners.