Unlike Graphene and MoS2, For borophene, I didn't find any inbuilt function in ASE. I have tried to make it, but i failed. So If anyone could help me, it will be great help.
Since brophene has graphene like structure,I have tried to make it like graphene, although I think it's wrong approach.
from ase.visualize import view
from ase import Atoms
from ase.build import hcp0001
#--------------------------------------------------------
slab = hcp0001('B',a=4.7, size=(5,8,1), vacuum=None, orthogonal=True)
view(slab)
#---------------------------------------------------------
cell = [[10.0, 0.0, 0.0],
[0.0, 10.0, 0.0],
[0.0, 0.0, 10.0]]
slab.set_cell(cell)
slab.pbc=True
#-------------------------------------
from gpaw import GPAW
calc = GPAW(xc='PBE')
slab.set_calculator(calc)
#--------------------------------------
opt = BFGS(slab,
trajectory='borophene.traj',
logfile='borophene.log')
#---------------------------------------
opt.run(fmax=0.05)