https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RankThreeTensor.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
12template class RankThreeTensorTempl<Real>;
13template class RankThreeTensorTempl<ADReal>;
14
15namespace MathUtils
16{
17template <>
18void
19mooseSetToZero<RankThreeTensor>(RankThreeTensor & v)
20{
21 v.zero();
22}
23
24template <>
25void
26mooseSetToZero<ADRankThreeTensor>(ADRankThreeTensor & v)
27{
28 v.zero();
29}
30}
RankThreeTensor is designed to handle any N-dimensional third order tensor, r.
void zero()
Zeros out the tensor.