|
Molecular Dynamics
v0.4
Project for the Practical hosted by the Scientific Computing Chair
|
Class for profiling the nano-scale flow. More...
#include <Statistics.h>

Public Member Functions | |
| Statistics (int numberOfBins) | |
| Construct a new statistic object. More... | |
| void | calculateVelocityAndDensityProfile (ParticleContainer &particles, std::array< double, 3 > dimensions, double time) |
| Calculate velocity and density profile and write it to two csv file (each profile has its own file). More... | |
Private Attributes | |
| CSVWriter | csvVelocityWriter |
| CSVWriter | csvDensityWriter |
| int | numberOfBins |
Class for profiling the nano-scale flow.
|
explicit |
Construct a new statistic object.
| numberOfBins | Number of bins into which the x-axis is divided. |
| void Statistics::calculateVelocityAndDensityProfile | ( | ParticleContainer & | particles, |
| std::array< double, 3 > | dimensions, | ||
| double | time | ||
| ) |
Calculate velocity and density profile and write it to two csv file (each profile has its own file).
| particles | Particles to profile. |
| dimensions | Dimensions of the domain {x,y,z}. |
| time | Current time in the simulation. |

|
private |
|
private |
|
private |