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

Generated by: LCOV version 1.14