17 #include "NamespaceHeader.H" 73 virtual int size()
const;
80 virtual void linearOut(
void* a_buf)
const;
97 virtual void print()
const;
107 #include "NamespaceFooter.H" virtual int size() const
Number of bytes used by linearIn()/linearOut()
virtual void define(const RealVect &a_position)
Same as the constructor.
virtual void print() const
Write a human-readable version to stdout (for debugging)
BinItem()
Null constructor, copy constructor and operator= can be compiler defined.
friend std::ostream & operator<<(std::ostream &ostr, const BinItem &a_item)
virtual void linearIn(void *a_buf)
Extract a serialized (packed) representation from a_buf.
virtual bool operator!=(const BinItem &a_p) const
Inequality operator.
double Real
Definition: REAL.H:33
RealVect m_position
this is the position in space of this item
Definition: BinItem.H:102
void setPosition(const RealVect &a_position)
Change the position.
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
virtual ~BinItem()
Destructor.
Virtual base class for particle data.
Definition: BinItem.H:28
virtual bool operator==(const BinItem &a_p) const
Equality operator. Checks whether two BinItems have equal data.
virtual void linearOut(void *a_buf) const
Write a serialized (packed) representation into a_buf.
int preAllocatable()
Definition: BinItem.H:89
RealVect & position()
Return a reference to the position.