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

#include <CoefReaction.h>

Inheritance diagram for CoefReaction:
[legend]

Public Member Functions

 CoefReaction (const InputParameters &parameters)
 

Protected Member Functions

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

Protected Attributes

const Real _coef
 input parameter multiplied by the reaction kernel More...
 

Detailed Description

Definition at line 18 of file CoefReaction.h.

Constructor & Destructor Documentation

CoefReaction::CoefReaction ( const InputParameters &  parameters)

Definition at line 19 of file CoefReaction.C.

20  : Reaction(parameters), _coef(getParam<Real>("coefficient"))
21 {
22 }
const Real _coef
input parameter multiplied by the reaction kernel
Definition: CoefReaction.h:28

Member Function Documentation

Real CoefReaction::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 31 of file CoefReaction.C.

32 {
33  return _coef * Reaction::computeQpJacobian();
34 }
const Real _coef
input parameter multiplied by the reaction kernel
Definition: CoefReaction.h:28
Real CoefReaction::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 25 of file CoefReaction.C.

26 {
27  return _coef * Reaction::computeQpResidual();
28 }
const Real _coef
input parameter multiplied by the reaction kernel
Definition: CoefReaction.h:28

Member Data Documentation

const Real CoefReaction::_coef
protected

input parameter multiplied by the reaction kernel

Definition at line 28 of file CoefReaction.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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