www.mooseframework.org
Classes | Functions
MatReaction.h File Reference

Go to the source code of this file.

Classes

class  MatReaction
 This kernel adds to the residual a contribution of \( -L*v \) where \( L \) is a material property and \( v \) is a variable (nonlinear or coupled). More...
 

Functions

template<>
InputParameters validParams< MatReaction > ()
 

Function Documentation

template<>
InputParameters validParams< MatReaction > ( )

Definition at line 11 of file MatReaction.C.

12 {
13  InputParameters params = validParams<Kernel>();
14  params.addCoupledVar("v",
15  "Set this to make v a coupled variable, otherwise it will use the "
16  "kernel's nonlinear variable for v");
17  params.addClassDescription("Kernel to add -L*v, where L=reaction rate, v=variable");
18  params.addParam<MaterialPropertyName>("mob_name", "L", "The reaction rate used with the kernel");
19  params.addCoupledVar("args", "Vector of nonlinear variable arguments this object depends on");
20  return params;
21 }