AtomLeafAgentManager.AgentSource<IAtom>
public class ReactionEquilibrium extends Simulation implements AtomLeafAgentManager.AgentSource<IAtom>
Modifier and Type | Field | Description |
---|---|---|
P2SquareWellBonded |
AAbonded |
|
P2SquareWellBonded |
ABbonded |
|
IAtom[] |
agents |
|
P2SquareWellBonded |
BBbonded |
|
Box |
box |
|
java.awt.Component |
display |
|
boolean |
initializing |
|
IntegratorHard |
integratorHard1 |
|
MeterDimerFraction |
meterDimerFraction |
|
javax.swing.JPanel |
panel |
|
SimulationRestart |
restartAction |
|
SpeciesGeneral |
speciesA |
|
SpeciesGeneral |
speciesB |
|
MeterTemperature |
thermometer |
eventManager, random, seeds, space
Constructor | Description |
---|---|
ReactionEquilibrium() |
Modifier and Type | Method | Description |
---|---|---|
AtomLeafAgentManager<IAtom> |
getAgentManager() |
|
IAtom |
makeAgent(IAtom a,
Box agentBox) |
Implementation of Atom.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.
|
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 javax.swing.JPanel panel
public IntegratorHard integratorHard1
public java.awt.Component display
public Box box
public SimulationRestart restartAction
public boolean initializing
public MeterTemperature thermometer
public SpeciesGeneral speciesA
public SpeciesGeneral speciesB
public P2SquareWellBonded AAbonded
public P2SquareWellBonded ABbonded
public P2SquareWellBonded BBbonded
public MeterDimerFraction meterDimerFraction
public IAtom[] agents
public AtomLeafAgentManager<IAtom> getAgentManager()
public IAtom makeAgent(IAtom a, Box agentBox)
makeAgent
in interface AtomLeafAgentManager.AgentSource<IAtom>
a
- ignoredagentBox
- TODOpublic void releaseAgent(IAtom agent, IAtom atom, Box agentBox)
AtomLeafAgentManager.AgentSource
releaseAgent
in interface AtomLeafAgentManager.AgentSource<IAtom>