IPotentialCalculationWallForce, PotentialCalculationpublic class PotentialCalculationForceSumWallForce extends PotentialCalculationForceSum implements IPotentialCalculationWallForce
| Modifier and Type | Field | Description |
|---|---|---|
protected IPotential |
potentialTether |
|
protected double |
wallForce |
integratorAgentManager| Constructor | Description |
|---|---|
PotentialCalculationForceSumWallForce(IPotential potentialTether) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Adds forces and torques due to given potential acting on the atoms produced by the iterator.
|
double |
getWallForce() |
|
void |
reset() |
Re-zeros the force vectors.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetAgentManagerprotected final IPotential potentialTether
protected double wallForce
public PotentialCalculationForceSumWallForce(IPotential potentialTether)
public void reset()
reset in class PotentialCalculationForceSumpublic double getWallForce()
getWallForce in interface IPotentialCalculationWallForcepublic void doCalculation(IAtomList atoms, IPotentialAtomic potential)
doCalculation 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.