paramagpy.metal.Metal.second_invariant_squared

static Metal.second_invariant_squared(t)[source]

Calculate the second invariant squared of a tensor.

This is required for PRE calculations using the shilding tensor

Parameters

tensor (3x3 matrix) – a second rank tensor

Returns

secondInvariantSquared – the second invariant squared of the shift tensor

Return type

float