IAPIPotentialpublic static class SimOverlapLJModule.APIPotentialReference extends java.lang.Object implements IAPIPotential
| Modifier and Type | Field | Description |
|---|---|---|
protected MeterHarmonicEnergy[] |
meters |
| Constructor | Description |
|---|---|
APIPotentialReference(MeterHarmonicEnergy[] meters) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
calculateEnergy(Box box) |
Returns the potential energy of the given box.
|
protected final MeterHarmonicEnergy[] meters
public APIPotentialReference(MeterHarmonicEnergy[] meters)
public double calculateEnergy(Box box)
IAPIPotentialcalculateEnergy in interface IAPIPotential