ClusterAbstract
public class ClusterWheatleyMultibodyMix extends ClusterWheatleySoftMix
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
doMulti |
|
protected MayerFunctionNonAdditive[] |
fMap3 |
|
protected MayerFunctionNonAdditive[][][] |
mixFMulti3 |
|
protected int[] |
moleculeIndices |
|
protected MoleculeArrayList |
molecules |
|
protected boolean |
nonAdditiveOnly |
|
protected double[] |
r2 |
|
protected double |
rCut2 |
avgAbsCheck, avgAbsCheckBD, BDAccFrac, beta, clusterBD, countBD, cPairID, debug, doCaching, f, fA, fB, fC, fQ, lastCPairID, lastValue, n, nCheck, pushme, random, timeBD, tol, totCount, value
fMap, mixF, nTypes
Constructor | Description |
---|---|
ClusterWheatleyMultibodyMix(int nPoints,
int[] nTypes,
MayerFunction[][] f,
MayerFunctionNonAdditive[][][] fMulti3,
double tol,
boolean nonAddOnly) |
Constructs a cluster capable of handling mixtures of nonadditive
molecules.
|
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).
|
getAverageCheck, getAverageCheckBD, pointCount, setBDAccFrac, setDoCaching, setTemperature, value
updateF
protected final MayerFunctionNonAdditive[][][] mixFMulti3
protected final MayerFunctionNonAdditive[] fMap3
protected final int[] moleculeIndices
protected final double[] r2
protected final MoleculeArrayList molecules
protected boolean doMulti
protected boolean nonAdditiveOnly
protected double rCut2
public ClusterWheatleyMultibodyMix(int nPoints, int[] nTypes, MayerFunction[][] f, MayerFunctionNonAdditive[][][] fMulti3, double tol, boolean nonAddOnly)
nPoints
- total # of moleculesnTypes
- # of molecules of each typef
- 2D array of pair Mayer functions
(0-0, 0-1, 0-2..., 0-n),
(1-0, 1-1, 1-2..., 1-n)
...
(n-0, n-1, n-2..., n-n)fMulti3
- 3D array of 3-body Mayer functionspublic ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
makeCopy
in class ClusterWheatleySoftMix
public void calcValue(BoxCluster box)
ClusterWheatleySoft
calcValue
in class ClusterWheatleySoft
protected void calcFullFQ(BoxCluster box)
ClusterWheatleySoft
calcFullFQ
in class ClusterWheatleySoft