Coverage for ase/build/__init__.py: 100.00%

12 statements  

« prev     ^ index     » next       coverage.py v7.16.2, created at 2026-11-27 15:21 +0000

1from ase.build.bulk import bulk 

2from ase.build.connected import ( 

3 connected_atoms, 

4 connected_indices, 

5 separate, 

6 split_bond, 

7) 

8from ase.build.general_surface import surface 

9from ase.build.molecule import molecule 

10from ase.build.ribbon import graphene_nanoribbon 

11from ase.build.root import ( 

12 bcc111_root, 

13 fcc111_root, 

14 hcp0001_root, 

15 root_surface, 

16 root_surface_analysis, 

17) 

18from ase.build.rotate import minimize_rotation_and_translation 

19from ase.build.supercells import ( 

20 find_optimal_cell_shape, 

21 get_deviation_from_optimal_cell_shape, 

22 make_supercell, 

23) 

24from ase.build.surface import ( 

25 add_adsorbate, 

26 add_vacuum, 

27 bcc100, 

28 bcc110, 

29 bcc111, 

30 diamond100, 

31 diamond111, 

32 fcc100, 

33 fcc110, 

34 fcc111, 

35 fcc211, 

36 graphene, 

37 hcp0001, 

38 hcp10m10, 

39 mx2, 

40) 

41from ase.build.tools import ( 

42 cut, 

43 minimize_tilt, 

44 niggli_reduce, 

45 rotate, 

46 sort, 

47 stack, 

48) 

49from ase.build.tube import nanotube 

50 

51__all__ = [ 

52 'minimize_rotation_and_translation', 

53 'add_adsorbate', 

54 'add_vacuum', 

55 'bcc100', 

56 'bcc110', 

57 'bcc111', 

58 'diamond100', 

59 'diamond111', 

60 'fcc100', 

61 'fcc110', 

62 'fcc111', 

63 'fcc211', 

64 'hcp0001', 

65 'hcp10m10', 

66 'mx2', 

67 'graphene', 

68 'bulk', 

69 'surface', 

70 'molecule', 

71 'hcp0001_root', 

72 'fcc111_root', 

73 'bcc111_root', 

74 'root_surface', 

75 'root_surface_analysis', 

76 'nanotube', 

77 'graphene_nanoribbon', 

78 'cut', 

79 'stack', 

80 'sort', 

81 'minimize_tilt', 

82 'niggli_reduce', 

83 'rotate', 

84 'connected_atoms', 

85 'connected_indices', 

86 'separate', 

87 'split_bond', 

88 'get_deviation_from_optimal_cell_shape', 

89 'find_optimal_cell_shape', 

90 'make_supercell', 

91]