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

Function dev

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

Source from the content-addressed store, hash-verified

320//- Return the deviatoric part of a symmetric tensor
321template<class Cmpt>
322inline SymmTensor<Cmpt> dev(const SymmTensor<Cmpt>& st)
323{
324 return st - SphericalTensor<Cmpt>::oneThirdI*tr(st);
325}
326
327
328//- Return the deviatoric part of a symmetric tensor

Callers

nothing calls this directly

Calls 1

trFunction · 0.70

Tested by

no test coverage detected