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 MFEM_ENABLED 11 : 12 : #pragma once 13 : #include "MFEMProblemData.h" 14 : #include "ProblemOperatorInterface.h" 15 : 16 : namespace Moose::MFEM 17 : { 18 : /// Steady-state problem operator with no equation system. 19 : class ProblemOperator : public mfem::Operator, public ProblemOperatorInterface 20 : { 21 : public: 22 110 : ProblemOperator(MFEMProblemData & problem) : ProblemOperatorInterface(problem) {} 23 : 24 : void SetGridFunctions() override; 25 : 26 0 : virtual void Solve(mfem::Vector & /*X*/) {} 27 0 : void Mult(const mfem::Vector &, mfem::Vector &) const override {} 28 : }; 29 : 30 : } // namespace Moose::MFEM 31 : 32 : #endif