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

Function invariantI

src/OpenFOAM/primitives/SymmTensor2D/SymmTensor2DI.H:316–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314//- Return the 1st invariant of a symmetric tensor
315template<class Cmpt>
316inline Cmpt invariantI(const SymmTensor2D<Cmpt>& st)
317{
318 return tr(st);
319}
320
321
322//- Return the 2nd invariant of a symmetric tensor

Callers

nothing calls this directly

Calls 1

trFunction · 0.70

Tested by

no test coverage detected