www.mooseframework.org
MaterialTensorIntegral.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "ElementIntegralPostprocessor.h"
13 #include "RankTwoTensor.h"
14 
15 // Forward Declarations
17 
18 template <>
19 InputParameters validParams<MaterialTensorIntegral>();
20 
25 class MaterialTensorIntegral : public ElementIntegralPostprocessor
26 {
27 public:
28  MaterialTensorIntegral(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpIntegral();
32 
33 private:
34  const MaterialProperty<RankTwoTensor> & _tensor;
35  const unsigned int _i;
36  const unsigned int _j;
37 };
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...