https://mooseframework.inl.gov
MFEMMUMPS.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 
20 {
21 public:
23 
25 
26 protected:
27  void ConstructSolver() override;
28 
30  void SetupLOR(mfem::ParBilinearForm & a, mfem::Array<int> & tdofs) override;
31 };
32 
33 #endif
Wrapper for mfem::MUMPSSolver.
Definition: MFEMMUMPS.h:19
void ConstructSolver() override
Override in derived classes to construct and set the solver options.
Definition: MFEMMUMPS.C:34
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for linear MFEM solvers and preconditioners.
MFEMMUMPS(const InputParameters &parameters)
Definition: MFEMMUMPS.C:28
static InputParameters validParams()
Definition: MFEMMUMPS.C:18
void SetupLOR(mfem::ParBilinearForm &a, mfem::Array< int > &tdofs) override
Updates the solver with the bilinear form in case LOR solve is required.
Definition: MFEMMUMPS.C:43