https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
19template <bool is_ad>
21{
22public:
24
26
27protected:
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
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
RankTwoScalarAuxTempl< true > ADRankTwoScalarAux
RankTwoScalarAuxTempl< false > RankTwoScalarAux
const InputParameters & parameters() const
RankTwoScalarAux uses the namespace RankTwoScalarTools to compute scalar values from Rank-2 tensors.
const bool _has_selected_qp
whether or not selected_qp has been set
const GenericMaterialProperty< RankTwoTensor, is_ad > & _tensor
virtual Real computeValue()
MooseEnum _scalar_type
Determines the information to be extracted from the tensor by using the RankTwoScalarTools namespace,...
static InputParameters validParams()
const unsigned int _selected_qp
The std::vector will be evaluated at this quadpoint only if defined.