PotentialCalculation
public static class MeterEnergyMeanField.PotentialCalculationCSsum extends java.lang.Object implements PotentialCalculation
Modifier and Type | Field | Description |
---|---|---|
protected double[] |
nbrCsum |
|
protected double[] |
nbrSsum |
Constructor | Description |
---|---|
PotentialCalculationCSsum(double[] nbrCsum,
double[] nbrSsum) |
Modifier and Type | Method | Description |
---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Method giving the specific calculation performed by this class.
|
void |
reset() |
public PotentialCalculationCSsum(double[] nbrCsum, double[] nbrSsum)
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.public void reset()