Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
Statistics.h
Go to the documentation of this file.
1 //
2 // Created by daniel on 29.06.24.
3 //
4 #pragma once
5 
8 
12 class Statistics {
13 private:
17 
18 
19 public:
25  explicit Statistics(int numberOfBins);
26 
34  void calculateVelocityAndDensityProfile(ParticleContainer& particles, std::array<double, 3> dimensions, double time);
35 };
36 
Definition: CSVWriter.h:12
Definition: ParticleContainer.h:11
Class for profiling the nano-scale flow.
Definition: Statistics.h:12
CSVWriter csvVelocityWriter
Definition: Statistics.h:14
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).
Definition: Statistics.cpp:12
int numberOfBins
Definition: Statistics.h:16
CSVWriter csvDensityWriter
Definition: Statistics.h:15
Statistics(int numberOfBins)
Construct a new statistic object.
Definition: Statistics.cpp:7
::xsd::cxx::tree::time< char, simple_type > time
C++ type corresponding to the time XML Schema built-in type.
Definition: vtk-unstructured.h:438