https://mooseframework.inl.gov
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 {
26 public:
28 
30  ~MFEMCrossProductAux() override = default;
31 
32  void execute() override;
33 
34 protected:
36  mfem::VectorCrossProductCoefficient _cross;
37 
39  mfem::ScalarVectorProductCoefficient _scaled_cross;
40 };
41 
42 #endif // MOOSE_MFEM_ENABLED
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
mfem::VectorCrossProductCoefficient _cross
Cross product coefficient.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
mfem::ScalarVectorProductCoefficient _scaled_cross
Final coefficient that applies a scaling factor to the cross product.
Class to construct an auxiliary solver used to update a real auxvariable.
Definition: MFEMAuxKernel.h:20
Project onto a vector MFEM auxvariable.
void execute() override
Perform the main work for this object.
~MFEMCrossProductAux() override=default
MFEMCrossProductAux(const InputParameters &parameters)
static InputParameters validParams()