www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CoefTimeDerivative Class Reference

#include <CoefTimeDerivative.h>

Inheritance diagram for CoefTimeDerivative:
[legend]

Public Member Functions

 CoefTimeDerivative (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

Real _coef
 This MooseArray will hold the reference we need to our material property from the Material class. More...
 

Detailed Description

Definition at line 23 of file CoefTimeDerivative.h.

Constructor & Destructor Documentation

CoefTimeDerivative::CoefTimeDerivative ( const InputParameters &  parameters)

Definition at line 19 of file CoefTimeDerivative.C.

20  : TimeDerivative(parameters), _coef(getParam<Real>("Coefficient"))
21 {
22 }
Real _coef
This MooseArray will hold the reference we need to our material property from the Material class...

Member Function Documentation

Real CoefTimeDerivative::computeQpJacobian ( )
protectedvirtual

Definition at line 33 of file CoefTimeDerivative.C.

34 {
35  return _coef * TimeDerivative::computeQpJacobian();
36 }
Real _coef
This MooseArray will hold the reference we need to our material property from the Material class...
Real CoefTimeDerivative::computeQpResidual ( )
protectedvirtual

Definition at line 25 of file CoefTimeDerivative.C.

26 {
27  // We're reusing the TimeDerivative Kernel's residual
28  // so that we don't have to recode that.
29  return _coef * TimeDerivative::computeQpResidual();
30 }
Real _coef
This MooseArray will hold the reference we need to our material property from the Material class...

Member Data Documentation

Real CoefTimeDerivative::_coef
protected

This MooseArray will hold the reference we need to our material property from the Material class.

Definition at line 36 of file CoefTimeDerivative.h.

Referenced by computeQpJacobian(), and computeQpResidual().


The documentation for this class was generated from the following files: