コード例 #1
0
ファイル: bond.py プロジェクト: woutersmet/Zeo_thesis
 def do(self):
     AutoConnectMixin.do(self, max([1, self.parameters.distance]))
コード例 #2
0
ファイル: bond.py プロジェクト: woutersmet/Zeo_thesis
 def do(self):
     AutoConnectMixin.do(self, bonds.max_length)
コード例 #3
0
ファイル: bond.py プロジェクト: woutersmet/Zeo_thesis
 def analyze_selection(parameters=None):
     # A) calling ancestor
     if not ImmediateWithMemory.analyze_selection(parameters): return False
     if not AutoConnectMixin.analyze_selection(): return False
     # C) passed all tests:
     return True
コード例 #4
0
 def do(self):
     AutoConnectMixin.do(self, 2 * periodic.max_radius)
コード例 #5
0
ファイル: bond.py プロジェクト: woutersmet/Zeo_thesis
 def analyze_selection():
     # A) calling ancestor
     if not AutoConnectMixin.analyze_selection(): return False
     if not Immediate.analyze_selection(): return False
     # C) passed all tests:
     return True
コード例 #6
0
 def analyze_selection():
     # A) calling ancestor
     if not AutoConnectMixin.analyze_selection(): return False
     if not Immediate.analyze_selection(): return False
     # C) passed all tests:
     return True
コード例 #7
0
ファイル: bond.py プロジェクト: yuhangwang/zeobuilder
 def do(self):
     AutoConnectMixin.do(self, max([1, self.parameters.distance]))
コード例 #8
0
ファイル: bond.py プロジェクト: yuhangwang/zeobuilder
 def analyze_selection(parameters=None):
     # A) calling ancestor
     if not ImmediateWithMemory.analyze_selection(parameters): return False
     if not AutoConnectMixin.analyze_selection(): return False
     # C) passed all tests:
     return True
コード例 #9
0
ファイル: bond.py プロジェクト: yuhangwang/zeobuilder
 def do(self):
     AutoConnectMixin.do(self, bonds.max_length)
コード例 #10
0
ファイル: spring.py プロジェクト: woutersmet/Zeo_thesis
 def do(self):
     AutoConnectMixin.do(self, 2*periodic.max_radius)