ClusterAbstractpublic 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, valuefMap, 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, valueupdateFprotected 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()
ClusterAbstractmakeCopy in interface ClusterAbstractmakeCopy in class ClusterWheatleySoftMixpublic void calcValue(BoxCluster box)
ClusterWheatleySoftcalcValue in class ClusterWheatleySoftprotected void calcFullFQ(BoxCluster box)
ClusterWheatleySoftcalcFullFQ in class ClusterWheatleySoft