PotentialCalculation
public class PotentialCalculationDUDW extends java.lang.Object implements PotentialCalculation
Modifier and Type | Field | Description |
---|---|---|
protected double |
sum |
Constructor | Description |
---|---|
PotentialCalculationDUDW() |
Modifier and Type | Method | Description |
---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Method giving the specific calculation performed by this class.
|
double |
getSum() |
|
void |
reset() |
public void reset()
public double getSum()
public void doCalculation(IAtomList atoms, IPotentialAtomic potential)
PotentialCalculation
doCalculation
in interface PotentialCalculation
atoms
- IAtomSet the atom sets for which the calculation is performed.potential
- The potential used to apply the action defined by this class.