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 "KokkosNodalVariableStatistics.h" 11 : 12 363195 : registerKokkosUserObject("MooseApp", KokkosNodalVariableStatistics); 13 : 14 : InputParameters 15 2132 : KokkosNodalVariableStatistics::validParams() 16 : { 17 2132 : InputParameters params = KokkosNodalStatistics::validParams(); 18 : 19 8528 : params.addRequiredCoupledVar("coupled_var", "Coupled variable whose value is used."); 20 : 21 2132 : params.addClassDescription("Nodal reporter to get statistics for a coupled variable. This can " 22 : "be transfered to other apps."); 23 2132 : return params; 24 0 : } 25 : 26 25 : KokkosNodalVariableStatistics::KokkosNodalVariableStatistics(const InputParameters & parameters) 27 18 : : KokkosNodalStatistics(parameters), _v(kokkosCoupledValue("coupled_var")) 28 : { 29 17 : }