https://mooseframework.inl.gov
RankTwoDirectionalComponent.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 "Material.h"
13 #include "RankTwoTensor.h"
14 
16 template <bool is_ad>
18 {
19 public:
21 
23 
24 protected:
25  virtual void initQpStatefulProperties() override;
26  virtual void computeQpProperties() override;
27 
29 
32 
34  const Point _direction;
35 };
36 
GenericMaterialProperty< Real, is_ad > & _property
Stress/strain value returned from calculation.
RankTwoDirectionalComponent computes the component of a rank-2 tensor in specified direction...
virtual void initQpStatefulProperties() override
const GenericMaterialProperty< RankTwoTensor, is_ad > & _tensor
RankTwoDirectionalComponentTempl< false > RankTwoDirectionalComponent
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
RankTwoDirectionalComponentTempl< true > ADRankTwoDirectionalComponent
RankTwoDirectionalComponentTempl(const InputParameters &parameters)
const Point _direction
The direction vector in which the scalar stress value is calculated.
const InputParameters & parameters() const