https://mooseframework.inl.gov
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 {
25 public:
27 
29  ~MFEMInnerProductAux() override = default;
30 
31  void execute() override;
32 
33 protected:
35  mfem::InnerProductCoefficient _inner;
36 
38  mfem::ProductCoefficient _scaled_inner;
39 };
40 
41 #endif // MOOSE_MFEM_ENABLED
void execute() override
Perform the main work for this object.
Project onto a scalar MFEM auxvariable.
MFEMInnerProductAux(const InputParameters &parameters)
mfem::InnerProductCoefficient _inner
Inner product coefficient.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
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.
Definition: MFEMAuxKernel.h:20
~MFEMInnerProductAux() override=default
mfem::ProductCoefficient _scaled_inner
Final coefficient that applies a scaling factor to the inner product.