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 "KokkosVectorTimeKernelValue.h" 10 : 11 : namespace Moose::Kokkos 12 : { 13 : 14 : InputParameters 15 2188 : VectorTimeKernelValue::validParams() 16 : { 17 2188 : InputParameters params = VectorKernelValue::validParams(); 18 : 19 8752 : params.set<MultiMooseEnum>("vector_tags") = "time"; 20 6564 : params.set<MultiMooseEnum>("matrix_tags") = "system time"; 21 : 22 2188 : return params; 23 0 : } 24 : 25 29 : VectorTimeKernelValue::VectorTimeKernelValue(const InputParameters & parameters) 26 : : VectorKernelValue(parameters), 27 15 : _u_dot(_var, Moose::SOLUTION_DOT_TAG), 28 15 : _du_dot_du(_var.sys().duDotDu(_var.number())) 29 : { 30 29 : } 31 : 32 : } // namespace Moose::Kokkos