https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMDGDiffusionKernel.h
Go to the documentation of this file.
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 "MFEMKernel.h"
15
17{
18public:
21
22 virtual mfem::BilinearFormIntegrator * createBFIntegrator() override;
23
24 virtual bool isDGKernel() const override { return true; }
25
26protected:
28 mfem::Coefficient & _coef;
29 mfem::real_t _sigma;
30 mfem::real_t _kappa;
31};
32
33#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
static InputParameters validParams()
mfem::Coefficient & _coef
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
Create MFEM integrator to apply to the LHS of the weak form. Ownership managed by the caller.
virtual bool isDGKernel() const override
Method to disambiguate whether we have a regular kernel or a DG Kernel.
Class to construct an MFEM integrator to apply to the equation system.
Definition MFEMKernel.h:22
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131