IAPIPotential
public static class SimOverlapLJModule.APIPotentialTarget extends java.lang.Object implements IAPIPotential
Modifier and Type | Field | Description |
---|---|---|
protected double |
latticeEnergy |
|
protected PotentialMaster |
wrappedPotentialMaster |
Constructor | Description |
---|---|
APIPotentialTarget(PotentialMaster wrappedPotentialMaster) |
Modifier and Type | Method | Description |
---|---|---|
double |
calculateEnergy(Box box) |
Returns the potential energy of the given box.
|
double |
getLatticeEnergy() |
|
void |
setLatticeEnergy(double newLatticeEnergy) |
protected final PotentialMaster wrappedPotentialMaster
protected double latticeEnergy
public APIPotentialTarget(PotentialMaster wrappedPotentialMaster)
public double calculateEnergy(Box box)
IAPIPotential
calculateEnergy
in interface IAPIPotential
public double getLatticeEnergy()
public void setLatticeEnergy(double newLatticeEnergy)