www.mooseframework.org
HEVPInternalVarUOBase.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<DiscreteElementUserObject>();
14  params.addParam<std::string>(
15  "intvar_rate_prop_name",
16  "Name of internal variable property: Same as internal variable rate user object");
17  params.addClassDescription("User Object to integrate internal variable");
18  return params;
19 }
20 
21 HEVPInternalVarUOBase::HEVPInternalVarUOBase(const InputParameters & parameters)
22  : DiscreteElementUserObject(parameters),
23  _intvar_rate_prop_name(getParam<std::string>("intvar_rate_prop_name")),
24  _intvar_rate(getMaterialPropertyByName<Real>(_intvar_rate_prop_name)),
25  _this_old(getMaterialPropertyOldByName<Real>(_name))
26 {
27 }
HEVPInternalVarUOBase(const InputParameters &parameters)
InputParameters validParams< HEVPInternalVarUOBase >()