Basically, I've written some code that take as inputs 1)Basis vectors 2)lattice translation vectors(adsbygoogle = window.adsbygoogle || []).push({});

and computes the structure factor of the basis, producing a diffraction pattern.

I'd like to begin incorporating subtle differences between atoms, so I want to compute the structure factor of asupercellinstead of a primitive cell. So for instance, let's say I'm dealing with graphene. That lattice has a 2-atom basis, so a supercell would be built of maybe 4 or 6 atoms. The thing is, I'm not sure what algorithm determines the new lattice translation vectors. If these aren't chosen correctly, it messes up the reciprocal space and diffraction condition.

Ideally there should be some general, bravais-lattice-independent method of building the supercell so that the supercell lattice vectors are just multiples of the primitive lattice vectors, but I don't know which basis atoms to include to avoid overlap upon translation. Any tips or references would be greatly appreciated.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# What's a general algorithm to build a supercell from a primitive cell?

Tags:

Loading...

Similar Threads - What's general algorithm | Date |
---|---|

I What are Superinsulators? | Dec 27, 2017 |

A What is the value of optical effective electron mass for tin | Dec 10, 2017 |

What is kinetic capacitance in superconductors or in solid state in general? | Mar 2, 2012 |

**Physics Forums - The Fusion of Science and Community**