LCOV - code coverage report
Current view: top level - src/mfem/kernels - MFEMTimeDerivativeMassKernel.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31706 (f8ed4a) with base bb0a08 Lines: 8 9 88.9 %
Date: 2025-11-03 17:23:24 Functions: 2 2 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             : #include "MFEMTimeDerivativeMassKernel.h"
      13             : #include "MFEMProblem.h"
      14             : 
      15             : registerMooseObject("MooseApp", MFEMTimeDerivativeMassKernel);
      16             : 
      17             : InputParameters
      18        9438 : MFEMTimeDerivativeMassKernel::validParams()
      19             : {
      20        9438 :   InputParameters params = MFEMMassKernel::validParams();
      21        9438 :   params.addClassDescription("Adds the domain integrator to an MFEM problem for the bilinear form "
      22             :                              "$(k \\dot{u}, v)_\\Omega$ "
      23             :                              "arising from the weak form of the operator "
      24             :                              "$k \\dot{u}$.");
      25        9438 :   return params;
      26           0 : }
      27             : 
      28         103 : MFEMTimeDerivativeMassKernel::MFEMTimeDerivativeMassKernel(const InputParameters & parameters)
      29             :   : MFEMMassKernel(parameters),
      30         103 :     _var_dot_name(
      31         103 :         getMFEMProblem().getProblemData().time_derivative_map.getTimeDerivativeName(_test_var_name))
      32             : {
      33         103 : }
      34             : 
      35             : #endif

Generated by: LCOV version 1.14