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

ComputeEigenstrain computes an Eigenstrain that is a function of a single variable defined by a base tensor and a scalar function defined in a Derivative Material. More...

#include <ComputeExtraStressConstant.h>

Inheritance diagram for ComputeExtraStressConstant:
[legend]

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

ComputeEigenstrain computes an Eigenstrain that is a function of a single variable defined by a base tensor and a scalar function defined in a Derivative Material.

Definition at line 16 of file ComputeExtraStressConstant.h.

Constructor & Destructor Documentation

ComputeExtraStressConstant::ComputeExtraStressConstant ( const InputParameters &  parameters)

Definition at line 25 of file ComputeExtraStressConstant.C.

26  : ComputeExtraStressBase(parameters), _prefactor(getMaterialProperty<Real>("prefactor"))
27 {
28  _extra_stress_tensor.fillFromInputVector(getParam<std::vector<Real>>("extra_stress_tensor"));
29 }
ComputeExtraStressBase(const InputParameters &parameters)
const MaterialProperty< Real > & _prefactor

Member Function Documentation

void ComputeExtraStressConstant::computeQpExtraStress ( )
protectedvirtual

Implements ComputeExtraStressBase.

Definition at line 32 of file ComputeExtraStressConstant.C.

33 {
35 }
const MaterialProperty< Real > & _prefactor
MaterialProperty< RankTwoTensor > & _extra_stress
void ComputeExtraStressBase::computeQpProperties ( )
protectedvirtualinherited

Definition at line 30 of file ComputeExtraStressBase.C.

31 {
33 }
virtual void computeQpExtraStress()=0

Member Data Documentation

std::string ComputeExtraStressBase::_base_name
protectedinherited

Definition at line 26 of file ComputeExtraStressBase.h.

MaterialProperty<RankTwoTensor>& ComputeExtraStressBase::_extra_stress
protectedinherited

Definition at line 29 of file ComputeExtraStressBase.h.

Referenced by computeQpExtraStress().

std::string ComputeExtraStressBase::_extra_stress_name
protectedinherited

Definition at line 27 of file ComputeExtraStressBase.h.

RankTwoTensor ComputeExtraStressConstant::_extra_stress_tensor
protected
const MaterialProperty<Real>& ComputeExtraStressConstant::_prefactor
protected

Definition at line 24 of file ComputeExtraStressConstant.h.

Referenced by computeQpExtraStress().


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