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 : 15 : namespace Moose::MFEM 16 : { 17 : /** 18 : * Interface required for: 19 : * - EquationSystemProblemOperator 20 : * - TimeDomainEquationSystemProblemOperator 21 : */ 22 : class EquationSystemInterface 23 : { 24 : public: 25 134 : EquationSystemInterface() = default; 26 134 : virtual ~EquationSystemInterface() = default; 27 : 28 : /// Returns a pointer to the operator's equation system. 29 : [[nodiscard]] virtual Moose::MFEM::EquationSystem * GetEquationSystem() const = 0; 30 : }; 31 : } 32 : 33 : #endif