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 "KokkosSideExtremeValue.h" 11 : 12 363195 : registerKokkosUserObject("MooseApp", KokkosSideExtremeValue); 13 : 14 : InputParameters 15 2370 : KokkosSideExtremeValue::validParams() 16 : { 17 2370 : InputParameters params = KokkosExtremeValueBase<KokkosSideVariablePostprocessor>::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 variable value of a variable over a boundary."); 24 2370 : return params; 25 0 : } 26 : 27 232 : KokkosSideExtremeValue::KokkosSideExtremeValue(const InputParameters & parameters) 28 : : KokkosExtremeValueBase<KokkosSideVariablePostprocessor>(parameters), 29 180 : _proxy_variable(isParamValid("proxy_variable") ? kokkosCoupledValue("proxy_variable") : _u) 30 : { 31 136 : }