LCOV - code coverage report
Current view: top level - src/kernels - INSADEnergyAdvection.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 "INSADEnergyAdvection.h"
      11             : 
      12             : registerMooseObject("NavierStokesApp", INSADEnergyAdvection);
      13             : 
      14             : InputParameters
      15        1245 : INSADEnergyAdvection::validParams()
      16             : {
      17        1245 :   InputParameters params = ADKernelValue::validParams();
      18        1245 :   params.addClassDescription("This class computes the residual and Jacobian contributions for "
      19             :                              "temperature advection for a divergence free velocity field.");
      20        1245 :   return params;
      21           0 : }
      22             : 
      23         684 : INSADEnergyAdvection::INSADEnergyAdvection(const InputParameters & parameters)
      24             :   : ADKernelValue(parameters),
      25         684 :     _temperature_advective_strong_residual(
      26         684 :         getADMaterialProperty<Real>("temperature_advective_strong_residual"))
      27             : {
      28         684 : }
      29             : 
      30             : ADReal
      31    21052295 : INSADEnergyAdvection::precomputeQpResidual()
      32             : {
      33    21052295 :   return _temperature_advective_strong_residual[_qp];
      34             : }

Generated by: LCOV version 1.14