how to generate and run unit cell creator.cpp in vampire?
First, change into the util directory of vampire at the location that you installed in on your system.
On my system, it was installed at ~/vampire/util. I changed into that directory using the Linux terminal command:
username@computername:~$ cd ~/vampire/util/
Next, verify the existence of the unit-cell-creator.cpp using the terminal command:
username@computername:~/vampire/util$ ls unit-cell-creator.cpp
unit-cell-creator.cpp
Next, open unit-cell-creator.cpp
in a text editor [1] (for example, gedit):
username@computername:~/vampire/util$ gedit unit-cell-creator.cpp
Make changes to
unit-cell-creator.cpp
as needed for your structure
then save any changes that were made.
In my case, I made no changes and just closed the text editor.
Compile the unit-cell-creator next using the terminal command:
username@computername:~/vampire/util$ g++ -o unit-cell-creator unit-cell-creator.cpp
Following that, run the unit-cell-creator using the terminal command:
username@computername:~/vampire/util$ ./unit-cell-creator
Finally, view the unit cell file that the unit-cell-creator generated with a text editor for verifying its contents:
username@computername:~/vampire/util$ gedit UC.ucf
Kind Regards,
Gavin
VAMPIRE user