This commit is contained in:
2025-02-28 02:38:46 +08:00
parent 319981909f
commit 9660bd6fc6
8 changed files with 73 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
# Module: custom_classes
# 原子类
class Atom:
def __init__(self, name='atom', index=0, x=0, y=0, z=0, energy=0):
self.name = name
self.index = index
self.x = x
self.y = y
self.z = z
self.energy = energy