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

#include <TestMatTimeDerivative.h>

Inheritance diagram for TestMatTimeDerivative:
[legend]

Public Member Functions

 TestMatTimeDerivative (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual () override
 
virtual Real computeQpJacobian () override
 

Protected Attributes

const MaterialProperty< Real > & _mat_prop_value
 

Detailed Description

Definition at line 21 of file TestMatTimeDerivative.h.

Constructor & Destructor Documentation

◆ TestMatTimeDerivative()

TestMatTimeDerivative::TestMatTimeDerivative ( const InputParameters &  parameters)

Definition at line 25 of file TestMatTimeDerivative.C.

26  : TimeDerivative(parameters),
27  _mat_prop_value(getMaterialProperty<Real>("mat_prop_value"))
28 {}
const MaterialProperty< Real > & _mat_prop_value

Member Function Documentation

◆ computeQpJacobian()

Real TestMatTimeDerivative::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 35 of file TestMatTimeDerivative.C.

36 {
37  return _mat_prop_value[_qp] * TimeDerivative::computeQpJacobian();
38 }
const MaterialProperty< Real > & _mat_prop_value

◆ computeQpResidual()

Real TestMatTimeDerivative::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 30 of file TestMatTimeDerivative.C.

31 {
32  return _mat_prop_value[_qp] * TimeDerivative::computeQpResidual();
33 }
const MaterialProperty< Real > & _mat_prop_value

Member Data Documentation

◆ _mat_prop_value

const MaterialProperty<Real>& TestMatTimeDerivative::_mat_prop_value
protected

Definition at line 29 of file TestMatTimeDerivative.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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