LCOV - code coverage report
Current view: top level - include/mfem/kernels - MFEMTimeDerivativeMassKernel.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 1 1 100.0 %
Date: 2026-05-29 20:35:17 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 MOOSE_MFEM_ENABLED
      11             : 
      12             : #pragma once
      13             : 
      14             : #include "MFEMMassKernel.h"
      15             : 
      16             : /**
      17             :  * \f[
      18             :  * (k du/dt, v)
      19             :  * \f]
      20             :  */
      21             : class MFEMTimeDerivativeMassKernel : public MFEMMassKernel
      22             : {
      23             : public:
      24             :   static InputParameters validParams();
      25             : 
      26             :   MFEMTimeDerivativeMassKernel(const InputParameters & parameters);
      27             : 
      28             :   /// Get name of the trial variable (gridfunction) the kernel acts on.
      29             :   /// Defaults to the name of the test variable labelling the weak form.
      30         242 :   virtual const VariableName & getTrialVariableName() const override { return _var_dot_name; }
      31             : 
      32             : protected:
      33             :   /// Name of variable (gridfunction) representing time derivative of variable.
      34             :   const VariableName _var_dot_name;
      35             : };
      36             : 
      37             : #endif

Generated by: LCOV version 1.14