https://mooseframework.inl.gov
CrystalPlasticityUOBase.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 
11 
14 {
16  params.addRequiredParam<unsigned int>("variable_size", "The userobject's variable size.");
17  params.addClassDescription("Crystal plasticity userobject system base class. Override the "
18  "virtual functions in your class");
19  return params;
20 }
21 
23  : DiscreteElementUserObject(parameters), _variable_size(getParam<unsigned int>("variable_size"))
24 {
25 }
26 
27 unsigned int
29 {
30  return _variable_size;
31 }
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
virtual unsigned int variableSize() const
Returns the size of variable.
CrystalPlasticityUOBase(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
void ErrorVector unsigned int