https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RankFourAux.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 "AuxKernel.h"
13#include "RankFourTensor.h"
14
20template <bool is_ad>
22{
23public:
25
27
28 virtual ~RankFourAuxTempl() {}
29
30protected:
31 virtual Real computeValue();
32
33private:
35 const unsigned int _i;
36 const unsigned int _j;
37 const unsigned int _k;
38 const unsigned int _l;
39};
40
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
RankFourAuxTempl< false > RankFourAux
Definition RankFourAux.h:41
RankFourAuxTempl< true > ADRankFourAux
Definition RankFourAux.h:42
const InputParameters & parameters() const
RankFourAux is designed to take the data in the RankFourTensor material property, for example stiffne...
Definition RankFourAux.h:22
const GenericMaterialProperty< RankFourTensor, is_ad > & _tensor
Definition RankFourAux.h:34
const unsigned int _l
Definition RankFourAux.h:38
virtual Real computeValue()
Definition RankFourAux.C:60
static InputParameters validParams()
Definition RankFourAux.C:19
const unsigned int _k
Definition RankFourAux.h:37
const unsigned int _j
Definition RankFourAux.h:36
const unsigned int _i
Definition RankFourAux.h:35
virtual ~RankFourAuxTempl()
Definition RankFourAux.h:28