https://mooseframework.inl.gov
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 {
18 public:
20 
22  ~MFEMNDtoRTAux() override = default;
23  void execute() override;
24 
25 protected:
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
void execute() override
Perform the main work for this object.
Definition: MFEMNDtoRTAux.C:76
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...
MFEMNDtoRTAux(const InputParameters &parameters)
Definition: MFEMNDtoRTAux.C:35
Class to construct an auxiliary solver used to update a real auxvariable.
Definition: MFEMAuxKernel.h:20
~MFEMNDtoRTAux() override=default
const AuxVariableName _nd_source_var_name
Definition: MFEMNDtoRTAux.h:26
static InputParameters validParams()
Definition: MFEMNDtoRTAux.C:18
const mfem::real_t _scale_factor
Definition: MFEMNDtoRTAux.h:28
const mfem::ParGridFunction & _nd_source_var
Definition: MFEMNDtoRTAux.h:27