This class describes a 3D cell space whose components accept and produce CellEvent objects
This class is meant to be useful for solving PDEs, simulating
next event cell spaces, and other types of models represented as a space of
discrete interacting points.
Inheritance:
Public Methods
-
CellSpace(long int width, long int height = 1, long int depth = 1)
- Create an Width x Height x Depth CellSpace with NULL model entries in the cell locations
-
void add(Cell* model, long int x, long int y = 0, long int z = 0)
- Insert a model at the x,y,z position
-
const Cell* getModel(long int x, long int y = 0, long int z = 0) const
- Get the model at location x,y,z
-
Cell* getModel(long int x, long int y = 0, long int z = 0)
- Get a mutable version of the model at x,y,z
-
long int getWidth() const
- Get the width of the CellSpace
-
long int getHeight() const
- Get the height of the CellSpace
-
long int getDepth() const
- Get the depth of the CellSpace
-
void getComponents(Set<Cell*>& c)
-
void route(const CellEvent<X>& event, Cell* model, Bag<Event<CellEvent<X> > >& r)
-
~CellSpace()
- Destructor
Public Members
-
typedef Devs<CellEvent<X> > Cell
- A component model in the CellSpace
Inherited from Network:
Public Methods
-
Network<X> * typeIsNetwork()
Inherited from Devs:
Public Methods
-
virtual Atomic<X> * typeIsAtomic()
-
const Network<X> * getParent() const
-
Network<X> * getParent()
-
void setParent(Network<X>* parent)
-
virtual bool model_transition()
Documentation
This class describes a 3D cell space whose components accept and produce CellEvent objects
This class is meant to be useful for solving PDEs, simulating
next event cell spaces, and other types of models represented as a space of
discrete interacting points. Output events produced by component models must be of type CellEvent. The CellEvent (x,y,z) coordinate indicates the
target cell for the event. The corresponding input event will have the same (x,y,z) value as
the output event. Targets that are outside of the CellSpace will become external output
events for the CellSpace model. Similarly, CellEvent objects that are injected into the CellSpace (i.e., external input events) will be delivered the appropriate target cell.
typedef Devs<CellEvent<X> > Cell
- A component model in the CellSpace
CellSpace(long int width, long int height = 1, long int depth = 1)
- Create an Width x Height x Depth CellSpace with NULL model entries in the cell locations
void add(Cell* model, long int x, long int y = 0, long int z = 0)
- Insert a model at the x,y,z position
const Cell* getModel(long int x, long int y = 0, long int z = 0) const
- Get the model at location x,y,z
Cell* getModel(long int x, long int y = 0, long int z = 0)
- Get a mutable version of the model at x,y,z
long int getWidth() const
- Get the width of the CellSpace
long int getHeight() const
- Get the height of the CellSpace
long int getDepth() const
- Get the depth of the CellSpace
void getComponents(Set<Cell*>& c)
void route(const CellEvent<X>& event, Cell* model, Bag<Event<CellEvent<X> > >& r)
~CellSpace()
- Destructor
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.