Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Definition: BaseParticle.h:33
virtual Mdouble getKineticEnergy() const
Calculates the particle's translational kinetic energy.
Definition: BaseParticle.cc:446
virtual Mdouble getRotationalEnergy() const
Calculates the particle's rotational kinetic energy.
Definition: BaseParticle.cc:455
Base class for all non-spherical particle types.
Definition: NonSphericalParticle.h:16
virtual Mdouble getSurfaceArea() const override
Definition: NonSphericalParticle.h:71
virtual Mdouble getKineticEnergy() const override
Definition: NonSphericalParticle.h:60
std::string getName() const override=0
NonSphericalParticle(const BaseParticle &p)
Base class copy constructor. Creates a NonSphericalParticle particle from a BaseParticle.
Definition: NonSphericalParticle.h:32
virtual Mdouble getRotationalEnergy() const override
Calculates the particle's rotational kinetic energy.
Definition: NonSphericalParticle.h:64
bool isSphericalParticle() const override
Definition: NonSphericalParticle.h:52
NonSphericalParticle()=default
NonSphericalParticle * copy() const override=0
NonSphericalParticle(const NonSphericalParticle &p)=default
~NonSphericalParticle() override=default