ensure_stress_full

atomate2.aims.schemas.calculation.ensure_stress_full(input_stress)[source]

Test if the stress if a voigt vector and if so convert it to a 3x3 matrix.

Parameters:

input_stress (Sequence[float] | Matrix3D)

Return type:

Matrix3D