www.mooseframework.org
MaterialTensorIntegralSM.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 MATERIALTENSORINTEGRALSM_H
9 #define MATERIALTENSORINTEGRALSM_H
10 
11 #include "ElementIntegralPostprocessor.h"
13 
14 // Forward Declarations
16 class SymmTensor;
17 
18 template <>
20 
25 class MaterialTensorIntegralSM : public ElementIntegralPostprocessor
26 {
27 public:
28  MaterialTensorIntegralSM(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpIntegral();
32 
34  const MaterialProperty<SymmTensor> & _tensor;
35 };
36 
37 #endif // MATERIALTENSORINTEGRALSM_H
This postprocessor computes an element integral of a component of a material tensor.
InputParameters validParams< MaterialTensorIntegralSM >()
const MaterialProperty< SymmTensor > & _tensor
MaterialTensorIntegralSM(const InputParameters &parameters)
MaterialTensorCalculator _material_tensor_calculator