LCOV - code coverage report
Current view: top level - include/mfem/kernels - MFEMTimeDerivativeMassKernel.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 1 1 100.0 %
Date: 2025-07-17 01:28:37 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             :  */
      20             : class MFEMTimeDerivativeMassKernel : public MFEMMassKernel
      21             : {
      22             : public:
      23             :   static InputParameters validParams();
      24             : 
      25             :   MFEMTimeDerivativeMassKernel(const InputParameters & parameters);
      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          40 :   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

Generated by: LCOV version 1.14