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