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

Function dev2

src/OpenFOAM/primitives/SymmTensor/SymmTensorI.H:330–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328//- Return the deviatoric part of a symmetric tensor
329template<class Cmpt>
330inline SymmTensor<Cmpt> dev2(const SymmTensor<Cmpt>& st)
331{
332 return st - SphericalTensor<Cmpt>::twoThirdsI*tr(st);
333}
334
335
336//- Return the determinant of a symmetric tensor

Callers

nothing calls this directly

Calls 1

trFunction · 0.70

Tested by

no test coverage detected