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 23 of file CrystalPlasticitySlipResistanceGSS.h.

Constructor & Destructor Documentation

◆ CrystalPlasticitySlipResistanceGSS()

CrystalPlasticitySlipResistanceGSS::CrystalPlasticitySlipResistanceGSS ( const InputParameters &  parameters)

Definition at line 28 of file CrystalPlasticitySlipResistanceGSS.C.

30  : CrystalPlasticitySlipResistance(parameters),
32  getMaterialProperty<std::vector<Real>>(parameters.get<std::string>("uo_state_var_name")))
33 {
34 }
const MaterialProperty< std::vector< Real > > & _mat_prop_state_var
CrystalPlasticitySlipResistance(const InputParameters &parameters)

Member Function Documentation

◆ calcSlipResistance()

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

Implements CrystalPlasticitySlipResistance.

Definition at line 37 of file CrystalPlasticitySlipResistanceGSS.C.

39 {
40  for (unsigned int i = 0; i < _variable_size; ++i)
41  val[i] = _mat_prop_state_var[qp][i];
42 
43  return true;
44 }
const MaterialProperty< std::vector< Real > > & _mat_prop_state_var

◆ variableSize()

unsigned int CrystalPlasticityUOBase::variableSize ( ) const
virtualinherited

Returns the size of variable.

Definition at line 29 of file CrystalPlasticityUOBase.C.

30 {
31  return _variable_size;
32 }

Member Data Documentation

◆ _mat_prop_state_var

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

Definition at line 31 of file CrystalPlasticitySlipResistanceGSS.h.

Referenced by calcSlipResistance().

◆ _variable_size

unsigned int CrystalPlasticityUOBase::_variable_size
protectedinherited

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