https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SymmetricRankFourTensor.C
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
11
14
15namespace MathUtils
16{
17template <>
18void
19mooseSetToZero<SymmetricRankFourTensor>(SymmetricRankFourTensor & v)
20{
21 v.zero();
22}
23template <>
24void
25mooseSetToZero<ADSymmetricRankFourTensor>(ADSymmetricRankFourTensor & v)
26{
27 v.zero();
28}
29}
30
31#define SymmetricRankFourTensorMultInstantiate(TemplateClass, opname) \
32 template TemplateClass<Real> SymmetricRankFourTensor::operator opname( \
33 const TemplateClass<Real> & a) const; \
34 template TemplateClass<ADReal> ADSymmetricRankFourTensor::operator opname( \
35 const TemplateClass<Real> & a) const; \
36 template TemplateClass<ADReal> SymmetricRankFourTensor::operator opname( \
37 const TemplateClass<ADReal> & a) const; \
38 template TemplateClass<ADReal> ADSymmetricRankFourTensor::operator opname( \
39 const TemplateClass<ADReal> & a) const
40
SymmetricRankFourTensorMultInstantiate(SymmetricRankTwoTensorTempl, *)
SymmetricRankFourTensorTempl is designed to handle an N-dimensional fourth order tensor with minor sy...
SymmetricRankTwoTensorTempl is designed to handle the Stress or Strain Tensor for an anisotropic mate...