Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Graphene structure obtaining code

  1. Feb 20, 2016 #1
    I want to write a octave code(It can be another language I want to know how should I think to write a such a code ) to obtain graphene structure like in the figure.

    This code should give me a graphene sheet which in size I want when I enter the position of the atoms in the lattice.I think that if I describe the unit cell of the graphene which contains two carbon atom and repeat that along lattice vectors directions I can get this figure.I am not sure about that.ıs there anyone can help me to think about writing such a code ? (I just start to learn programming) Thank you..
    Last edited by a moderator: Feb 20, 2016
  2. jcsd
  3. Feb 20, 2016 #2


    User Avatar

    Staff: Mentor

    Welcome to the PF.

    I don't see a Figure. Did you mean to UPLOAD it? You can use the UPLOAD button in the lower right corner of the Reply box...
  4. Feb 20, 2016 #3
    sorry for that..

    Attached Files:

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook