As a basic example, I want to build a defect MgO unit cell within ASE. From VASP the input is simple:
Mg4O8
1.00
5.40 0.00 0.00
0.00 5.40 0.00
0.00 0.00 5.40
4 8
Direct
0.10 0.10 0.10
0.50 0.50 0.00
0.50 0.00 0.50
0.00 0.50 0.50
0.25 0.25 0.25
0.25 0.25 0.75
0.25 0.75 0.25
0.25 0.75 0.75
0.75 0.75 0.75
0.75 0.75 0.25
0.75 0.25 0.75
0.75 0.25 0.25
Looking into the ASE code, I have come across the ase.build.bulk
function.
ase.build.bulk(name, crystalstructure=None, a=None, b=None, c=None, *, alpha=None, covera=None, u=None, orthorhombic=False, cubic=False, basis=None)
However, I have to specify the crystal structure, and I have no control over ionic positions.
Is there another way I can create an ASE cell object by providing the unit cell dimensions and the exact coordinates?