示例#1
0
 def __init__(self):
     Lattice.__init__(self)
     self.cells = None
     self.resolution = 0
     self.check_pre_post_methods()
     self.energy_history = []
示例#2
0
def load_automaton(lattice_file):
    lattice = Lattice.load_configuration(lattice_file)
    return lattice