![]() |
.Simulation
|
Public Types | |
|
typedef boost::multi_array < double, 2 > | Real2d |
|
typedef boost::multi_array < double, 1 > | Real1d |
|
typedef boost::multi_array < int, 2 > | Int2d |
|
typedef boost::multi_array < int, 1 > | Int1d |
|
typedef boost::multi_array < DoubleVector, 2 > | Vector2d |
Public Member Functions | |
| Statistics (const InfoStruct &info, const int bins, const int collisions) | |
| double | CollisionDistanceQuantile (const double p) |
| Given a probability p, compute the quantile that corresponds to that probability. More... | |
| void | RegisterCollision (CollisionRecord &rec) |
| template<typename Iter > | |
| void | ComputeStatistics (Iter begin, const Iter end, const double radius) |
| template<typename Stream > | |
| void | WriteCollisions (Stream &stream) const |
| template<typename Writer > | |
| void | WriteStatistics (Writer &writer) const |
Public Attributes | |
| const InfoStruct & | Info |
| const int | Bins |
| const int | CollisionNum |
| unsigned long long | TotalCollisions |
| number of collision events | |
| unsigned long long | TotalCellCrossings |
| number of cell crossing events | |
| unsigned long long | TotalWallCollisions |
| number of wall collision events | |
| unsigned long long | TotalConeBoundaryCollisions |
| number of boundary collisions | |
| double | FusionRate |
| number of fusions that have occurred | |
| double | MaxCollisionEnergy |
| std::map< std::pair< int, int > , double > | MaxCollisionEnergySpecies |
| Largest collision energy by the types of collision partners. More... | |
| double | KineticEnergyPerAtom |
| double | CurrentRadius |
| boost::circular_buffer < CollisionRecord > | Collisions |
| Collision records. More... | |
| Int1d | TotalAtomsPerBin |
| Int2d | AtomsPerBin |
| Int2d | ChargePerBin |
| Real2d | VelocitySquaredPerBin |
| Real2d | RadialVelocityPerBin |
| Real2d | MaxTemperature |
| Max temp at each bin. More... | |
| Real2d | ThermalVelocitySquared |
| Vector2d | VelocityCoM |
| double MDSimulation::Statistics::CollisionDistanceQuantile | ( | const double | p | ) |
Given a probability p, compute the quantile that corresponds to that probability.
That is to say, this returns the values x such that
p(X <= x) = p
In this case, it gives the collision distance which is larger than p percent of the collision distances.
| boost::circular_buffer<CollisionRecord> MDSimulation::Statistics::Collisions |
Collision records.
| std::map<std::pair<int, int>, double> MDSimulation::Statistics::MaxCollisionEnergySpecies |
Largest collision energy by the types of collision partners.
| Real2d MDSimulation::Statistics::MaxTemperature |
Max temp at each bin.
1.8.5