ClusterAbstract
, ClusterAbstractMultivalue
ClusterWheatleyMultibodyDerivativesBD
, ClusterWheatleySoftDerivativesMixBD
public class ClusterWheatleySoftDerivativesBD extends java.lang.Object implements ClusterAbstract, ClusterAbstractMultivalue
Modifier and Type | Class | Description |
---|---|---|
static class |
ClusterWheatleySoftDerivativesBD.ClusterRetrievePrimes |
Modifier and Type | Field | Description |
---|---|---|
protected java.math.BigDecimal |
BDbeta |
|
static java.math.BigDecimal |
BDONE |
|
static java.math.BigDecimal |
BDZERO |
|
protected double |
beta |
|
protected java.math.BigDecimal[][] |
binomial |
|
protected ClusterWheatleySoftDerivativesBD |
clusterBDBD |
|
protected long |
cPairID |
|
protected boolean |
debug |
|
protected boolean |
doCaching |
|
protected static java.math.BigDecimal |
E |
|
protected java.util.ArrayList<java.math.BigDecimal> |
Epow |
|
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 |
|
protected int |
nDer |
|
protected int |
precisionLimit |
|
static boolean |
pushme |
|
protected double |
rCut2 |
|
protected double |
tol |
|
protected double[] |
value |
Constructor | Description |
---|---|
ClusterWheatleySoftDerivativesBD(int nPoints,
MayerFunction f,
int precision,
int nDer) |
Modifier and Type | Method | Description |
---|---|---|
protected java.math.BigDecimal |
BDexp(java.math.BigDecimal val) |
|
protected java.math.BigDecimal |
BDExpInternal(java.math.BigDecimal val) |
|
protected java.math.BigDecimal |
BDlog(java.math.BigDecimal val) |
|
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.
|
double[] |
getAllLastValues(BoxCluster box) |
|
int |
getNumValues() |
|
void |
makeClusterBDBD(int newPrecision) |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setDoCaching(boolean newDoCaching) |
|
void |
setPrecisionLimit(int newLimit) |
|
void |
setRCut(double newRCut) |
|
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 int nDer
protected final java.math.BigDecimal[][] fQ
protected final java.math.BigDecimal[][] fC
protected final java.math.BigDecimal[][] fA
protected final java.math.BigDecimal[][] fB
public static java.math.BigDecimal BDONE
public static java.math.BigDecimal BDZERO
protected final java.math.MathContext mc
protected long cPairID
protected long lastCPairID
protected final double[] value
protected final double[] lastValue
protected double beta
public static boolean pushme
protected double tol
protected ClusterWheatleySoftDerivativesBD clusterBDBD
protected boolean debug
protected boolean doCaching
protected final java.math.BigDecimal[][] binomial
protected java.math.BigDecimal BDbeta
protected int precisionLimit
protected double rCut2
protected static java.math.BigDecimal E
protected final java.util.ArrayList<java.math.BigDecimal> Epow
public ClusterWheatleySoftDerivativesBD(int nPoints, MayerFunction f, int precision, int nDer)
public void makeClusterBDBD(int newPrecision)
public void setPrecisionLimit(int newLimit)
public void setDoCaching(boolean newDoCaching)
public ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
public int pointCount()
ClusterAbstract
pointCount
in interface ClusterAbstract
public double value(BoxCluster box)
ClusterAbstract
value
in interface ClusterAbstract
protected java.math.BigDecimal BDexp(java.math.BigDecimal val)
protected java.math.BigDecimal BDExpInternal(java.math.BigDecimal val)
protected java.math.BigDecimal BDlog(java.math.BigDecimal val)
protected void calcFullFQ(BoxCluster box)
public void setRCut(double newRCut)
public void calcValue(BoxCluster box)
protected void updateF(BoxCluster box)
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract
public int getNumValues()
getNumValues
in interface ClusterAbstractMultivalue
public double[] getAllLastValues(BoxCluster box)
getAllLastValues
in interface ClusterAbstractMultivalue