https://mooseframework.inl.gov
MFEMDGDiffusionBC.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 "MFEMIntegratedBC.h"
15 
17 {
18 public:
20 
22 
24  virtual mfem::BilinearFormIntegrator * createBFIntegrator() override;
25 
27  virtual mfem::LinearFormIntegrator * createLFIntegrator() override;
28 
29  virtual bool isDGBC() const override { return true; }
30 
31 protected:
32  int _fe_order;
33  mfem::Coefficient & _dcoef;
34  mfem::Coefficient & _bcoef;
35  mfem::real_t _sigma;
36  mfem::real_t _kappa;
37 };
38 
39 #endif
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
mfem::Coefficient & _bcoef
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
Create MFEM integrator to apply to the LHS of the weak form. Ownership managed by the caller...
mfem::Coefficient & _dcoef
static InputParameters validParams()
virtual mfem::LinearFormIntegrator * createLFIntegrator() override
Create MFEM integrator to apply to the RHS of the weak form. Ownership managed by the caller...
virtual bool isDGBC() const override
Method to disambiguate whether we have a regular BC or a DG BC.
MFEMDGDiffusionBC(const InputParameters &parameters)