QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: esp on February 8, 2012, 09:37

Title: Graphene heterostructures
Post by: esp on February 8, 2012, 09:37
I want to make some graphene heterostructures, with different width sections within the bulk ... how can i programmatically concat different width GNR ribbons to form a whole for the bulk section?
Title: Re: Graphene heterostructures
Post by: Anders Blom on February 8, 2012, 10:55
Note that I moved this - it was posted in an improper thread ;)

Reg. your question: I wouldn't even try :) I would wait for 12.2 where this will be really simple to do interactively. I hope we have a preview version out in a few weeks.

Or - ok, I see the point of doing it more automated... You'll have to figure out the full Python yourself (which you seem fully capable of), but my advise is:
Title: Re: Graphene heterostructures
Post by: esp on February 8, 2012, 23:32
Ok yes I was thinking something along those lines .. thank you
Title: Re: Graphene heterostructures
Post by: esp on January 5, 2013, 04:09
back to this question .. is there any way to do this programmatically and easier now in the latest atk?
Title: Re: Graphene heterostructures
Post by: Anders Blom on January 6, 2013, 20:22
Neither easier or harder - it was always possible :)

If I would do this myself, I would take the opposite approach, however - instead of concatenating ready segments of different widths, I would make a very wide ribbon from the beginning, and then in various segments remove atoms by certain rules to create constructions or even other complex shapes. For selecting atoms by rules, the numpy function "where" is very handy; to delete atoms from a configuration, you can use the "private" method configuration._deleteAtoms(indices) where indices is a list of integers - the atoms to delete.
Title: Re: Graphene heterostructures
Post by: esp on January 6, 2013, 23:28
ahh yes this is a great idea .... i already have a function in fact to remove edge atoms for a different purpose, i can modify that ... thank you