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

Function invariantI

src/OpenFOAM/primitives/Tensor2D/Tensor2DI.H:354–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352//- Return the 1st invariant of a tensor
353template<class Cmpt>
354inline Cmpt invariantI(const Tensor2D<Cmpt>& t)
355{
356 return tr(t);
357}
358
359
360//- Return the 2nd invariant of a tensor

Callers

nothing calls this directly

Calls 1

trFunction · 0.70

Tested by

no test coverage detected