Molecular Dynamics Simulation
1.0
src
utils
MaxwellBoltzmannDistribution.h
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <array>
11
#include <random>
12
20
std::array<double, 3>
maxwellBoltzmannDistributedVelocity
(
double
averageVelocity
,
size_t
dimensions);
maxwellBoltzmannDistributedVelocity
std::array< double, 3 > maxwellBoltzmannDistributedVelocity(double averageVelocity, size_t dimensions)
Definition:
MaxwellBoltzmannDistribution.cpp:3
averageVelocity
std::array< double, 3 > averageVelocity(const std::unique_ptr< ParticleContainer > &particle_container)
Definition:
RelativeThermostat.cpp:10
Generated by
1.9.1