www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
HEVPLinearHardening Class Reference

This user object classs Computes linear hardening. More...

#include <HEVPLinearHardening.h>

Inheritance diagram for HEVPLinearHardening:
[legend]

Public Member Functions

 HEVPLinearHardening (const InputParameters &parameters)
 
virtual bool computeValue (unsigned int, Real &) const
 
virtual bool computeDerivative (unsigned int, const std::string &, Real &) const
 

Protected Attributes

Real _sig0
 
Real _slope
 
std::string _intvar_prop_name
 
const MaterialProperty< Real > & _intvar
 

Detailed Description

This user object classs Computes linear hardening.

Definition at line 21 of file HEVPLinearHardening.h.

Constructor & Destructor Documentation

HEVPLinearHardening::HEVPLinearHardening ( const InputParameters &  parameters)

Definition at line 20 of file HEVPLinearHardening.C.

21  : HEVPStrengthUOBase(parameters),
22  _sig0(getParam<Real>("yield_stress")),
23  _slope(getParam<Real>("slope"))
24 {
25 }
HEVPStrengthUOBase(const InputParameters &parameters)

Member Function Documentation

bool HEVPLinearHardening::computeDerivative ( unsigned int  ,
const std::string &  coupled_var_name,
Real &  val 
) const
virtual

Implements HEVPStrengthUOBase.

Definition at line 35 of file HEVPLinearHardening.C.

38 {
39  val = 0;
40 
41  if (_intvar_prop_name == coupled_var_name)
42  val = _slope;
43 
44  return true;
45 }
std::string _intvar_prop_name
bool HEVPLinearHardening::computeValue ( unsigned int  qp,
Real &  val 
) const
virtual

Implements HEVPStrengthUOBase.

Definition at line 28 of file HEVPLinearHardening.C.

29 {
30  val = _sig0 + _slope * _intvar[qp];
31  return true;
32 }
const MaterialProperty< Real > & _intvar

Member Data Documentation

const MaterialProperty<Real>& HEVPStrengthUOBase::_intvar
protectedinherited
std::string HEVPStrengthUOBase::_intvar_prop_name
protectedinherited
Real HEVPLinearHardening::_sig0
protected

Definition at line 30 of file HEVPLinearHardening.h.

Referenced by computeValue().

Real HEVPLinearHardening::_slope
protected

Definition at line 31 of file HEVPLinearHardening.h.

Referenced by computeDerivative(), and computeValue().


The documentation for this class was generated from the following files: