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

Constructor & Destructor Documentation

◆ CoefReaction()

CoefReaction::CoefReaction ( const InputParameters &  parameters)

Definition at line 24 of file CoefReaction.C.

25  : Reaction(parameters), _coef(getParam<Real>("coefficient"))
26 {
27 }
const Real _coef
input parameter multiplied by the reaction kernel
Definition: CoefReaction.h:31

Member Function Documentation

◆ computeQpJacobian()

Real CoefReaction::computeQpJacobian ( )
overrideprotectedvirtual

Definition at line 36 of file CoefReaction.C.

37 {
38  return _coef * Reaction::computeQpJacobian();
39 }
const Real _coef
input parameter multiplied by the reaction kernel
Definition: CoefReaction.h:31

◆ computeQpResidual()

Real CoefReaction::computeQpResidual ( )
overrideprotectedvirtual

Definition at line 30 of file CoefReaction.C.

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

Member Data Documentation

◆ _coef

const Real CoefReaction::_coef
protected

input parameter multiplied by the reaction kernel

Definition at line 31 of file CoefReaction.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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