https://mooseframework.inl.gov
MFEMTimeDerivativeMassKernel.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 MFEM_ENABLED
11 
12 #pragma once
13 #include "MFEMMassKernel.h"
14 
15 /*
16  * \f[
17  * (\beta du/dt, u')
18  * \f]
19  */
21 {
22 public:
24 
26 
27  // Get name of the trial variable (gridfunction) the kernel acts on.
28  // Defaults to the name of the test variable labelling the weak form.
29  virtual const VariableName & getTrialVariableName() const override { return _var_dot_name; };
30 
31 protected:
32  // Name of variable (gridfunction) representing time derivative of variable.
33  const VariableName _var_dot_name;
34 };
35 
36 #endif
MFEMTimeDerivativeMassKernel(const InputParameters &parameters)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const InputParameters & parameters() const
Get the parameters of the object.
virtual const VariableName & getTrialVariableName() const override