https://mooseframework.inl.gov
ProblemOperator.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 #include "MFEMProblemData.h"
14 #include "ProblemOperatorBase.h"
15 
16 namespace Moose::MFEM
17 {
19 class ProblemOperator : public mfem::Operator, public ProblemOperatorBase
20 {
21 public:
23 
24  void SetGridFunctions() override;
25 
26  virtual void Solve() override {}
27  void Mult(const mfem::Vector &, mfem::Vector &) const override {}
28 };
29 
30 } // namespace Moose::MFEM
31 
32 #endif
virtual void Solve() override
Steady-state problem operator with no equation system.
void Mult(const mfem::Vector &, mfem::Vector &) const override
void SetGridFunctions() override
Interface inherited by ProblemOperator and TimeDomainProblemOperator. Removes duplicated code in both...
ProblemOperator(MFEMProblem &problem)