B_to_rmt#

anri.crystal.B_to_rmt(B)[source]#

Convert the B matrix to the reciprocal metric tensor.

Parameters:

B (Array) – [3,3] Reciprocal space orthogonalization matrix

Returns:

rmt (jax.Array) – [3,3] Reciprocal metric tensor

Notes

\(\tens{G^{ij}} = \matr{B^T} \cdot \matr{B}\)