https://mooseframework.inl.gov
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 
15 namespace MathUtils
16 {
17 template <>
18 void
20 {
21  v.zero();
22 }
23 template <>
24 void
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 
void mooseSetToZero< SymmetricRankFourTensor >(SymmetricRankFourTensor &v)
Helper function template specialization to set an object to zero.
SymmetricRankTwoTensorTempl is designed to handle the Stress or Strain Tensor for an anisotropic mate...
void mooseSetToZero< ADSymmetricRankFourTensor >(ADSymmetricRankFourTensor &v)
SymmetricRankFourTensorMultInstantiate(SymmetricRankTwoTensorTempl, *)
SymmetricRankFourTensorTempl is designed to handle an N-dimensional fourth order tensor with minor sy...