IDataSource
, MoleculeAgentManager.MoleculeAgentSource<Vector>
public class MeterFlux extends java.lang.Object implements IDataSource, MoleculeAgentManager.MoleculeAgentSource<Vector>
Modifier and Type | Field | Description |
---|---|---|
protected MoleculeAgentManager<Vector> |
agentManager |
|
protected double[] |
boundaries |
|
protected int[] |
boundaryCoefficients |
|
protected Box |
box |
|
protected DataDouble |
data |
|
protected DataDouble.DataInfoDouble |
dataInfo |
|
protected int |
dim |
|
protected IntegratorBox |
integrator |
|
protected long |
oldStep |
|
protected double |
oldTime |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected Simulation |
sim |
|
protected ISpecies[] |
species |
|
protected DataTag |
tag |
Constructor | Description |
---|---|
MeterFlux(Simulation sim,
Space _space) |
Modifier and Type | Method | Description |
---|---|---|
double[] |
getBoundaries() |
|
Box |
getBox() |
|
IData |
getData() |
|
IDataInfo |
getDataInfo() |
|
int |
getDim() |
|
ISpecies[] |
getSpecies() |
|
DataTag |
getTag() |
|
Vector |
makeAgent(IMolecule a) |
Returns an agent for the given Atom.
|
void |
releaseAgent(Vector 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(Box newBox) |
|
void |
setIntegrator(IntegratorBox newIntegrator) |
|
void |
setSpecies(ISpecies[] newSpecies) |
protected final Simulation sim
protected final DataDouble data
protected DataDouble.DataInfoDouble dataInfo
protected final DataTag tag
protected ISpecies[] species
protected Box box
protected double[] boundaries
protected int[] boundaryCoefficients
protected int dim
protected MoleculeAgentManager<Vector> agentManager
protected IntegratorBox integrator
protected double oldTime
protected long oldStep
protected IMoleculePositionDefinition positionDefinition
public MeterFlux(Simulation sim, Space _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(Box newBox)
public Box getBox()
public void setIntegrator(IntegratorBox newIntegrator)
public IData getData()
getData
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public Vector makeAgent(IMolecule a)
MoleculeAgentManager.MoleculeAgentSource
makeAgent
in interface MoleculeAgentManager.MoleculeAgentSource<Vector>
public void releaseAgent(Vector agent, IMolecule atom)
MoleculeAgentManager.MoleculeAgentSource
releaseAgent
in interface MoleculeAgentManager.MoleculeAgentSource<Vector>