www.mooseframework.org
CoefTimeDerivative.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef COEFTIMEDERIVATIVE_H
9 #define COEFTIMEDERIVATIVE_H
10 
11 #include "TimeDerivative.h"
12 
13 // Forward Declarations
14 class CoefTimeDerivative;
15 
20 template <>
21 InputParameters validParams<CoefTimeDerivative>();
22 
23 class CoefTimeDerivative : public TimeDerivative
24 {
25 public:
26  CoefTimeDerivative(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual();
30  virtual Real computeQpJacobian();
31 
36  Real _coef;
37 };
38 #endif // COEFTIMEDERIVATIVE_H
virtual Real computeQpResidual()
Real _coef
This MooseArray will hold the reference we need to our material property from the Material class...
virtual Real computeQpJacobian()
InputParameters validParams< CoefTimeDerivative >()
validParams returns the parameters that this Kernel accepts / needs The actual body of the function M...
CoefTimeDerivative(const InputParameters &parameters)