https://mooseframework.inl.gov
include
mfem
kernels
MFEMMixedBilinearFormKernel.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
#include "
MFEMKernel.h
"
14
18
class
MFEMMixedBilinearFormKernel
:
public
MFEMKernel
19
{
20
public
:
21
static
InputParameters
validParams
();
22
23
MFEMMixedBilinearFormKernel
(
const
InputParameters
&
parameters
);
24
~MFEMMixedBilinearFormKernel
() =
default
;
25
28
virtual
const
VariableName &
getTrialVariableName
()
const override
;
29
31
virtual
mfem::BilinearFormIntegrator *
createMBFIntegrator
() {
return
nullptr
; }
32
34
virtual
mfem::BilinearFormIntegrator *
createBFIntegrator
()
override
;
35
36
protected
:
38
const
VariableName
_trial_var_name
;
40
bool
_transpose
;
41
};
42
43
#endif
MFEMMixedBilinearFormKernel::MFEMMixedBilinearFormKernel
MFEMMixedBilinearFormKernel(const InputParameters ¶meters)
Definition:
MFEMMixedBilinearFormKernel.C:29
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBase.h:127
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:65
MFEMMixedBilinearFormKernel::getTrialVariableName
virtual const VariableName & getTrialVariableName() const override
Get name of the trial variable (gridfunction) the kernel acts on.
Definition:
MFEMMixedBilinearFormKernel.C:38
MFEMMixedBilinearFormKernel::_trial_var_name
const VariableName _trial_var_name
Name of the trial variable that the kernel is applied to.
Definition:
MFEMMixedBilinearFormKernel.h:38
MFEMMixedBilinearFormKernel::createBFIntegrator
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
We override this to optionally transpose the mixed bilinear form integrator.
Definition:
MFEMMixedBilinearFormKernel.C:44
MFEMMixedBilinearFormKernel::validParams
static InputParameters validParams()
Definition:
MFEMMixedBilinearFormKernel.C:15
MFEMMixedBilinearFormKernel::createMBFIntegrator
virtual mfem::BilinearFormIntegrator * createMBFIntegrator()
Create MFEM mixed bilinear form integrator. Ownership managed by the caller.
Definition:
MFEMMixedBilinearFormKernel.h:31
MFEMMixedBilinearFormKernel::~MFEMMixedBilinearFormKernel
~MFEMMixedBilinearFormKernel()=default
MFEMMixedBilinearFormKernel
Class to construct an MFEM mixed bilinear form integrator to apply to the equation system...
Definition:
MFEMMixedBilinearFormKernel.h:18
MFEMKernel.h
MFEMMixedBilinearFormKernel::_transpose
bool _transpose
Bool controlling whether to add the transpose of the integrator to the system.
Definition:
MFEMMixedBilinearFormKernel.h:40
MFEMKernel
Class to construct an MFEM integrator to apply to the equation system.
Definition:
MFEMKernel.h:21
Generated on Thu Aug 28 2025 08:58:15 for https://mooseframework.inl.gov by
1.8.14