https://mooseframework.inl.gov
src
utils
RankTwoTensor.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
10
#include "
RankTwoTensorImplementation.h
"
11
12
template
class
RankTwoTensorTempl<Real>
;
13
template
class
RankTwoTensorTempl<ADReal>
;
14
15
namespace
MathUtils
16
{
17
template
<>
18
void
19
mooseSetToZero<RankTwoTensor>
(
RankTwoTensor
& v)
20
{
21
v.zero();
22
}
23
24
template
<>
25
void
26
mooseSetToZero<ADRankTwoTensor>
(
ADRankTwoTensor
& v)
27
{
28
v.zero();
29
}
30
}
MathUtils::mooseSetToZero< ADRankTwoTensor >
void mooseSetToZero< ADRankTwoTensor >(ADRankTwoTensor &v)
Helper function template specialization to set an object to zero.
Definition:
RankTwoTensor.C:26
RankTwoTensorTempl< Real >
MathUtils
Definition:
FactorizedRankTwoTensor.h:145
MathUtils::mooseSetToZero< RankTwoTensor >
void mooseSetToZero< RankTwoTensor >(RankTwoTensor &v)
Helper function template specialization to set an object to zero.
Definition:
RankTwoTensor.C:19
RankTwoTensorImplementation.h
Generated on Wed Aug 6 2025 14:24:04 for https://mooseframework.inl.gov by
1.8.14