LCOV - code coverage report
Current view: top level - src/userobjects - NearestPointLayeredAverage.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 7 8 87.5 %
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             : // MOOSE includes
      11             : #include "NearestPointLayeredAverage.h"
      12             : #include "LayeredAverage.h"
      13             : 
      14             : registerMooseObject("MooseApp", NearestPointLayeredAverage);
      15             : 
      16             : InputParameters
      17       14473 : NearestPointLayeredAverage::validParams()
      18             : {
      19             :   InputParameters params =
      20       14473 :       NearestPointBase<LayeredAverage, ElementIntegralVariableUserObject>::validParams();
      21             : 
      22       14473 :   params.addClassDescription(
      23             :       "Computes averages of a variable storing partial sums for the specified number of intervals "
      24             :       "in a direction (x,y,z). Given a list of points this object computes the layered average "
      25             :       "closest to each one of those points.");
      26             : 
      27       14473 :   return params;
      28           0 : }
      29             : 
      30         120 : NearestPointLayeredAverage::NearestPointLayeredAverage(const InputParameters & parameters)
      31         120 :   : NearestPointBase<LayeredAverage, ElementIntegralVariableUserObject>(parameters)
      32             : {
      33          96 : }

Generated by: LCOV version 1.14