https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMNDtoRTAux.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#pragma once
11
12#ifdef MOOSE_MFEM_ENABLED
13
14#include "MFEMAuxKernel.h"
15
17{
18public:
20
22 ~MFEMNDtoRTAux() override = default;
23 void execute() override;
24
25protected:
26 const AuxVariableName _nd_source_var_name;
27 const mfem::ParGridFunction & _nd_source_var;
28 const mfem::real_t _scale_factor;
29};
30
31#endif
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.
static InputParameters validParams()
const AuxVariableName _nd_source_var_name
void execute() override
Perform the main work for this object.
const mfem::ParGridFunction & _nd_source_var
const mfem::real_t _scale_factor
~MFEMNDtoRTAux() override=default
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131