Line data Source code
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 "MFEMProblemData.h" 15 : #include "ProblemOperatorBase.h" 16 : 17 : namespace Moose::MFEM 18 : { 19 : /// Steady-state problem operator with no equation system. 20 : class ProblemOperator : public mfem::Operator, public ProblemOperatorBase 21 : { 22 : public: 23 1087 : ProblemOperator(MFEMProblem & problem) : ProblemOperatorBase(problem) {} 24 : 25 : virtual void SetGridFunctions() override; 26 : 27 0 : virtual void Solve() override {} 28 0 : void Mult(const mfem::Vector &, mfem::Vector &) const override {} 29 : }; 30 : 31 : } // namespace Moose::MFEM 32 : 33 : #endif