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

Kernel = _rate * (variable - reference) More...

#include <PorousFlowExponentialDecay.h>

Inheritance diagram for PorousFlowExponentialDecay:
[legend]

Public Member Functions

 PorousFlowExponentialDecay (const InputParameters &parameters)
 

Protected Member Functions

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

Protected Attributes

const VariableValue & _rate
 The decay rate. More...
 
const VariableValue & _reference
 The reference. More...
 

Detailed Description

Kernel = _rate * (variable - reference)

Definition at line 21 of file PorousFlowExponentialDecay.h.

Constructor & Destructor Documentation

◆ PorousFlowExponentialDecay()

PorousFlowExponentialDecay::PorousFlowExponentialDecay ( const InputParameters &  parameters)

Definition at line 26 of file PorousFlowExponentialDecay.C.

27  : Kernel(parameters), _rate(coupledValue("rate")), _reference(coupledValue("reference"))
28 {
29 }
const VariableValue & _rate
The decay rate.
const VariableValue & _reference
The reference.

Member Function Documentation

◆ computeQpJacobian()

Real PorousFlowExponentialDecay::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 38 of file PorousFlowExponentialDecay.C.

39 {
40  return _test[_i][_qp] * _rate[_qp] * _phi[_j][_qp];
41 }
const VariableValue & _rate
The decay rate.

◆ computeQpResidual()

Real PorousFlowExponentialDecay::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 32 of file PorousFlowExponentialDecay.C.

33 {
34  return _test[_i][_qp] * _rate[_qp] * (_u[_qp] - _reference[_qp]);
35 }
const VariableValue & _rate
The decay rate.
const VariableValue & _reference
The reference.

Member Data Documentation

◆ _rate

const VariableValue& PorousFlowExponentialDecay::_rate
protected

The decay rate.

Definition at line 31 of file PorousFlowExponentialDecay.h.

Referenced by computeQpJacobian(), and computeQpResidual().

◆ _reference

const VariableValue& PorousFlowExponentialDecay::_reference
protected

The reference.

Definition at line 34 of file PorousFlowExponentialDecay.h.

Referenced by computeQpResidual().


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