PotentialCalculationPotentialCalculationForcePressureSum, PotentialCalculationForcePressureSumGB, PotentialCalculationForceSumWall, PotentialCalculationForceSumWallForcepublic class PotentialCalculationForceSum extends java.lang.Object implements PotentialCalculation
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomLeafAgentManager<Vector> |
integratorAgentManager |
| Constructor | Description |
|---|---|
PotentialCalculationForceSum() |
| 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.
|
void |
reset() |
Re-zeros the force vectors.
|
void |
setAgentManager(AtomLeafAgentManager<Vector> agentManager) |
protected AtomLeafAgentManager<Vector> integratorAgentManager
public void setAgentManager(AtomLeafAgentManager<Vector> agentManager)
public void reset()
public void doCalculation(IAtomList atoms, IPotentialAtomic potential)
doCalculation in interface PotentialCalculationatoms - IAtomSet the atom sets for which the calculation is performed.potential - The potential used to apply the action defined by this class.