LCOV - code coverage report
Current view: top level - src/kernels - ADVectorDiffusion.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 9 10 90.0 %
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 "ADVectorDiffusion.h"
      11             : 
      12             : registerMooseObject("MooseApp", ADVectorDiffusion);
      13             : 
      14             : InputParameters
      15       14549 : ADVectorDiffusion::validParams()
      16             : {
      17       14549 :   InputParameters params = ADVectorKernel::validParams();
      18       14549 :   params.addClassDescription(
      19             :       "The Laplacian operator ($-\\nabla \\cdot \\nabla \\vec{u}$), with the weak "
      20             :       "form of $(\\nabla \\vec{\\phi_i}, \\nabla \\vec{u_h})$. The Jacobian is computed using "
      21             :       "automatic differentiation");
      22       14549 :   return params;
      23           0 : }
      24             : 
      25         146 : ADVectorDiffusion::ADVectorDiffusion(const InputParameters & parameters)
      26         146 :   : ADVectorKernel(parameters)
      27             : {
      28         146 : }
      29             : 
      30             : ADReal
      31    23255648 : ADVectorDiffusion::computeQpResidual()
      32             : {
      33    23255648 :   return _grad_u[_qp].contract(_grad_test[_i][_qp]);
      34             : }

Generated by: LCOV version 1.14