Skip to content

ENH: Castep magnetic moments

Vlad Cărare requested to merge cararevlad96/ase:castep-magnetic-moments into master

Modified castep.py calculator such that initial magnetic moments on the atoms object are considered, and written to the castep.cell file. Simply changed the old write_cell method to the new write_castep_cell method (which takes a file descriptor rather than a file name as a parameter).

This is related to issue 897.

Edited by Vlad Cărare

Merge request reports