www.mooseframework.org
ODETimeDerivative.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #include "ODETimeDerivative.h"
16 
17 template <>
20 {
22  return params;
23 }
24 
26 {
27 }
28 
29 Real
31 {
32  return _u_dot[_i];
33 }
34 
35 Real
37 {
38  if (_i == _j)
39  return _du_dot_du[_i];
40  else
41  return 0;
42 }
VariableValue & _du_dot_du
Definition: ScalarKernel.h:91
virtual Real computeQpJacobian() override
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< ODETimeDerivative >()
ODETimeDerivative(const InputParameters &parameters)
Base class for ODEKernels that contribute to the time residual vector.
Definition: ODETimeKernel.h:30
VariableValue & _u_dot
Definition: ScalarKernel.h:90
unsigned int _i
Definition: ScalarKernel.h:84
InputParameters validParams< ODETimeKernel >()
Definition: ODETimeKernel.C:24
virtual Real computeQpResidual() override
unsigned int _j
Definition: ScalarKernel.h:84