www.mooseframework.org
RankTwoAux.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 RANKTWOAUX_H
8 #define RANKTWOAUX_H
9 
10 #include "AuxKernel.h"
11 #include "RankTwoTensor.h"
12 
13 class RankTwoAux;
14 
21 template <>
22 InputParameters validParams<RankTwoAux>();
23 
24 class RankTwoAux : public AuxKernel
25 {
26 public:
27  RankTwoAux(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeValue();
31 
32 private:
33  const MaterialProperty<RankTwoTensor> & _tensor;
34  const unsigned int _i;
35  const unsigned int _j;
36 
38  const bool _has_selected_qp;
39 
41  const unsigned int _selected_qp;
42 };
43 
44 #endif // RANKTWOAUX_H
const MaterialProperty< RankTwoTensor > & _tensor
Definition: RankTwoAux.h:33
const unsigned int _selected_qp
The std::vector will be evaluated at this quadpoint only if defined.
Definition: RankTwoAux.h:41
InputParameters validParams< RankTwoAux >()
RankTwoAux is designed to take the data in the RankTwoTensor material property, for example stress or...
Definition: RankTwoAux.C:12
const unsigned int _j
Definition: RankTwoAux.h:35
const unsigned int _i
Definition: RankTwoAux.h:34
virtual Real computeValue()
Definition: RankTwoAux.C:42
const bool _has_selected_qp
whether or not selected_qp has been set
Definition: RankTwoAux.h:38
RankTwoAux(const InputParameters &parameters)
Definition: RankTwoAux.C:31