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

#include <SecondDerivativeImplicitEuler.h>

Inheritance diagram for SecondDerivativeImplicitEuler:
[legend]

Public Member Functions

 SecondDerivativeImplicitEuler (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

const VariableValue & _u_old
 
const VariableValue & _u_older
 

Detailed Description

Definition at line 19 of file SecondDerivativeImplicitEuler.h.

Constructor & Destructor Documentation

SecondDerivativeImplicitEuler::SecondDerivativeImplicitEuler ( const InputParameters &  parameters)

Definition at line 19 of file SecondDerivativeImplicitEuler.C.

20  : TimeKernel(parameters), _u_old(valueOld()), _u_older(valueOlder())
21 {
22 }

Member Function Documentation

Real SecondDerivativeImplicitEuler::computeQpJacobian ( )
protectedvirtual

Reimplemented in SolidMechImplicitEuler.

Definition at line 31 of file SecondDerivativeImplicitEuler.C.

Referenced by SolidMechImplicitEuler::computeQpJacobian().

32 {
33  return _test[_i][_qp] * (_phi[_j][_qp] / (_dt * _dt));
34 }
Real SecondDerivativeImplicitEuler::computeQpResidual ( )
protectedvirtual

Reimplemented in SolidMechImplicitEuler.

Definition at line 25 of file SecondDerivativeImplicitEuler.C.

Referenced by SolidMechImplicitEuler::computeQpResidual().

26 {
27  return _test[_i][_qp] * ((_u[_qp] - 2 * _u_old[_qp] + _u_older[_qp]) / (_dt * _dt));
28 }

Member Data Documentation

const VariableValue& SecondDerivativeImplicitEuler::_u_old
protected

Definition at line 28 of file SecondDerivativeImplicitEuler.h.

Referenced by computeQpResidual().

const VariableValue& SecondDerivativeImplicitEuler::_u_older
protected

Definition at line 29 of file SecondDerivativeImplicitEuler.h.

Referenced by computeQpResidual().


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