public class MeterFlux extends java.lang.Object implements IEtomicaDataSource, MoleculeAgentManager.MoleculeAgentSource
Modifier and Type | Field and Description |
---|---|
protected MoleculeAgentManager |
agentManager |
protected double[] |
boundaries |
protected int[] |
boundaryCoefficients |
protected IBox |
box |
protected DataDouble |
data |
protected DataDouble.DataInfoDouble |
dataInfo |
protected int |
dim |
protected IntegratorBox |
integrator |
protected long |
oldStep |
protected double |
oldTime |
protected IAtomPositionDefinition |
positionDefinition |
protected ISimulation |
sim |
protected ISpecies[] |
species |
protected DataTag |
tag |
Constructor and Description |
---|
MeterFlux(ISimulation sim,
ISpace _space) |
Modifier and Type | Method and Description |
---|---|
double[] |
getBoundaries() |
IBox |
getBox() |
IData |
getData() |
IEtomicaDataInfo |
getDataInfo() |
int |
getDim() |
java.lang.Class |
getMoleculeAgentClass()
Returns the Class of the agent.
|
ISpecies[] |
getSpecies() |
DataTag |
getTag() |
java.lang.Object |
makeAgent(IMolecule a)
Returns an agent for the given Atom.
|
void |
releaseAgent(java.lang.Object agent,
IMolecule atom)
This informs the agent source that the agent is going away and that
the agent source should disconnect the agent from other elements
|
void |
setBoundaries(int newDim,
double[] newBoundaries,
int[] newBoundaryCoefficients) |
void |
setBox(IBox newBox) |
void |
setIntegrator(IntegratorBox newIntegrator) |
void |
setSpecies(ISpecies[] newSpecies) |
protected final ISimulation sim
protected final DataDouble data
protected DataDouble.DataInfoDouble dataInfo
protected final DataTag tag
protected ISpecies[] species
protected IBox box
protected double[] boundaries
protected int[] boundaryCoefficients
protected int dim
protected MoleculeAgentManager agentManager
protected IntegratorBox integrator
protected double oldTime
protected long oldStep
protected IAtomPositionDefinition positionDefinition
public MeterFlux(ISimulation sim, ISpace _space)
public void setBoundaries(int newDim, double[] newBoundaries, int[] newBoundaryCoefficients)
public int getDim()
public double[] getBoundaries()
public void setSpecies(ISpecies[] newSpecies)
public ISpecies[] getSpecies()
public void setBox(IBox newBox)
public IBox getBox()
public void setIntegrator(IntegratorBox newIntegrator)
public IData getData()
getData
in interface IDataSource
public IEtomicaDataInfo getDataInfo()
getDataInfo
in interface IEtomicaDataSource
public DataTag getTag()
getTag
in interface IEtomicaDataSource
public java.lang.Class getMoleculeAgentClass()
etomica.atom.MoleculeAgentManager.MoleculeAgentSource
getMoleculeAgentClass
in interface MoleculeAgentManager.MoleculeAgentSource
public java.lang.Object makeAgent(IMolecule a)
etomica.atom.MoleculeAgentManager.MoleculeAgentSource
makeAgent
in interface MoleculeAgentManager.MoleculeAgentSource
public void releaseAgent(java.lang.Object agent, IMolecule atom)
etomica.atom.MoleculeAgentManager.MoleculeAgentSource
releaseAgent
in interface MoleculeAgentManager.MoleculeAgentSource