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 "MFEMProblem.h" 15 : 16 : class MFEMEigenproblem : public MFEMProblem 17 : { 18 : public: 19 : static InputParameters validParams(); 20 : 21 : MFEMEigenproblem(const InputParameters & params); 22 26 : virtual ~MFEMEigenproblem() {} 23 : 24 : virtual void resolveMFEMSolvers() override; 25 : 26 : /** 27 : * Override of MFEMProblem::addVariable. Sets a 28 : * MFEM grid function to be used in the MFEM solve. 29 : */ 30 : virtual void addVariable(const std::string & var_type, 31 : const std::string & var_name, 32 : InputParameters & parameters) override; 33 : }; 34 : 35 : #endif