std::string getName() const
void read(std::istream &is)
virtual ThermalParticle * copy() const
Particle copy method. It calls to copy constructor of this Particle, useful for polymorfism.
Mdouble getTemperature() const
void write(std::ostream &os) const
ThermalParticle()
Basic Particle constructor, creates a particle at (0,0,0) with radius, mass and inertia equal to 1...
void addTemperature(Mdouble temperature)
virtual ~ThermalParticle()
Particle destructor, needs to be implemented and checked if it removes tangential spring information...
void setTemperature(Mdouble temperature)