https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADScalarTimeKernel.C
Go to the documentation of this file.
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 "ADScalarTimeKernel.h"
11
14{
16
17 params.set<MultiMooseEnum>("vector_tags") = "time";
18 params.set<MultiMooseEnum>("matrix_tags") = "system time";
19
20 return params;
21}
22
24 : ADScalarKernel(parameters), _u_dot(_var.adUDot())
25{
26}
Base class for AD scalar kernels.
static InputParameters validParams()
ADScalarTimeKernel(const InputParameters &parameters)
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type.