Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ComputeExtraStressConstant Class Reference

Computes a constant extra stress that is added to the stress calculated by the constitutive model. More...

#include <ComputeExtraStressConstant.h>

Inheritance diagram for ComputeExtraStressConstant:

Public Member Functions

 ComputeExtraStressConstant (const InputParameters &parameters)

Protected Member Functions

virtual void computeQpExtraStress ()
virtual void computeQpProperties ()

Protected Attributes

const MaterialProperty< Real > & _prefactor
RankTwoTensor _extra_stress_tensor
std::string _base_name
std::string _extra_stress_name
MaterialProperty< RankTwoTensor > & _extra_stress

Detailed Description

Computes a constant extra stress that is added to the stress calculated by the constitutive model.

Definition at line 24 of file ComputeExtraStressConstant.h.

Constructor & Destructor Documentation

◆ ComputeExtraStressConstant()

ComputeExtraStressConstant::ComputeExtraStressConstant ( const InputParameters &  parameters)

Definition at line 29 of file ComputeExtraStressConstant.C.

30  : ComputeExtraStressBase(parameters), _prefactor(getMaterialProperty<Real>("prefactor"))
31 {
32  _extra_stress_tensor.fillFromInputVector(getParam<std::vector<Real>>("extra_stress_tensor"));
33 }
ComputeExtraStressBase(const InputParameters &parameters)
const MaterialProperty< Real > & _prefactor

Member Function Documentation

◆ computeQpExtraStress()

void ComputeExtraStressConstant::computeQpExtraStress ( )

Implements ComputeExtraStressBase.

Definition at line 36 of file ComputeExtraStressConstant.C.

37 {
39 }
const MaterialProperty< Real > & _prefactor
MaterialProperty< RankTwoTensor > & _extra_stress

◆ computeQpProperties()

void ComputeExtraStressBase::computeQpProperties ( )

Definition at line 33 of file ComputeExtraStressBase.C.

34 {
36 }
virtual void computeQpExtraStress()=0

Member Data Documentation

◆ _base_name

std::string ComputeExtraStressBase::_base_name

Definition at line 34 of file ComputeExtraStressBase.h.

◆ _extra_stress

MaterialProperty<RankTwoTensor>& ComputeExtraStressBase::_extra_stress

◆ _extra_stress_name

std::string ComputeExtraStressBase::_extra_stress_name

Definition at line 35 of file ComputeExtraStressBase.h.

◆ _extra_stress_tensor

RankTwoTensor ComputeExtraStressConstant::_extra_stress_tensor

◆ _prefactor

const MaterialProperty<Real>& ComputeExtraStressConstant::_prefactor

Definition at line 32 of file ComputeExtraStressConstant.h.

Referenced by computeQpExtraStress().

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