AtomLeafAgentManager.AgentSource<IAtom[]>
public class FreeRadicalPolymerizationSim extends Simulation implements AtomLeafAgentManager.AgentSource<IAtom[]>
Modifier and Type | Field | Description |
---|---|---|
AtomLeafAgentManager<IAtom[]> |
agentManager |
|
Box |
box |
|
ConfigurationLatticeFreeRadical |
config |
|
java.awt.Component |
display |
|
IntegratorHard |
integratorHard |
|
P2SquareWellBonded |
p2AA |
|
P2SquareWellRadical |
p2AB |
|
P2SquareWellRadical |
p2BB |
|
PotentialMaster |
potentialMaster |
|
SpeciesGeneral |
speciesA |
|
SpeciesGeneral |
speciesB |
eventManager, random, seeds, space
Constructor | Description |
---|---|
FreeRadicalPolymerizationSim() |
|
FreeRadicalPolymerizationSim(Space space) |
Modifier and Type | Method | Description |
---|---|---|
AtomLeafAgentManager<IAtom[]> |
getAgentManager() |
|
IAtom[] |
makeAgent(IAtom a,
Box agentBox) |
Implementation of AtomAgentManager.AgentSource interface.
|
void |
releaseAgent(IAtom[] agent,
IAtom atom,
Box agentBox) |
This informs the agent source that the agent is going away and that
the agent source should disconnect the agent from other elements.
|
void |
resetBonds() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBox, addSpecies, box, getBox, getBoxCount, getBoxes, getController, getEventManager, getIntegrator, getRandom, getRandomSeeds, getSpace, getSpecies, getSpeciesCount, getSpeciesList, makeBox, makeBox, makeUniqueElementSymbol, removeBox, setRandom, species
public final PotentialMaster potentialMaster
public final ConfigurationLatticeFreeRadical config
public IntegratorHard integratorHard
public java.awt.Component display
public Box box
public SpeciesGeneral speciesA
public SpeciesGeneral speciesB
public P2SquareWellBonded p2AA
public P2SquareWellRadical p2AB
public P2SquareWellRadical p2BB
public AtomLeafAgentManager<IAtom[]> agentManager
public FreeRadicalPolymerizationSim()
public FreeRadicalPolymerizationSim(Space space)
public void resetBonds()
public IAtom[] makeAgent(IAtom a, Box agentBox)
makeAgent
in interface AtomLeafAgentManager.AgentSource<IAtom[]>
agentBox
- TODOpublic void releaseAgent(IAtom[] agent, IAtom atom, Box agentBox)
AtomLeafAgentManager.AgentSource
releaseAgent
in interface AtomLeafAgentManager.AgentSource<IAtom[]>
public AtomLeafAgentManager<IAtom[]> getAgentManager()