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 21 of file SecondDerivativeImplicitEuler.h.

Constructor & Destructor Documentation

◆ SecondDerivativeImplicitEuler()

SecondDerivativeImplicitEuler::SecondDerivativeImplicitEuler ( const InputParameters &  parameters)

Definition at line 21 of file SecondDerivativeImplicitEuler.C.

22  : TimeKernel(parameters), _u_old(valueOld()), _u_older(valueOlder())
23 {
24 }

Member Function Documentation

◆ computeQpJacobian()

Real SecondDerivativeImplicitEuler::computeQpJacobian ( )
protectedvirtual

Reimplemented in SolidMechImplicitEuler.

Definition at line 33 of file SecondDerivativeImplicitEuler.C.

Referenced by SolidMechImplicitEuler::computeQpJacobian().

34 {
35  return _test[_i][_qp] * (_phi[_j][_qp] / (_dt * _dt));
36 }

◆ computeQpResidual()

Real SecondDerivativeImplicitEuler::computeQpResidual ( )
protectedvirtual

Reimplemented in SolidMechImplicitEuler.

Definition at line 27 of file SecondDerivativeImplicitEuler.C.

Referenced by SolidMechImplicitEuler::computeQpResidual().

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

Member Data Documentation

◆ _u_old

const VariableValue& SecondDerivativeImplicitEuler::_u_old
protected

Definition at line 30 of file SecondDerivativeImplicitEuler.h.

Referenced by computeQpResidual().

◆ _u_older

const VariableValue& SecondDerivativeImplicitEuler::_u_older
protected

Definition at line 31 of file SecondDerivativeImplicitEuler.h.

Referenced by computeQpResidual().


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