Hello
I am a very recent user of pymatgen. I have a 4x4 graphene supercell and would like to list all possible adsorbates (O atom) in all positions ontop
, bridge
, and hollow
.
I first create supercell:
lattice = Lattice.hexagonal(2.46,5)
G = Structure(lattice, ["C", "C"], [[1/3,2/3,1/2],[2/3,1/3,1/2]])
G.make_supercell([4,4,1])
Then list the possible adsorbate configurations in:
adsorbate = Molecule("O", [[0, 0, 0]])
asf = AdsorbateSiteFinder(G)
asf.find_adsorption_sites()
However this only lists 4 sites:
{'ontop': [array([-2.33486982e-16, 1.42028166e+00, 4.50000000e+00])],
'bridge': [array([-3.075 , 7.45647873, 4.5 ]),
array([6.15 , 6.39126748, 4.5 ]),
array([-3.075 , 6.03619706, 4.5 ])],
'hollow': [],
'all': [array([-2.33486982e-16, 1.42028166e+00, 4.50000000e+00]),
array([-3.075 , 7.45647873, 4.5 ]),
array([6.15 , 6.39126748, 4.5 ]),
array([-3.075 , 6.03619706, 4.5 ])]}
Is there a way to list all possible sites?
Hope this makes sense
Hud