Molecular Dynamics Simulation
1.0
|
#include <array>
#include <random>
Go to the source code of this file.
Functions | |
std::array< double, 3 > | maxwellBoltzmannDistributedVelocity (double averageVelocity, size_t dimensions) |
std::array<double, 3> maxwellBoltzmannDistributedVelocity | ( | double | averageVelocity, |
size_t | dimensions | ||
) |
MaxwellBoltzmannDistribution.h
averageVelocity | The average velocity of the brownian motion for the system. |
dimensions | Number of dimensions for which the velocity vector shall be generated. Set this to 2 or 3. |
Definition at line 3 of file MaxwellBoltzmannDistribution.cpp.