MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / dev2

Function dev2

src/OpenFOAM/primitives/Tensor/TensorI.H:572–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570//- Return the deviatoric part of a tensor
571template<class Cmpt>
572inline Tensor<Cmpt> dev2(const Tensor<Cmpt>& t)
573{
574 return t - SphericalTensor<Cmpt>::twoThirdsI*tr(t);
575}
576
577
578//- Return the determinant of a tensor

Callers 7

mainFunction · 0.50
mainFunction · 0.50
ReynoldsStress.CFile · 0.50
Maxwell.CFile · 0.50

Calls 1

trFunction · 0.70

Tested by

no test coverage detected