www.mooseframework.org
Functions
PorousFlowExponentialDecay.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PorousFlowApp", PorousFlowExponentialDecay)
 
template<>
InputParameters validParams< PorousFlowExponentialDecay > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowExponentialDecay   
)

◆ validParams< PorousFlowExponentialDecay >()

template<>
InputParameters validParams< PorousFlowExponentialDecay > ( )

Definition at line 18 of file PorousFlowExponentialDecay.C.

19 {
20  InputParameters params = validParams<Kernel>();
21  params.addCoupledVar("rate", 1.0, "Rate of exponential decay");
22  params.addCoupledVar("reference", 0.0, "Reference value of the variable");
23  params.addClassDescription("Residual = rate * (variable - reference). Useful for modelling "
24  "exponential decay of a variable");
25  return params;
26 }