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 : /** 25 : * Method called in AddMFEMSolverAction which will create the solver. 26 : */ 27 : virtual void addMFEMSolver(const std::string & user_object_name, 28 : const std::string & name, 29 : InputParameters & parameters) override; 30 : 31 : /** 32 : * Override of MFEMProblem::addVariable. Sets a 33 : * MFEM grid function to be used in the MFEM solve. 34 : */ 35 : virtual void addVariable(const std::string & var_type, 36 : const std::string & var_name, 37 : InputParameters & parameters) override; 38 : }; 39 : 40 : #endif