.Simulation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
ParticleData.h
1 // ParticleData.h - Particle data structure declaration.
2 // Written by Jesse Z. Zhong
3 #ifndef __Particle_Data_H__
4 #define __Particle_Data_H__
5 #pragma region Includes
6 #include <ostream>
7 #include "Vector3.h"
8 using namespace std;
9 #pragma endregion
10 namespace DataReader {
14  struct ParticleData {
15 
18  int GasType;
19 
23  ParticleData();
24  };
25 }
26 
30 ostream& operator<<(ostream& out, DataReader::ParticleData& data);
31 
32 #endif // !__Particle_Data_H__
int GasType
The gas type of the particle.
Definition: ParticleData.h:18
Vector3< double > Position
The position of the particle.
Definition: ParticleData.h:16
Vector3< double > Velocity
The velocity of the particle.
Definition: ParticleData.h:17
ostream & operator<<(ostream &out, DataReader::DataSnapshot &data)
Out stream operator overload for snapshots.
Definition: DataSnapshot.cpp:350
Stores a single particle data point.
Definition: ParticleData.h:14