www.mooseframework.org
CoefCoupledTimeDerivative.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 #ifndef COEFCOUPLEDTIMEDERIVATIVE_H
8 #define COEFCOUPLEDTIMEDERIVATIVE_H
9 
10 #include "CoupledTimeDerivative.h"
11 
12 // Forward Declaration
14 
15 template <>
17 
22 class CoefCoupledTimeDerivative : public CoupledTimeDerivative
23 {
24 public:
25  CoefCoupledTimeDerivative(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual();
29  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
30 
31  const Real _coef;
32 };
33 
34 #endif // COEFCOUPLEDTIMEDERIVATIVE_H
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
InputParameters validParams< CoefCoupledTimeDerivative >()
This calculates the time derivative for a coupled variable multiplied by a scalar coefficient...
CoefCoupledTimeDerivative(const InputParameters &parameters)