ClusterAbstract
ClusterCoupledAtomFlipped
public class ClusterCoupledFlipped extends java.lang.Object implements ClusterAbstract
Modifier and Type | Field | Description |
---|---|---|
protected long |
cPairID |
|
protected boolean[] |
flippedAtoms |
|
protected long |
lastCPairID |
|
protected double |
lastValue |
|
protected double |
minFlipDistance |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected Space |
space |
|
protected double |
value |
|
protected ClusterAbstract |
wrappedCluster |
Constructor | Description |
---|---|
ClusterCoupledFlipped(ClusterAbstract cluster,
Space space) |
cluster must have caching disabled
|
ClusterCoupledFlipped(ClusterAbstract cluster,
Space space,
double minFlipDistance) |
cluster must have caching disabled
configurations will be flipped when the minimum distance between any two molecules
exceeds minFlipDistance.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
flip(IMolecule flippedMolecule) |
|
ClusterAbstract |
getSubCluster() |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setTemperature(double temperature) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
protected final ClusterAbstract wrappedCluster
protected final Space space
protected long cPairID
protected long lastCPairID
protected double value
protected double lastValue
protected final boolean[] flippedAtoms
protected IMoleculePositionDefinition positionDefinition
protected final double minFlipDistance
public ClusterCoupledFlipped(ClusterAbstract cluster, Space space)
public ClusterCoupledFlipped(ClusterAbstract cluster, Space space, double minFlipDistance)
public ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
public int pointCount()
ClusterAbstract
pointCount
in interface ClusterAbstract
public ClusterAbstract getSubCluster()
public double value(BoxCluster box)
ClusterAbstract
value
in interface ClusterAbstract
protected void flip(IMolecule flippedMolecule)
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract