https://mooseframework.inl.gov
TimeDerivative.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 "TimeKernel.h"
13 
14 class TimeDerivative : public TimeKernel
15 {
16 public:
18 
20 
21  virtual void computeJacobian() override;
22 
23 protected:
24  virtual Real computeQpResidual() override;
25  virtual Real computeQpJacobian() override;
26 
27  bool _lumping;
28 };
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
TimeDerivative(const InputParameters &parameters)
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
All time kernels should inherit from this class.
Definition: TimeKernel.h:18
const InputParameters & parameters() const
Get the parameters of the object.
virtual void computeJacobian() override
Compute this Kernel's contribution to the diagonal Jacobian entries.