PotentialCalculation
public class PotentialCalculationPhiSum extends java.lang.Object implements PotentialCalculation
Modifier and Type | Field | Description |
---|---|---|
protected AtomLeafAgentManager<MoleculeAgent> |
leafAgentManager |
Constructor | Description |
---|---|
PotentialCalculationPhiSum() |
Modifier and Type | Method | Description |
---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Method giving the specific calculation performed by this class.
|
void |
reset() |
|
void |
setAgentManager(AtomLeafAgentManager agentManager) |
protected AtomLeafAgentManager<MoleculeAgent> leafAgentManager
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 setAgentManager(AtomLeafAgentManager agentManager)
public void reset()