www.mooseframework.org
MaterialTensorIntegral.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef MATERIALTENSORINTEGRAL_H
9 #define MATERIALTENSORINTEGRAL_H
10 
11 #include "ElementIntegralPostprocessor.h"
12 #include "RankTwoTensor.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<MaterialTensorIntegral>();
19 
24 class MaterialTensorIntegral : public ElementIntegralPostprocessor
25 {
26 public:
27  MaterialTensorIntegral(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpIntegral();
31 
32 private:
33  const MaterialProperty<RankTwoTensor> & _tensor;
34  const unsigned int _i;
35  const unsigned int _j;
36 };
37 #endif // MATERIALTENSORINTEGRAL_H
const MaterialProperty< RankTwoTensor > & _tensor
InputParameters validParams< MaterialTensorIntegral >()
MaterialTensorIntegral(const InputParameters &parameters)
This postprocessor computes an element integral of a component of a material tensor as specified by t...