MayerFunction
public 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 MayerFunction
public void setBox(Box box)
setBox
in interface MayerFunction
public double f(IMoleculeList pair, double r2, double beta)
MayerFunction
f
in interface MayerFunction
r2
- TODO