ClusterAbstractpublic class ClusterSumShell extends ClusterSum
| Modifier and Type | Field | Description |
|---|---|---|
protected ClusterSum |
coreCluster |
beta, clusters, clusterWeights, cPairID, debug, doCaching, f, fOld, fullBondIndexArray, fValues, lastCPairID, lastValue, value| Constructor | Description |
|---|---|
ClusterSumShell(ClusterSum coreCluster,
ClusterBonds[] subClusters,
double[] subClusterWeights,
MayerFunction[] f) |
Constructs a cluster (shell) that depends on another ClusterSum instance
(the core) to do the actual work of calculating all the f values.
|
| Modifier and Type | Method | Description |
|---|---|---|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
protected void |
updateF(BoxCluster box) |
calcValue, getClusters, getFValues, getTemperature, getWeights, pointCount, setCaching, setTemperature, valueprotected final ClusterSum coreCluster
public ClusterSumShell(ClusterSum coreCluster, ClusterBonds[] subClusters, double[] subClusterWeights, MayerFunction[] f)
public ClusterAbstract makeCopy()
ClusterAbstractmakeCopy in interface ClusterAbstractmakeCopy in class ClusterSumprotected void updateF(BoxCluster box)
updateF in class ClusterSum