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

Phenomenological constitutive model slip resistance userobject class. More...

#include <CrystalPlasticitySlipResistanceGSS.h>

Inheritance diagram for CrystalPlasticitySlipResistanceGSS:
[legend]

Public Member Functions

 CrystalPlasticitySlipResistanceGSS (const InputParameters &parameters)
 
virtual bool calcSlipResistance (unsigned int qp, std::vector< Real > &val) const
 
virtual unsigned int variableSize () const
 Returns the size of variable. More...
 

Protected Attributes

const MaterialProperty< std::vector< Real > > & _mat_prop_state_var
 
unsigned int _variable_size
 

Detailed Description

Phenomenological constitutive model slip resistance userobject class.

Definition at line 20 of file CrystalPlasticitySlipResistanceGSS.h.

Constructor & Destructor Documentation

CrystalPlasticitySlipResistanceGSS::CrystalPlasticitySlipResistanceGSS ( const InputParameters &  parameters)

Definition at line 23 of file CrystalPlasticitySlipResistanceGSS.C.

25  : CrystalPlasticitySlipResistance(parameters),
27  getMaterialProperty<std::vector<Real>>(parameters.get<std::string>("uo_state_var_name")))
28 {
29 }
const MaterialProperty< std::vector< Real > > & _mat_prop_state_var
CrystalPlasticitySlipResistance(const InputParameters &parameters)

Member Function Documentation

bool CrystalPlasticitySlipResistanceGSS::calcSlipResistance ( unsigned int  qp,
std::vector< Real > &  val 
) const
virtual

Implements CrystalPlasticitySlipResistance.

Definition at line 32 of file CrystalPlasticitySlipResistanceGSS.C.

34 {
35  for (unsigned int i = 0; i < _variable_size; ++i)
36  val[i] = _mat_prop_state_var[qp][i];
37 
38  return true;
39 }
const MaterialProperty< std::vector< Real > > & _mat_prop_state_var
unsigned int CrystalPlasticityUOBase::variableSize ( ) const
virtualinherited

Returns the size of variable.

Definition at line 26 of file CrystalPlasticityUOBase.C.

27 {
28  return _variable_size;
29 }

Member Data Documentation

const MaterialProperty<std::vector<Real> >& CrystalPlasticitySlipResistanceGSS::_mat_prop_state_var
protected

Definition at line 28 of file CrystalPlasticitySlipResistanceGSS.h.

Referenced by calcSlipResistance().

unsigned int CrystalPlasticityUOBase::_variable_size
protectedinherited

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