dpdata.cp2k package
Submodules
dpdata.cp2k.cell module
- dpdata.cp2k.cell.cell_to_low_triangle(A, B, C, alpha, beta, gamma)[source]
Convert cell to low triangle matrix.
- Parameters:
- Afloat
cell length A
- Bfloat
cell length B
- Cfloat
cell length C
- alphafloat
radian. The angle between vector B and vector C.
- betafloat
radian. The angle between vector A and vector C.
- gammafloat
radian. The angle between vector B and vector C.
- Returns:
- celllist
The cell matrix used by dpdata in low triangle form.