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

This postprocessor computes an element integral of a component of a material tensor. More...

#include <MaterialTensorIntegralSM.h>

Inheritance diagram for MaterialTensorIntegralSM:
[legend]

Public Member Functions

 MaterialTensorIntegralSM (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpIntegral ()
 

Protected Attributes

MaterialTensorCalculator _material_tensor_calculator
 
const MaterialProperty< SymmTensor > & _tensor
 

Detailed Description

This postprocessor computes an element integral of a component of a material tensor.

Definition at line 25 of file MaterialTensorIntegralSM.h.

Constructor & Destructor Documentation

MaterialTensorIntegralSM::MaterialTensorIntegralSM ( const InputParameters &  parameters)

Definition at line 24 of file MaterialTensorIntegralSM.C.

25  : ElementIntegralPostprocessor(parameters),
26  _material_tensor_calculator(parameters),
27  _tensor(getMaterialProperty<SymmTensor>(getParam<std::string>("tensor")))
28 {
29 }
const MaterialProperty< SymmTensor > & _tensor
MaterialTensorCalculator _material_tensor_calculator

Member Function Documentation

Real MaterialTensorIntegralSM::computeQpIntegral ( )
protectedvirtual

Definition at line 32 of file MaterialTensorIntegralSM.C.

33 {
34  RealVectorValue direction;
35  return _material_tensor_calculator.getTensorQuantity(_tensor[_qp], _q_point[_qp], direction);
36 }
Real getTensorQuantity(const SymmTensor &tensor, const Point &curr_point, RealVectorValue &direction)
const MaterialProperty< SymmTensor > & _tensor
MaterialTensorCalculator _material_tensor_calculator

Member Data Documentation

MaterialTensorCalculator MaterialTensorIntegralSM::_material_tensor_calculator
protected

Definition at line 33 of file MaterialTensorIntegralSM.h.

Referenced by computeQpIntegral().

const MaterialProperty<SymmTensor>& MaterialTensorIntegralSM::_tensor
protected

Definition at line 34 of file MaterialTensorIntegralSM.h.

Referenced by computeQpIntegral().


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