ClusterAbstract, java.io.SerializableClusterSumAssociation, ClusterSumEF, ClusterSumExternalField, ClusterSumHS, ClusterSumIC, ClusterSumMultibody, ClusterSumShellpublic class ClusterSum extends java.lang.Object implements ClusterAbstract, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
beta |
|
protected ClusterBonds[] |
clusters |
|
protected double[] |
clusterWeights |
|
protected long |
cPairID |
|
protected static boolean |
debug |
|
protected boolean |
doCaching |
|
protected MayerFunction[] |
f |
|
protected double[][] |
fOld |
|
protected int[][][] |
fullBondIndexArray |
|
protected double[][][] |
fValues |
|
protected long |
lastCPairID |
|
protected double |
lastValue |
|
protected double |
value |
| Constructor | Description |
|---|---|
ClusterSum(ClusterBonds[] subClusters,
double[] subClusterWeights,
MayerFunction[] fArray) |
Constructor for ClusterSum.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
calcValue() |
|
ClusterBonds[] |
getClusters() |
|
double[][][] |
getFValues() |
|
double |
getTemperature() |
|
double[] |
getWeights() |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setCaching(boolean doCaching) |
|
void |
setTemperature(double temperature) |
|
protected void |
updateF(BoxCluster box) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
protected static final boolean debug
protected final ClusterBonds[] clusters
protected final double[] clusterWeights
protected int[][][] fullBondIndexArray
protected final MayerFunction[] f
protected double[][][] fValues
protected final double[][] fOld
protected long cPairID
protected long lastCPairID
protected double value
protected double lastValue
protected double beta
protected boolean doCaching
public ClusterSum(ClusterBonds[] subClusters, double[] subClusterWeights, MayerFunction[] fArray)
public void setCaching(boolean doCaching)
public int pointCount()
ClusterAbstractpointCount in interface ClusterAbstractpublic ClusterAbstract makeCopy()
ClusterAbstractmakeCopy in interface ClusterAbstractpublic double value(BoxCluster box)
ClusterAbstractvalue in interface ClusterAbstractprotected void calcValue()
protected void updateF(BoxCluster box)
public ClusterBonds[] getClusters()
public double[] getWeights()
public double getTemperature()
public void setTemperature(double temperature)
setTemperature in interface ClusterAbstracttemperature - The temperature to set.public double[][][] getFValues()