Declaration of a generic particle class.
Implementation of CD_PointParticle.H.
A generic particle class, holding the position and a specified number of real and vector values.
Definition: CD_GenericParticle.H:33
A particle class that only has a position and a weight.
Definition: CD_PointParticle.H:29
PointParticle()
Default constructor. Sets weight and position to zero.
Definition: CD_PointParticleImplem.H:19
virtual ~PointParticle()
Dtor - does nothing.
Definition: CD_PointParticleImplem.H:27
void define(const RealVect a_position, const Real a_weight)
Full define function.
Definition: CD_PointParticleImplem.H:31
Real & weight()
Get weight.
Definition: CD_PointParticleImplem.H:38