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 : #pragma once 11 : 12 : #ifdef MOOSE_MFEM_ENABLED 13 : 14 : #include "MFEMAuxKernel.h" 15 : 16 : class MFEMNDtoRTAux : public MFEMAuxKernel 17 : { 18 : public: 19 : static InputParameters validParams(); 20 : 21 : MFEMNDtoRTAux(const InputParameters & parameters); 22 12 : ~MFEMNDtoRTAux() override = default; 23 : void execute() override; 24 : 25 : protected: 26 : const AuxVariableName _nd_source_var_name; 27 : const mfem::ParGridFunction & _nd_source_var; 28 : const mfem::real_t _scale_factor; 29 : }; 30 : 31 : #endif