LCOV - code coverage report
Current view: top level - include/hdgkernels - MassMatrixHDG.h (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: #31405 (292dce) with base fef103 Lines: 3 4 75.0 %
Date: 2025-09-04 07:54:44 Functions: 3 4 75.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://www.mooseframework.org
       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             : #include "HDGKernel.h"
      13             : 
      14             : /**
      15             :  * This class computes a mass for facet unkowns on interior faces just like \p MassMatrixDGKernel.
      16             :  * However, in order to be compatible with static condensation it is slightly less efficient in that
      17             :  * faces are visited twice
      18             :  */
      19             : class MassMatrixHDG : public HDGKernel
      20             : {
      21             : public:
      22             :   static InputParameters validParams();
      23             : 
      24             :   MassMatrixHDG(const InputParameters & parameters);
      25             : 
      26       73216 :   virtual void computeResidual() override {}
      27           0 :   virtual void computeJacobian() override {}
      28      199680 :   virtual void computeOffDiagJacobian(unsigned int) override {}
      29      210496 :   virtual void computeResidualOnSide() override {}
      30             :   virtual void computeJacobianOnSide() override;
      31             : 
      32             : protected:
      33             :   const VariablePhiValue & _face_phi;
      34             :   const Real _density;
      35             :   DenseMatrix<Number> _mass;
      36             : };

Generated by: LCOV version 1.14