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

#include <MaterialSymmElasticityTensorAux.h>

Inheritance diagram for MaterialSymmElasticityTensorAux:
[legend]

Public Member Functions

 MaterialSymmElasticityTensorAux (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

std::string _tensor_matpro
 
int _index
 

Private Attributes

const MaterialProperty< SymmElasticityTensor > & _tensor_prop
 

Detailed Description

Definition at line 30 of file MaterialSymmElasticityTensorAux.h.

Constructor & Destructor Documentation

MaterialSymmElasticityTensorAux::MaterialSymmElasticityTensorAux ( const InputParameters &  parameters)

Definition at line 32 of file MaterialSymmElasticityTensorAux.C.

33  : AuxKernel(parameters),
34  _tensor_matpro(getParam<std::string>("tensor_matpro")),
35  _index(getParam<int>("index")),
36  _tensor_prop(getMaterialProperty<SymmElasticityTensor>(_tensor_matpro))
37 {
38  if (_index < 0 || _index > 20)
39  mooseError("Please check your index specified for MaterialSymmElasticityTensorAux (between 0 "
40  "and 20).");
41 }
const MaterialProperty< SymmElasticityTensor > & _tensor_prop

Member Function Documentation

Real MaterialSymmElasticityTensorAux::computeValue ( )
protectedvirtual

Definition at line 44 of file MaterialSymmElasticityTensorAux.C.

45 {
46  return (_tensor_prop[_qp]).valueAtIndex(_index);
47 }
const MaterialProperty< SymmElasticityTensor > & _tensor_prop

Member Data Documentation

int MaterialSymmElasticityTensorAux::_index
protected

Definition at line 38 of file MaterialSymmElasticityTensorAux.h.

Referenced by computeValue().

std::string MaterialSymmElasticityTensorAux::_tensor_matpro
protected

Definition at line 37 of file MaterialSymmElasticityTensorAux.h.

const MaterialProperty<SymmElasticityTensor>& MaterialSymmElasticityTensorAux::_tensor_prop
private

Definition at line 41 of file MaterialSymmElasticityTensorAux.h.

Referenced by computeValue().


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