Public Member Functions | Protected Attributes | List of all members
DFfromUniversal Class Reference
Inheritance diagram for DFfromUniversal:
SDFfromUniversal

Public Member Functions

 DFfromUniversal (PortHole *p)
 
size_t FIFOsize () const
 
virtual void put (double time, Particle &p)
 
void transferToGeo (size_t pNum)
 
void transferToPort (size_t pNum)
 

Protected Attributes

size_t mFIFOSize
 
std::deque< Particle * > mParticleFIFO
 

Member Function Documentation

size_t DFfromUniversal::FIFOsize ( ) const
inline

Return number of particles in the FIFO channel.

void DFfromUniversal::put ( double  time,
Particle &  p 
)
virtual

Overloaded data transfer method. Takes the particle p and stores it in the FIFO channel.

void DFfromUniversal::transferToGeo ( size_t  pNum)

Take a number of particles from the fifo and push them to the associated dataflow geodesic This kind of transfer is used when the DF system resides within a wormhole.

void DFfromUniversal::transferToPort ( size_t  pNum)

Take a number of particles from the fifo and store them in the porthole buffer. Used if DF is the outside domain. In this case, the DFWormhole must behave like an ordinary DF star.