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 "KokkosNodalVariablePostprocessor.h" 11 : 12 : InputParameters 13 8834 : KokkosNodalVariablePostprocessor::validParams() 14 : { 15 8834 : InputParameters params = NodalPostprocessor::validParams(); 16 26502 : params.addRequiredCoupledVar("variable", 17 : "The name of the variable that this postprocessor operates on"); 18 8834 : return params; 19 0 : } 20 : 21 221 : KokkosNodalVariablePostprocessor::KokkosNodalVariablePostprocessor( 22 533 : const InputParameters & parameters) 23 : : NodalPostprocessor(parameters), 24 : MooseVariableInterface<Real>(this, 25 : true, 26 : "variable", 27 : Moose::VarKindType::VAR_ANY, 28 : Moose::VarFieldType::VAR_FIELD_STANDARD), 29 468 : _u(kokkosCoupledValue("variable")) 30 : { 31 221 : }