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  static InputParameters validParams();
29 
30  MaterialTensorIntegral(const InputParameters & parameters);
31 
32 protected:
33  virtual Real computeQpIntegral();
34 
35 private:
36  const MaterialProperty<RankTwoTensor> & _tensor;
37  const unsigned int _i;
38  const unsigned int _j;
39 };
MaterialTensorIntegral::computeQpIntegral
virtual Real computeQpIntegral()
Definition: MaterialTensorIntegral.C:47
MaterialTensorIntegral::MaterialTensorIntegral
MaterialTensorIntegral(const InputParameters &parameters)
Definition: MaterialTensorIntegral.C:38
MaterialTensorIntegral::_j
const unsigned int _j
Definition: MaterialTensorIntegral.h:38
MaterialTensorIntegral::validParams
static InputParameters validParams()
Definition: MaterialTensorIntegral.C:18
validParams< MaterialTensorIntegral >
InputParameters validParams< MaterialTensorIntegral >()
MaterialTensorIntegral::_i
const unsigned int _i
Definition: MaterialTensorIntegral.h:37
MaterialTensorIntegral::_tensor
const MaterialProperty< RankTwoTensor > & _tensor
Definition: MaterialTensorIntegral.h:36
MaterialTensorIntegral
This postprocessor computes an element integral of a component of a material tensor as specified by t...
Definition: MaterialTensorIntegral.h:25