RealVect & acceleration()
Real m_mass
Definition: Particle.H:110
void setMass(const Real a_mass)
set particle mass
void define(const Real a_mass, const RealVect &a_position, const RealVect &a_velocity=RealVect::Zero)
for non-default constructor
void setVelocity(const RealVect &a_velocity)
set velocity field
virtual void linearOut(void *buf) const
virtual bool operator==(const Particle &a_p) const
RealVect m_velocity
Definition: Particle.H:111
Definition: Particle.H:25
friend std::ostream & operator<<(std::ostream &ostr, const Particle &p)
virtual bool operator!=(const Particle &a_p) const
virtual int size() const
{ linearization functions}
void setAcceleration(const RealVect &a_velocity)
set acceleration field
virtual void linearIn(void *buf)
RealVect m_acceleration
Definition: Particle.H:112