ClusterAbstractClusterWheatleyMultibodyBD, ClusterWheatleySoftMixBDpublic class ClusterWheatleySoftBD extends java.lang.Object implements ClusterAbstract
| Modifier and Type | Field | Description |
|---|---|---|
static java.math.BigDecimal |
BDONE |
|
static java.math.BigDecimal |
BDZERO |
|
protected double |
beta |
|
protected long |
cPairID |
|
protected boolean |
doCaching |
|
protected MayerFunction |
f |
|
protected java.math.BigDecimal[] |
fA |
|
protected java.math.BigDecimal[] |
fB |
|
protected java.math.BigDecimal[] |
fC |
|
protected java.math.BigDecimal[] |
fQ |
|
protected long |
lastCPairID |
|
protected double |
lastValue |
|
protected java.math.MathContext |
mc |
|
protected int |
n |
|
static boolean |
pushme |
|
protected double |
tol |
|
protected double |
value |
| Constructor | Description |
|---|---|
ClusterWheatleySoftBD(int nPoints,
MayerFunction f,
int precision) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
calcFullFQ(BoxCluster box) |
This calculates all FQ values given that the entries for pairs have
already been populated.
|
void |
calcValue(BoxCluster box) |
Returns the cluster value for the given configuration.
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setDoCaching(boolean newDoCaching) |
|
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 final int n
protected final MayerFunction f
protected final java.math.BigDecimal[] fQ
protected final java.math.BigDecimal[] fC
protected final java.math.BigDecimal[] fA
protected final java.math.BigDecimal[] fB
protected long cPairID
protected long lastCPairID
protected double value
protected double lastValue
protected double beta
public static boolean pushme
public static java.math.BigDecimal BDONE
public static java.math.BigDecimal BDZERO
protected final java.math.MathContext mc
protected double tol
protected boolean doCaching
public ClusterWheatleySoftBD(int nPoints,
MayerFunction f,
int precision)
public void setDoCaching(boolean newDoCaching)
public ClusterAbstract makeCopy()
ClusterAbstractmakeCopy in interface ClusterAbstractpublic int pointCount()
ClusterAbstractpointCount in interface ClusterAbstractpublic double value(BoxCluster box)
ClusterAbstractvalue in interface ClusterAbstractprotected void calcFullFQ(BoxCluster box)
public void calcValue(BoxCluster box)
protected void updateF(BoxCluster box)
public void setTemperature(double temperature)
setTemperature in interface ClusterAbstract