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 : #include "MFEMMixedBilinearFormKernel.h" 14 : 15 : /** 16 : * \f[ 17 : * (k \vec \nabla \cdot \vec u, v) 18 : * \f] 19 : */ 20 : class MFEMVectorFEDivergenceKernel : public MFEMMixedBilinearFormKernel 21 : { 22 : public: 23 : static InputParameters validParams(); 24 : 25 : MFEMVectorFEDivergenceKernel(const InputParameters & parameters); 26 32 : ~MFEMVectorFEDivergenceKernel() override = default; 27 : 28 : virtual mfem::BilinearFormIntegrator * createMBFIntegrator() override; 29 : 30 : protected: 31 : mfem::Coefficient & _coef; 32 : }; 33 : 34 : #endif