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

This user object classs Computes equivalent plastic strain. More...

#include <HEVPEqvPlasticStrain.h>

Inheritance diagram for HEVPEqvPlasticStrain:
[legend]

Public Member Functions

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

Protected Attributes

std::string _intvar_rate_prop_name
 
const MaterialProperty< Real > & _intvar_rate
 
const MaterialProperty< Real > & _this_old
 

Detailed Description

This user object classs Computes equivalent plastic strain.

Definition at line 21 of file HEVPEqvPlasticStrain.h.

Constructor & Destructor Documentation

HEVPEqvPlasticStrain::HEVPEqvPlasticStrain ( const InputParameters &  parameters)

Definition at line 18 of file HEVPEqvPlasticStrain.C.

19  : HEVPInternalVarUOBase(parameters)
20 {
21 }
HEVPInternalVarUOBase(const InputParameters &parameters)

Member Function Documentation

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

Implements HEVPInternalVarUOBase.

Definition at line 31 of file HEVPEqvPlasticStrain.C.

35 {
36  val = 0;
37 
38  if (_intvar_rate_prop_name == coupled_var_name)
39  val = dt;
40 
41  return true;
42 }
bool HEVPEqvPlasticStrain::computeValue ( unsigned int  qp,
Real  dt,
Real &  val 
) const
virtual

Implements HEVPInternalVarUOBase.

Definition at line 24 of file HEVPEqvPlasticStrain.C.

25 {
26  val = _this_old[qp] + _intvar_rate[qp] * dt;
27  return true;
28 }
const MaterialProperty< Real > & _intvar_rate
const MaterialProperty< Real > & _this_old

Member Data Documentation

const MaterialProperty<Real>& HEVPInternalVarUOBase::_intvar_rate
protectedinherited

Definition at line 33 of file HEVPInternalVarUOBase.h.

Referenced by computeValue().

std::string HEVPInternalVarUOBase::_intvar_rate_prop_name
protectedinherited

Definition at line 32 of file HEVPInternalVarUOBase.h.

Referenced by computeDerivative().

const MaterialProperty<Real>& HEVPInternalVarUOBase::_this_old
protectedinherited

Definition at line 34 of file HEVPInternalVarUOBase.h.

Referenced by computeValue().


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