https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMOperatorChebyshevSmoother.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
28{
29public:
31
33
34 void ConstructSolver() override;
35
36protected:
38 virtual void SetOperatorImpl(mfem::Operator & op) override;
39
40private:
42 const int _order;
43
45 mfem::Vector _diag;
46
48 mfem::Array<int> _empty_tdofs;
49};
50#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Wrapper for mfem::OperatorChebyshevSmoother.
const int _order
Degree of the Chebyshev polynomial used by the MFEM smoother.
virtual void SetOperatorImpl(mfem::Operator &op) override
Rebuilds the multigrid hierarchy for the supplied finest-level operator.
mfem::Array< int > _empty_tdofs
The operator supplied by MOOSE is already constrained.
mfem::Vector _diag
Assembled diagonal.
void ConstructSolver() override
Override in derived classes to construct and set the solver options.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Base class for linear MFEM solvers and preconditioners.