コード例 #1
0
ファイル: particleService.py プロジェクト: wyrnat/KSoPS
 def setClusterRev(self, initval, cluster, coalescenceList):
     """
     Gets the interface Atoms of the clusters
     associated with a coalescence group and
     calculates the event radius
     """
     initServ = InitValService()
     R = cluster.getR()
     liste = coalescenceList.findCluster(cluster)
     N = liste.getInterN()
     rev = initServ.getREv(initval, N)
     cluster.setREv( rev / numpy.power(3, N-1) + R )
コード例 #2
0
ファイル: particleService.py プロジェクト: wyrnat/KSoPS
 def getFusedREv(self, initval, pl):
     initServ = InitValService()
     N = pl.getInterN()
     return initServ.getREv(initval, N)