step/stepcore
gas.h
Go to the documentation of this file.
45 explicit GasParticle(Vector2d position = Vector2d::Zero(), Vector2d velocity = Vector2d::Zero(), double mass = 1)
198 void setMeasureRectCenter(const Vector2d& measureRectCenter) { _measureRectCenter = measureRectCenter; }
201 void setMeasureRectSize(const Vector2d& measureRectSize) { _measureRectSize = measureRectSize.cwise().abs(); }
double rectTemperatureVariance() const
Definition: gas.cc:457
double rectMeanKineticEnergyVariance() const
Definition: gas.cc:398
void addParticles(const GasParticleList &particles)
Definition: gas.cc:203
GasParticleList rectCreateParticles(int count, double mass, double temperature, const Vector2d &meanVelocity)
Creates particles with given temperature.
Definition: gas.cc:183
GasParticle(Vector2d position=Vector2d::Zero(), Vector2d velocity=Vector2d::Zero(), double mass=1)
Constructs a GasParticle.
Definition: gas.h:45
Item, Body, Force and Tool interfaces, World class.
GasLJForce(double depth=1, double rmin=1, double cutoff=HUGE_VAL)
Constructs GasLJForce.
void setMeasureRectSize(const Vector2d &measureRectSize)
Definition: gas.h:201
Lennard-Jones force with cut-off which acts between particles in the Gas.
Definition: gas.h:99
Vector2d rectMeanVelocityVariance() const
Definition: gas.cc:347
double rectMeanParticleMassVariance() const
Definition: gas.cc:251
Particle and ChargedParticle classes.
void setRmin(double rmin)
Set distance at which the interparticle force is zero.
Definition: gas.h:117
GasLJForceErrors * gasLJForceErrors()
Get (and possibly create) GasLJForceErrors object.
Definition: gas.h:125
void setMeasureRectCenter(const Vector2d &measureRectCenter)
Definition: gas.h:198
double randomGauss(double mean=0, double deviation=1)
Definition: gas.cc:168
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.