www.mooseframework.org
RankTwoScalarAux.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 #ifndef RANKTWOSCALARAUX_H
8 #define RANKTWOSCALARAUX_H
9 
10 #include "AuxKernel.h"
11 #include "RankTwoTensor.h"
12 
13 class RankTwoScalarAux;
14 
15 template <>
16 InputParameters validParams<RankTwoScalarAux>();
17 
22 class RankTwoScalarAux : public AuxKernel
23 {
24 public:
25  RankTwoScalarAux(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeValue();
29 
30  const MaterialProperty<RankTwoTensor> & _tensor;
31 
37  MooseEnum _scalar_type;
38 
40  const bool _has_selected_qp;
41 
43  const unsigned int _selected_qp;
44 
45  const Point _point1;
46  const Point _point2;
48 };
49 
50 #endif // RANKTWOSCALARAUX_H
const Point _point2
RankTwoScalarAux uses the namespace RankTwoScalarTools to compute scalar values from Rank-2 tensors...
MooseEnum _scalar_type
Determines the information to be extracted from the tensor by using the RankTwoScalarTools namespace...
const Point _point1
const bool _has_selected_qp
whether or not selected_qp has been set
const unsigned int _selected_qp
The std::vector will be evaluated at this quadpoint only if defined.
virtual Real computeValue()
const MaterialProperty< RankTwoTensor > & _tensor
RankTwoScalarAux(const InputParameters &parameters)
InputParameters validParams< RankTwoScalarAux >()