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 : 9 : #include "KokkosTimeKernelValue.h" 10 : 11 : namespace Moose::Kokkos 12 : { 13 : 14 : InputParameters 15 3144 : TimeKernelValue::validParams() 16 : { 17 3144 : InputParameters params = KernelValue::validParams(); 18 : 19 12576 : params.set<MultiMooseEnum>("vector_tags") = "time"; 20 9432 : params.set<MultiMooseEnum>("matrix_tags") = "system time"; 21 : 22 3144 : return params; 23 0 : } 24 : 25 506 : TimeKernelValue::TimeKernelValue(const InputParameters & parameters) 26 : : KernelValue(parameters), 27 300 : _u_dot(_var, Moose::SOLUTION_DOT_TAG), 28 300 : _du_dot_du(_var.sys().duDotDu(_var.number())) 29 : { 30 506 : } 31 : 32 : } // namespace Moose::Kokkos