https://mooseframework.inl.gov
RankTwoAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 "NodalPatchRecovery.h"
13 #include "RankTwoTensor.h"
14 
21 template <bool is_ad>
23 {
24 public:
26 
28 
29 protected:
30  virtual Real computeValue();
31 
32 private:
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 
virtual Real computeValue()
Definition: RankTwoAux.C:52
const unsigned int _i
Definition: RankTwoAux.h:34
const GenericMaterialProperty< RankTwoTensor, is_ad > & _tensor
Definition: RankTwoAux.h:33
const unsigned int _j
Definition: RankTwoAux.h:35
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
RankTwoAuxTempl(const InputParameters &parameters)
Definition: RankTwoAux.C:40
static InputParameters validParams()
Definition: RankTwoAux.C:20
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
RankTwoAuxTempl< false > RankTwoAux
Definition: RankTwoAux.h:44
const InputParameters & parameters() const
RankTwoAuxTempl< true > ADRankTwoAux
Definition: RankTwoAux.h:45
const unsigned int _selected_qp
The std::vector will be evaluated at this quadpoint only if defined.
Definition: RankTwoAux.h:41
RankTwoAux is designed to take the data in the RankTwoTensor material property, for example stress or...
Definition: RankTwoAux.h:22
const bool _has_selected_qp
whether or not selected_qp has been set
Definition: RankTwoAux.h:38