www.mooseframework.org
src
utils_nonunity
RankTwoTensor.C
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
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 "
DualRealOps.h
"
11
#include "
RankTwoTensorImplementation.h
"
12
13
template
class
RankTwoTensorTempl<Real>
;
14
template
class
RankTwoTensorTempl<DualReal>
;
15
16
namespace
MathUtils
17
{
18
template
<>
19
void
20
mooseSetToZero<RankTwoTensor>
(
RankTwoTensor
& v)
21
{
22
v.zero();
23
}
24
25
template
<>
26
void
27
mooseSetToZero<ADRankTwoTensor>
(
ADRankTwoTensor
& v)
28
{
29
v.zero();
30
}
31
}
MathUtils::mooseSetToZero< ADRankTwoTensor >
void mooseSetToZero< ADRankTwoTensor >(ADRankTwoTensor &v)
Helper function template specialization to set an object to zero.
Definition:
RankTwoTensor.C:27
DualRealOps.h
RankTwoTensorTempl< Real >
MathUtils
Definition:
MathUtils.h:20
MathUtils::mooseSetToZero< RankTwoTensor >
void mooseSetToZero< RankTwoTensor >(RankTwoTensor &v)
Helper function template specialization to set an object to zero.
Definition:
RankTwoTensor.C:20
RankTwoTensorImplementation.h
Generated on Thu Apr 18 2024 15:23:18 for www.mooseframework.org by
1.8.14