ClusterAbstract
, java.io.Serializable
public class ClusterSumNonAdditiveTrimerEnergy extends java.lang.Object implements ClusterAbstract, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected AtomArrayList |
atoms |
|
protected double |
deltaCut2 |
|
double |
pushR2 |
Constructor | Description |
---|---|
ClusterSumNonAdditiveTrimerEnergy(ClusterBonds[] subClusters,
double[] subClusterWeights,
MayerFunction[] fArray,
Potential p3NonAdd) |
Adapted by Kate from ClusterSumPolarizable (simplification for nonadditive trimer energy only).
|
Modifier and Type | Method | Description |
---|---|---|
ClusterBonds[] |
getClusters() |
|
double |
getDeltaCut() |
|
double |
getTemperature() |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setDeltaCut(double newDeltaDCut) |
|
void |
setNo72B2B3NonAdd(boolean no72B2B3NonAdd) |
|
void |
setTemperature(double temperature) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
protected final AtomArrayList atoms
protected double deltaCut2
public double pushR2
public ClusterSumNonAdditiveTrimerEnergy(ClusterBonds[] subClusters, double[] subClusterWeights, MayerFunction[] fArray, Potential p3NonAdd)
public int pointCount()
ClusterAbstract
pointCount
in interface ClusterAbstract
public ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
public double value(BoxCluster box)
ClusterAbstract
value
in interface ClusterAbstract
public ClusterBonds[] getClusters()
public double getTemperature()
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract
temperature
- The temperature to set.public void setDeltaCut(double newDeltaDCut)
public double getDeltaCut()
public void setNo72B2B3NonAdd(boolean no72B2B3NonAdd)