www.mooseframework.org
HEVPInternalVarRateUOBase.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
14 {
16  params.addParam<std::string>(
17  "flow_rate_prop_name",
18  "Name of flow rate property: Same as the flow rate user object name specified in input file");
19  params.addClassDescription("User Object");
20  return params;
21 }
22 
24  : DiscreteElementUserObject(parameters),
25  _flow_rate_prop_name(getParam<std::string>("flow_rate_prop_name")),
26  _flow_rate(getMaterialPropertyByName<Real>(_flow_rate_prop_name))
27 {
28 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
HEVPInternalVarRateUOBase(const InputParameters &parameters)
static InputParameters validParams()