www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ComputeExtraStressBase Class Referenceabstract

ComputeExtraStressBase is the base class for extra_stress, which is added to stress calculated by the material's constitutive model. More...

#include <ComputeExtraStressBase.h>

Inheritance diagram for ComputeExtraStressBase:
[legend]

Public Member Functions

 ComputeExtraStressBase (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpProperties ()
 
virtual void computeQpExtraStress ()=0
 

Protected Attributes

std::string _base_name
 
std::string _extra_stress_name
 
MaterialProperty< RankTwoTensor > & _extra_stress
 

Detailed Description

ComputeExtraStressBase is the base class for extra_stress, which is added to stress calculated by the material's constitutive model.

Definition at line 17 of file ComputeExtraStressBase.h.

Constructor & Destructor Documentation

ComputeExtraStressBase::ComputeExtraStressBase ( const InputParameters &  parameters)

Definition at line 21 of file ComputeExtraStressBase.C.

22  : Material(parameters),
23  _base_name(isParamValid("base_name") ? getParam<std::string>("base_name") + "_" : ""),
24  _extra_stress_name(_base_name + "extra_stress"),
25  _extra_stress(declareProperty<RankTwoTensor>(_base_name + "extra_stress"))
26 {
27 }
MaterialProperty< RankTwoTensor > & _extra_stress

Member Function Documentation

virtual void ComputeExtraStressBase::computeQpExtraStress ( )
protectedpure virtual

Implemented in ComputeExtraStressConstant.

Referenced by computeQpProperties().

void ComputeExtraStressBase::computeQpProperties ( )
protectedvirtual

Definition at line 30 of file ComputeExtraStressBase.C.

31 {
33 }
virtual void computeQpExtraStress()=0

Member Data Documentation

std::string ComputeExtraStressBase::_base_name
protected

Definition at line 26 of file ComputeExtraStressBase.h.

MaterialProperty<RankTwoTensor>& ComputeExtraStressBase::_extra_stress
protected
std::string ComputeExtraStressBase::_extra_stress_name
protected

Definition at line 27 of file ComputeExtraStressBase.h.


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