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

CompositeEigenstrain provides a simple RankTwoTensor type MaterialProperty that can be used as an Eigenstrain tensor in a mechanics simulation. More...

#include <CompositeEigenstrain.h>

Inheritance diagram for CompositeEigenstrain:
[legend]

Public Member Functions

 CompositeEigenstrain (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeQpEigenstrain ()
 

Protected Attributes

const std::string _M_name
 

Detailed Description

CompositeEigenstrain provides a simple RankTwoTensor type MaterialProperty that can be used as an Eigenstrain tensor in a mechanics simulation.

This tensor is computes as a weighted sum of base Eigenstrain tensors where each weight can be a scalar material property that may depend on simulation variables. The generic logic that computes a weighted sum of tensors is located in the templated base class CompositeTensorBase.

Definition at line 22 of file CompositeEigenstrain.h.

Constructor & Destructor Documentation

CompositeEigenstrain::CompositeEigenstrain ( const InputParameters &  parameters)

Definition at line 21 of file CompositeEigenstrain.C.

22  : CompositeTensorBase<RankTwoTensor, ComputeEigenstrainBase>(parameters)
23 {
24  initializeDerivativeProperties(_base_name + "elastic_strain");
25 }

Member Function Documentation

void CompositeEigenstrain::computeQpEigenstrain ( )
protectedvirtual

Definition at line 28 of file CompositeEigenstrain.C.

29 {
30  // Define Eigenstrain (and fill in the derivatives of elastic strain with a prefactor of -1)
31  computeQpTensorProperties(_eigenstrain, -1.0);
32 }

Member Data Documentation

const std::string CompositeEigenstrain::_M_name
protected

Definition at line 30 of file CompositeEigenstrain.h.


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