MayerFunctionpublic class MayerFunctionSum extends java.lang.Object implements MayerFunction
| Modifier and Type | Field | Description |
|---|---|---|
protected double[] |
coefficients |
|
protected MayerFunction[] |
functions |
| Constructor | Description |
|---|---|
MayerFunctionSum(MayerFunction[] functions,
double[] coefficients) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
f(IMoleculeList pair,
double r2,
double beta) |
returns Mayer function between atoms in the pair at temperature
1/beta
|
IPotential |
getPotential() |
|
void |
setBox(Box box) |
protected final MayerFunction[] functions
protected final double[] coefficients
public MayerFunctionSum(MayerFunction[] functions, double[] coefficients)
public IPotential getPotential()
getPotential in interface MayerFunctionpublic void setBox(Box box)
setBox in interface MayerFunctionpublic double f(IMoleculeList pair, double r2, double beta)
MayerFunctionf in interface MayerFunctionr2 - TODO