Hello Abid,
i) You can download the Twister package from this GitHub repository:
https://github.com/qtm-iisc/Twister You will need Numpy, Scipy and Matplotlib packages installed for running the codes in Python3.
ii) The details for running each example are provided in the README file.
Summary of steps to follow:
1) In the terminal, enter the folder containing the Twister package and go to the directory of the example that you wish to run. It must contain the input file: get_ang.inp
E.g
Twister/
examples/
Heterobilayer/
Mos2_mose2/
Mos2_mose2_16.1021 2) From that directory, run the following command: python3 path_to_Twister/SRC/get_ang.py
'path_to_Twister' needs to be replaced by the address to the folder containing the SRC folder
3) Once you run get_ang.py, 'twist.inp' will be generated with the new lattice parameters, superlattice vectors (n1,n2; n1',n2') and twist-angle.
4) Run: python3 path_to_Twister/SRC/twister.py
to obtain the atom positions in the superlattice.
5) The Ref folder contains expected output files for reference
Regards,
Saismit