LCOV - code coverage report
Current view: top level - src/hdgkernels - MassFluxPenaltyIPHDG.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: #32971 (54bef8) with base c6cf66 Lines: 11 12 91.7 %
Date: 2026-05-29 20:37:52 Functions: 3 3 100.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             : #include "MassFluxPenaltyIPHDG.h"
      11             : #include "MassFluxPenaltyIPHDGAssemblyHelper.h"
      12             : 
      13             : registerMooseObject("NavierStokesApp", MassFluxPenaltyIPHDG);
      14             : 
      15             : InputParameters
      16         116 : MassFluxPenaltyIPHDG::validParams()
      17             : {
      18         116 :   InputParameters params = IPHDGKernel::validParams();
      19         116 :   params += MassFluxPenaltyIPHDGAssemblyHelper::validParams();
      20         116 :   params.addClassDescription("introduces a jump correction on internal faces for grad-div "
      21             :                              "stabilization for discontinuous Galerkin methods.");
      22         116 :   return params;
      23           0 : }
      24             : 
      25          58 : MassFluxPenaltyIPHDG::MassFluxPenaltyIPHDG(const InputParameters & params)
      26             :   : IPHDGKernel(params),
      27          58 :     _iphdg_helper(std::make_unique<MassFluxPenaltyIPHDGAssemblyHelper>(
      28          58 :         this, this, this, _mesh, _sys, _assembly, _tid, blockIDs(), std::set<BoundaryID>{}))
      29             : {
      30          58 : }
      31             : 
      32             : IPHDGAssemblyHelper &
      33     4490396 : MassFluxPenaltyIPHDG::iphdgHelper()
      34             : {
      35     4490396 :   return *_iphdg_helper;
      36             : }

Generated by: LCOV version 1.14