https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMInnerProductAux.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 "MFEMAuxKernel.h"
15
24{
25public:
27
29 ~MFEMInnerProductAux() override = default;
30
31 void execute() override;
32
33protected:
35 mfem::InnerProductCoefficient _inner;
36
38 mfem::ProductCoefficient _scaled_inner;
39};
40
41#endif // MOOSE_MFEM_ENABLED
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Class to construct an auxiliary solver used to update a real auxvariable.
Project onto a scalar MFEM auxvariable.
static InputParameters validParams()
~MFEMInnerProductAux() override=default
void execute() override
Perform the main work for this object.
mfem::ProductCoefficient _scaled_inner
Final coefficient that applies a scaling factor to the inner product.
mfem::InnerProductCoefficient _inner
Inner product coefficient.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131