LCOV - code coverage report
Current view: top level - src/kernels - INSADEnergySUPG.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 10 11 90.9 %
Date: 2025-08-14 10:14:56 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 "INSADEnergySUPG.h"
      11             : 
      12             : registerMooseObject("NavierStokesApp", INSADEnergySUPG);
      13             : 
      14             : InputParameters
      15         810 : INSADEnergySUPG::validParams()
      16             : {
      17         810 :   InputParameters params = ADKernelSUPG::validParams();
      18        1620 :   params.addClassDescription("Adds the supg stabilization to the INS temperature/energy equation");
      19        1620 :   params.set<MaterialPropertyName>("tau_name") = "tau_energy";
      20         810 :   return params;
      21           0 : }
      22             : 
      23         444 : INSADEnergySUPG::INSADEnergySUPG(const InputParameters & parameters)
      24             :   : ADKernelSUPG(parameters),
      25         888 :     _temperature_strong_residual(getADMaterialProperty<Real>("temperature_strong_residual"))
      26             : {
      27         444 : }
      28             : 
      29             : ADReal
      30    13803290 : INSADEnergySUPG::precomputeQpStrongResidual()
      31             : {
      32    13803290 :   return _temperature_strong_residual[_qp];
      33             : }

Generated by: LCOV version 1.14