From 2c31d063233aad89a71960c6d5afe8fa8544a9dc Mon Sep 17 00:00:00 2001 From: Pol Febrer Date: Thu, 2 Nov 2023 11:46:51 +0100 Subject: [PATCH] added modules --- src/sisl/geom/flat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sisl/geom/flat.py b/src/sisl/geom/flat.py index 4583c0ac08..2c500e3157 100644 --- a/src/sisl/geom/flat.py +++ b/src/sisl/geom/flat.py @@ -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. @@ -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.