LCOV - code coverage report
Current view: top level - src/kokkos/postprocessors - KokkosNodalExtremeValue.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 9 10 90.0 %
Date: 2026-05-29 20:35:17 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 "KokkosNodalExtremeValue.h"
      11             : 
      12      363195 : registerKokkosUserObject("MooseApp", KokkosNodalExtremeValue);
      13             : 
      14             : InputParameters
      15        2370 : KokkosNodalExtremeValue::validParams()
      16             : {
      17        2370 :   InputParameters params = KokkosExtremeValueBase<KokkosNodalVariablePostprocessor>::validParams();
      18        9480 :   params.addCoupledVar("proxy_variable",
      19             :                        "The name of the variable to use to identify the location at which "
      20             :                        "the variable value should be taken; if not provided, this defaults "
      21             :                        "to the 'variable'.");
      22        2370 :   params.addClassDescription(
      23             :       "Finds either the min or max nodal value of a variable over the domain.");
      24        2370 :   return params;
      25           0 : }
      26             : 
      27         264 : KokkosNodalExtremeValue::KokkosNodalExtremeValue(const InputParameters & parameters)
      28             :   : KokkosExtremeValueBase<KokkosNodalVariablePostprocessor>(parameters),
      29         216 :     _proxy_variable(isParamValid("proxy_variable") ? kokkosCoupledValue("proxy_variable") : _u)
      30             : {
      31         136 : }

Generated by: LCOV version 1.14