https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMCrossProductAux.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
25{
26public:
28
30 ~MFEMCrossProductAux() override = default;
31
32 void execute() override;
33
34protected:
36 mfem::VectorCrossProductCoefficient _cross;
37
39 mfem::ScalarVectorProductCoefficient _scaled_cross;
40};
41
42#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 vector MFEM auxvariable.
void execute() override
Perform the main work for this object.
mfem::VectorCrossProductCoefficient _cross
Cross product coefficient.
~MFEMCrossProductAux() override=default
mfem::ScalarVectorProductCoefficient _scaled_cross
Final coefficient that applies a scaling factor to the cross product.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131