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 )
def getFusedREv(self, initval, pl): initServ = InitValService() N = pl.getInterN() return initServ.getREv(initval, N)