richard-evans / vampire

Atomistic simulator for magnetic materials
GNU General Public License v2.0
122 stars 91 forks source link

unit cell creation from ucf ignores the rest of materials multi-material ucf (develop branch) #89

Closed mahdawi closed 1 year ago

mahdawi commented 1 year ago

On the develop branch, when creating a multi-element crystal using a ucf file (such as an AFM material), vampire keeps only the first material and discards the rest. An example is the attached output of "3c_antiferromagnets" in the workshop. output.txt

richard-evans commented 1 year ago

Yes - you need to use material[1]unit-cell-category = 1 material[2]unit-cell-category = 2 to associate materials in the unit cell file to materials in the material file. The reason for not doing this automatically is that often you want multiple materials associated with the same lattice site (material) in the unit cell file.

mahdawi commented 1 year ago

Thanks!