LCOV - code coverage report
Current view: top level - src/linearfvkernels - LinearFVKernel.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 13 14 92.9 %
Date: 2025-07-17 01:28:37 Functions: 2 2 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 "LinearFVKernel.h"
      11             : #include "Assembly.h"
      12             : #include "SubProblem.h"
      13             : 
      14             : InputParameters
      15       91318 : LinearFVKernel::validParams()
      16             : {
      17       91318 :   InputParameters params = LinearSystemContributionObject::validParams();
      18       91318 :   params += BlockRestrictable::validParams();
      19       91318 :   params += NonADFunctorInterface::validParams();
      20       91318 :   params += FVRelationshipManagerInterface::validParams();
      21             : 
      22       91318 :   params.registerBase("LinearFVKernel");
      23       91318 :   return params;
      24           0 : }
      25             : 
      26        2864 : LinearFVKernel::LinearFVKernel(const InputParameters & params)
      27             :   : LinearSystemContributionObject(params),
      28             :     BlockRestrictable(this),
      29             :     NonADFunctorInterface(this),
      30             :     MooseVariableInterface(this,
      31             :                            false,
      32             :                            "variable",
      33             :                            Moose::VarKindType::VAR_SOLVER,
      34             :                            Moose::VarFieldType::VAR_FIELD_STANDARD),
      35             :     MooseVariableDependencyInterface(this),
      36        5728 :     _var(*mooseLinearVariableFV()),
      37        2864 :     _var_num(_var.number()),
      38        5728 :     _sys_num(_sys.number())
      39             : {
      40        2864 :   addMooseVariableDependency(&_var);
      41        2864 : }

Generated by: LCOV version 1.14