https://mooseframework.inl.gov
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 
14 #include "MFEMLinearSolverBase.h"
15 #include "MFEMFESpace.h"
16 
21 {
22 public:
24 
26 
28  void SetupLOR(mfem::ParBilinearForm & a, mfem::Array<int> & tdofs) override;
29 
30 protected:
31  void ConstructSolver() override;
32 
33 private:
35 };
36 
37 #endif
Wrapper for mfem::HypreADS solver.
Definition: MFEMHypreADS.h:20
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void ConstructSolver() override
Override in derived classes to construct and set the solver options.
Definition: MFEMHypreADS.C:38
Base class for linear MFEM solvers and preconditioners.
static InputParameters validParams()
Definition: MFEMHypreADS.C:18
MFEMHypreADS(const InputParameters &)
Definition: MFEMHypreADS.C:29
Constructs and stores an mfem::ParFiniteElementSpace object.
Definition: MFEMFESpace.h:20
void SetupLOR(mfem::ParBilinearForm &a, mfem::Array< int > &tdofs) override
Updates the solver with the bilinear form in case LOR solve is required.
Definition: MFEMHypreADS.C:48
const MFEMFESpace & _mfem_fespace
Definition: MFEMHypreADS.h:34