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

Function invariantI

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

Source from the content-addressed store, hash-verified

648//- Return the 1st invariant of a tensor
649template<class Cmpt>
650inline Cmpt invariantI(const Tensor<Cmpt>& t)
651{
652 return tr(t);
653}
654
655
656//- Return the 2nd invariant of a tensor

Callers

nothing calls this directly

Calls 1

trFunction · 0.70

Tested by

no test coverage detected