Skip to content

Commit

Permalink
added modules
Browse files Browse the repository at this point in the history
  • Loading branch information
pfebrer committed Nov 2, 2023
1 parent 266dd34 commit 2c31d06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sisl/geom/flat.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def graphene(bond=1.42, atoms=None, orthogonal=False):
atoms = Atom(Z=6, R=bond * 1.01)
return honeycomb(bond, atoms, orthogonal)

@set_module("sisl.geom")
def honeycomb_flake(shells: int, bond: float, atoms, vacuum: float = 20.) -> Geometry:
"""Hexagonal flake of a honeycomb lattice, with zig-zag edges.
Expand Down Expand Up @@ -159,6 +160,7 @@ def _minimal_op(shells):

return geom

@set_module("sisl.geom")
def graphene_flake(shells: int, bond: float = 1.42, atoms=None, vacuum: float = 20.) -> Geometry:
"""Hexagonal flake of graphene, with zig-zag edges.
Expand Down

0 comments on commit 2c31d06

Please sign in to comment.