LCOV - code coverage report
Current view: top level - src/kernels - INSADMomentumAdvection.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 9 10 90.0 %
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 "INSADMomentumAdvection.h"
      11             : 
      12             : registerMooseObject("NavierStokesApp", INSADMomentumAdvection);
      13             : 
      14             : InputParameters
      15        2855 : INSADMomentumAdvection::validParams()
      16             : {
      17        2855 :   InputParameters params = ADVectorKernelValue::validParams();
      18        2855 :   params.addClassDescription("Adds the advective term to the INS momentum equation");
      19        2855 :   return params;
      20           0 : }
      21             : 
      22        1555 : INSADMomentumAdvection::INSADMomentumAdvection(const InputParameters & parameters)
      23             :   : ADVectorKernelValue(parameters),
      24        3110 :     _advective_strong_residual(getADMaterialProperty<RealVectorValue>("advective_strong_residual"))
      25             : {
      26        1555 : }
      27             : 
      28             : ADRealVectorValue
      29    31232789 : INSADMomentumAdvection::precomputeQpResidual()
      30             : {
      31    31232789 :   return _advective_strong_residual[_qp];
      32             : }

Generated by: LCOV version 1.14