www.mooseframework.org
TimeKernel.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
18 class TimeKernel : public Kernel
19 {
20 public:
22 
24 
25  virtual void computeResidual() override;
26 
33  virtual void computeResidualAdditional() {}
34 
35 protected:
38 
41 };
virtual void computeResidual() override
Compute this Kernel's contribution to the residual.
Definition: TimeKernel.C:36
const VariableValue & _u_dot
Time derivative of u.
Definition: TimeKernel.h:37
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void computeResidualAdditional()
Entry point for additional computation for the local residual after the standard calls.
Definition: TimeKernel.h:33
OutputTools< Real >::VariableValue VariableValue
Definition: MooseTypes.h:302
TimeKernel(const InputParameters &parameters)
Definition: TimeKernel.C:30
All time kernels should inherit from this class.
Definition: TimeKernel.h:18
Definition: Kernel.h:15
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
Definition: TimeKernel.C:20
const VariableValue & _du_dot_du
Derivative of u_dot with respect to u.
Definition: TimeKernel.h:40