LCOV - code coverage report
Current view: top level - src/kernels - ADDiffusion.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 7 8 87.5 %
Date: 2025-07-17 01:28:37 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 "ADDiffusion.h"
      11             : 
      12             : registerMooseObject("MooseApp", ADDiffusion);
      13             : 
      14             : InputParameters
      15       17536 : ADDiffusion::validParams()
      16             : {
      17       17536 :   auto params = ADKernelGrad::validParams();
      18       17536 :   params.addClassDescription("Same as `Diffusion` in terms of physics/residual, but the Jacobian "
      19             :                              "is computed using forward automatic differentiation");
      20       17536 :   return params;
      21           0 : }
      22             : 
      23        1686 : ADDiffusion::ADDiffusion(const InputParameters & parameters) : ADKernelGrad(parameters) {}
      24             : 
      25             : ADRealVectorValue
      26    17056069 : ADDiffusion::precomputeQpResidual()
      27             : {
      28    17056069 :   return _grad_u[_qp];
      29             : }

Generated by: LCOV version 1.14