LCOV - code coverage report
Current view: top level - src/hdgkernels - AdvectionIPHDGKernel.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 329044 Lines: 11 12 91.7 %
Date: 2026-08-03 21:12:22 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://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             : #include "AdvectionIPHDGAssemblyHelper.h"
      11             : #include "AdvectionIPHDGKernel.h"
      12             : 
      13             : registerMooseObject("MooseApp", AdvectionIPHDGKernel);
      14             : 
      15             : InputParameters
      16        3360 : AdvectionIPHDGKernel::validParams()
      17             : {
      18        3360 :   auto params = ElementAndTraceScalarHDGKernel::validParams();
      19        3360 :   params += AdvectionIPHDGAssemblyHelper::validParams();
      20        3360 :   params.addClassDescription("Adds element and interior face integrals for a hybridized interior "
      21             :                              "penalty discontinuous Galerkin discretization of an advection term.");
      22        3360 :   return params;
      23           0 : }
      24             : 
      25         134 : AdvectionIPHDGKernel::AdvectionIPHDGKernel(const InputParameters & params)
      26             :   : ElementAndTraceScalarHDGKernel(params),
      27         134 :     _iphdg_helper(std::make_unique<AdvectionIPHDGAssemblyHelper>(
      28         268 :         this, this, this, _sys, _assembly, _tid, blockIDs(), std::set<BoundaryID>{}))
      29             : {
      30         134 : }
      31             : 
      32             : ElementAndTraceScalarHDGAssemblyHelper &
      33      252886 : AdvectionIPHDGKernel::hdgHelper()
      34             : {
      35      252886 :   return *_iphdg_helper;
      36             : }

Generated by: LCOV version 1.14