PotentialCalculationpublic class PotentialCalculationForceSumWall extends PotentialCalculationForceSum
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
wallForceSum |
|
protected P1WCAWall |
wallPotential |
integratorAgentManager| Constructor | Description |
|---|---|
PotentialCalculationForceSumWall(P1WCAWall wallPotential) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Adds forces due to given potential acting on the atoms produced by the iterator.
|
double |
getWallForce() |
|
P1WCAWall |
getWallPotential() |
|
void |
reset() |
Re-zeros the force vectors.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetAgentManagerprotected final P1WCAWall wallPotential
protected double wallForceSum
public PotentialCalculationForceSumWall(P1WCAWall wallPotential)
public P1WCAWall getWallPotential()
public void reset()
PotentialCalculationForceSumreset in class PotentialCalculationForceSumpublic double getWallForce()
public void doCalculation(IAtomList atoms, IPotentialAtomic potential)
PotentialCalculationForceSumdoCalculation in interface PotentialCalculationdoCalculation in class PotentialCalculationForceSumatoms - IAtomSet the atom sets for which the calculation is performed.potential - The potential used to apply the action defined by this class.