https://mooseframework.inl.gov
HEVPStrengthUOBase.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
10 #include "HEVPStrengthUOBase.h"
11 
14 {
16  params.addParam<std::string>("intvar_prop_name",
17  "Name of internal variable property to "
18  "calculate material resistance: Same as "
19  "internal variable user object");
20  params.addClassDescription("User Object to compute material resistance");
21  return params;
22 }
23 
25  : DiscreteElementUserObject(parameters),
26  _intvar_prop_name(getParam<std::string>("intvar_prop_name")),
27  _intvar(getMaterialPropertyByName<Real>(_intvar_prop_name))
28 {
29 }
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)
HEVPStrengthUOBase(const InputParameters &parameters)
static InputParameters validParams()