Graphene structure obtaining code

Click For Summary
The discussion focuses on writing code to generate a graphene structure, specifically using Octave or another programming language. The user seeks guidance on how to create a code that produces a graphene sheet by defining the unit cell containing two carbon atoms and repeating it along lattice vectors. There is uncertainty about the approach, and the user is looking for help as they are new to programming. Additionally, there is a request for a figure that was not uploaded, which is essential for context. Overall, the thread emphasizes the need for coding assistance in visualizing graphene structures.
elif24
Messages
2
Reaction score
0
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:
Physics news on Phys.org
elif24 said:
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..
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...
 
berkeman said:
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...
sorry for that..
 

Attachments

  • 12746173_10208118356769950_1861638669_n.jpg
    12746173_10208118356769950_1861638669_n.jpg
    21.9 KB · Views: 627

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
16
Views
3K
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
1
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K