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

Function dev

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

Source from the content-addressed store, hash-verified

562//- Return the deviatoric part of a tensor
563template<class Cmpt>
564inline Tensor<Cmpt> dev(const Tensor<Cmpt>& t)
565{
566 return t - SphericalTensor<Cmpt>::oneThirdI*tr(t);
567}
568
569
570//- Return the deviatoric part of a tensor

Callers 15

calculateStress.HFile · 0.50
calculateStress.HFile · 0.50
correctFunction · 0.50
UEqns.HFile · 0.50
mixtureKEpsilon.CFile · 0.50
eddyViscosity.CFile · 0.50
Smagorinsky.CFile · 0.50
kMethod · 0.50

Calls 1

trFunction · 0.70

Tested by

no test coverage detected