https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
21template <bool is_ad>
23{
24public:
26
28
29protected:
30 virtual Real computeValue();
31
32private:
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
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
RankTwoAuxTempl< true > ADRankTwoAux
Definition RankTwoAux.h:45
RankTwoAuxTempl< false > RankTwoAux
Definition RankTwoAux.h:44
const InputParameters & parameters() const
RankTwoAux is designed to take the data in the RankTwoTensor material property, for example stress or...
Definition RankTwoAux.h:23
const bool _has_selected_qp
whether or not selected_qp has been set
Definition RankTwoAux.h:38
const unsigned int _selected_qp
The std::vector will be evaluated at this quadpoint only if defined.
Definition RankTwoAux.h:41
const unsigned int _j
Definition RankTwoAux.h:35
const unsigned int _i
Definition RankTwoAux.h:34
const GenericMaterialProperty< RankTwoTensor, is_ad > & _tensor
Definition RankTwoAux.h:33
static InputParameters validParams()
Definition RankTwoAux.C:20
virtual Real computeValue()
Definition RankTwoAux.C:52