https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TimeKernel.h
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#pragma once
11
12#include "Kernel.h"
13
18class TimeKernel : public Kernel
19{
20public:
22
24
25 virtual void computeResidual() override;
26
33 virtual void computeResidualAdditional() {}
34
35protected:
38
41};
OutputTools< Real >::VariableValue VariableValue
Definition MooseTypes.h:348
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
All time kernels should inherit from this class.
Definition TimeKernel.h:19
const VariableValue & _u_dot
Time derivative of u.
Definition TimeKernel.h:37
virtual void computeResidualAdditional()
Entry point for additional computation for the local residual after the standard calls.
Definition TimeKernel.h:33
virtual void computeResidual() override
Compute this Kernel's contribution to the residual.
Definition TimeKernel.C:36
const VariableValue & _du_dot_du
Derivative of u_dot with respect to u.
Definition TimeKernel.h:40
static InputParameters validParams()
Definition TimeKernel.C:20