Definition: BaseParticle.h:54
virtual Mdouble getKineticEnergy() const
Calculates the particle's translational kinetic energy.
Definition: BaseParticle.cc:451
virtual Mdouble getRotationalEnergy() const
Calculates the particle's rotational kinetic energy.
Definition: BaseParticle.cc:460
Base class for all non-spherical particle types.
Definition: NonSphericalParticle.h:37
virtual Mdouble getKineticEnergy() const override
Definition: NonSphericalParticle.h:81
std::string getName() const override=0
NonSphericalParticle(const BaseParticle &p)
Base class copy constructor. Creates a NonSphericalParticle particle from a BaseParticle.
Definition: NonSphericalParticle.h:53
virtual Mdouble getRotationalEnergy() const override
Calculates the particle's rotational kinetic energy.
Definition: NonSphericalParticle.h:85
bool isSphericalParticle() const override
Definition: NonSphericalParticle.h:73
NonSphericalParticle()=default
NonSphericalParticle * copy() const override=0
NonSphericalParticle(const NonSphericalParticle &p)=default
~NonSphericalParticle() override=default