Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
353
template<class Cmpt>
354
inline 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
tr
Function · 0.70
Tested by
no test coverage detected