LCOV - code coverage report
Current view: top level - src/kernels - ADArrayDiffusion.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 10 11 90.9 %
Date: 2026-05-29 20:35:17 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://www.mooseframework.org
       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 "ADArrayDiffusion.h"
      11             : 
      12             : registerMooseObject("MooseApp", ADArrayDiffusion);
      13             : 
      14             : InputParameters
      15        3149 : ADArrayDiffusion::validParams()
      16             : {
      17        3149 :   InputParameters params = ADArrayKernel::validParams();
      18        3149 :   params += ADFunctorInterface::validParams();
      19        3149 :   params.addClassDescription(
      20             :       "The array Laplacian operator ($-\\nabla \\cdot \\nabla u$), with the weak "
      21             :       "form of $(\\nabla \\phi_i, \\nabla u_h)$.");
      22        3149 :   return params;
      23           0 : }
      24             : 
      25          46 : ADArrayDiffusion::ADArrayDiffusion(const InputParameters & parameters) : ADArrayKernel(parameters)
      26             : {
      27          46 : }
      28             : 
      29             : void
      30      355328 : ADArrayDiffusion::computeQpResidual(ADRealEigenVector & residual)
      31             : {
      32      355328 :   residual = _grad_u[_qp] * _array_grad_test[_i][_qp];
      33      355328 : }

Generated by: LCOV version 1.14