https://mooseframework.inl.gov
RankTwoScalarAux.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 
19 template <bool is_ad>
21 {
22 public:
24 
26 
27 protected:
28  virtual Real computeValue();
29 
31 
37 
39  const bool _has_selected_qp;
40 
42  const unsigned int _selected_qp;
43 
44  const Point _point1;
45  const Point _point2;
47 };
48 
RankTwoScalarAux uses the namespace RankTwoScalarTools to compute scalar values from Rank-2 tensors...
static InputParameters validParams()
RankTwoScalarAuxTempl(const InputParameters &parameters)
RankTwoScalarAuxTempl< false > RankTwoScalarAux
const unsigned int _selected_qp
The std::vector will be evaluated at this quadpoint only if defined.
const bool _has_selected_qp
whether or not selected_qp has been set
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
MooseEnum _scalar_type
Determines the information to be extracted from the tensor by using the RankTwoScalarTools namespace...
virtual Real computeValue()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const GenericMaterialProperty< RankTwoTensor, is_ad > & _tensor
const InputParameters & parameters() const
RankTwoScalarAuxTempl< true > ADRankTwoScalarAux