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

This postprocessor computes an element integral of a component of a material tensor as specified by the user-supplied indices. More...

#include <MaterialTensorIntegral.h>

Inheritance diagram for MaterialTensorIntegral:
[legend]

Public Member Functions

 MaterialTensorIntegral (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpIntegral ()
 

Private Attributes

const MaterialProperty< RankTwoTensor > & _tensor
 
const unsigned int _i
 
const unsigned int _j
 

Detailed Description

This postprocessor computes an element integral of a component of a material tensor as specified by the user-supplied indices.

Definition at line 26 of file MaterialTensorIntegral.h.

Constructor & Destructor Documentation

◆ MaterialTensorIntegral()

MaterialTensorIntegral::MaterialTensorIntegral ( const InputParameters &  parameters)

Definition at line 37 of file MaterialTensorIntegral.C.

38  : ElementIntegralPostprocessor(parameters),
39  _tensor(getMaterialProperty<RankTwoTensor>("rank_two_tensor")),
40  _i(getParam<unsigned int>("index_i")),
41  _j(getParam<unsigned int>("index_j"))
42 {
43 }
const MaterialProperty< RankTwoTensor > & _tensor

Member Function Documentation

◆ computeQpIntegral()

Real MaterialTensorIntegral::computeQpIntegral ( )
protectedvirtual

Definition at line 46 of file MaterialTensorIntegral.C.

47 {
49 }
const MaterialProperty< RankTwoTensor > & _tensor
Real component(const RankTwoTensor &r2tensor, unsigned int i, unsigned int j)

Member Data Documentation

◆ _i

const unsigned int MaterialTensorIntegral::_i
private

Definition at line 36 of file MaterialTensorIntegral.h.

Referenced by computeQpIntegral().

◆ _j

const unsigned int MaterialTensorIntegral::_j
private

Definition at line 37 of file MaterialTensorIntegral.h.

Referenced by computeQpIntegral().

◆ _tensor

const MaterialProperty<RankTwoTensor>& MaterialTensorIntegral::_tensor
private

Definition at line 35 of file MaterialTensorIntegral.h.

Referenced by computeQpIntegral().


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