ClusterAbstractpublic class ClusterSumIC extends ClusterSum
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ClusterSumIC.FR2 |
| Modifier and Type | Field | Description |
|---|---|---|
protected MayerFunction[] |
f12 |
|
protected double[] |
lastSubClusterValues |
|
protected double[] |
subClusterValues |
beta, clusters, clusterWeights, cPairID, debug, doCaching, f, fOld, fullBondIndexArray, fValues, lastCPairID, lastValue, value| Constructor | Description |
|---|---|
ClusterSumIC(ClusterBonds[] subClusters,
double[] subClusterWeights,
MayerFunction[] fArray,
MayerFunction[] f12) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
calcValue() |
|
int |
getNumValues() |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
double |
value12(int i) |
getClusters, getFValues, getTemperature, getWeights, pointCount, setCaching, setTemperature, updateFprotected final MayerFunction[] f12
protected final double[] subClusterValues
protected final double[] lastSubClusterValues
public ClusterSumIC(ClusterBonds[] subClusters, double[] subClusterWeights, MayerFunction[] fArray, MayerFunction[] f12)
subClusters - array of clusters corresponding to distribution functionssubClusterWeights - weights for the clustersfArray - Mayer functions used in the clusters. the last one should be an
instance of FR2. each subCluster should have an FR2 bond between the
first two points.f12 - array of Mayer functions (between the first two points) for each clusterpublic ClusterAbstract makeCopy()
ClusterAbstractmakeCopy in interface ClusterAbstractmakeCopy in class ClusterSumpublic int getNumValues()
public double value12(int i)
public double value(BoxCluster box)
ClusterAbstractvalue in interface ClusterAbstractvalue in class ClusterSumprotected void calcValue()
calcValue in class ClusterSum