LCOV - code coverage report
Current view: top level - src/kernels - PrimaryDiffusion.C (source / functions) Hit Total Coverage
Test: idaholab/moose chemical_reactions: #32971 (54bef8) with base c6cf66 Lines: 11 12 91.7 %
Date: 2026-05-29 20:35:47 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://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 "PrimaryDiffusion.h"
      11             : 
      12             : registerMooseObject("ChemicalReactionsApp", PrimaryDiffusion);
      13             : 
      14             : InputParameters
      15         544 : PrimaryDiffusion::validParams()
      16             : {
      17         544 :   InputParameters params = Diffusion::validParams();
      18         544 :   params.addClassDescription("Diffusion of primary species");
      19         544 :   return params;
      20           0 : }
      21             : 
      22         286 : PrimaryDiffusion::PrimaryDiffusion(const InputParameters & parameters)
      23         572 :   : Diffusion(parameters), _diffusivity(getMaterialProperty<Real>("diffusivity"))
      24             : {
      25         286 : }
      26             : 
      27             : Real
      28     5716000 : PrimaryDiffusion::computeQpResidual()
      29             : {
      30     5716000 :   return _diffusivity[_qp] * Diffusion::computeQpResidual();
      31             : }
      32             : 
      33             : Real
      34     2885760 : PrimaryDiffusion::computeQpJacobian()
      35             : {
      36     2885760 :   return _diffusivity[_qp] * Diffusion::computeQpJacobian();
      37             : }

Generated by: LCOV version 1.14