https://mooseframework.inl.gov
RankTwoCartesianComponent.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 
17 template <bool is_ad>
19 {
20 public:
22 
24 
25 protected:
26  virtual void initQpStatefulProperties() override;
27  virtual void computeQpProperties() override;
28 
29 private:
31 
34 
36  const unsigned int _i;
38  const unsigned int _j;
39 };
40 
RankTwoCartesianComponentTempl(const InputParameters &parameters)
const unsigned int _i
Tensor component.
virtual void initQpStatefulProperties() override
const GenericMaterialProperty< RankTwoTensor, is_ad > & _tensor
RankTwoCartesianComponentTempl< false > RankTwoCartesianComponent
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
virtual void computeQpProperties() override
RankTwoCartesianComponentTempl< true > ADRankTwoCartesianComponent
GenericMaterialProperty< Real, is_ad > & _property
Stress/strain value returned from calculation.
const unsigned int _j
Tensor component.
const InputParameters & parameters() const
ADRankTwoCartesianComponent computes selected components from a Rank-2 tensors.