Go to the documentation of this file.
43 #ifndef PARTICLESTATISTICS_HPP
44 #define PARTICLESTATISTICS_HPP 1
64 std::vector<uint32_t> _bound_collisions;
65 std::vector<double> _bound_current;
83 void reset( uint32_t nboundaries );
85 uint32_t end_time(
void )
const;
86 uint32_t end_step(
void )
const;
87 uint32_t end_baddef(
void )
const;
88 uint32_t sum_steps(
void )
const;
90 uint32_t number_of_boundaries(
void )
const;
91 uint32_t bound_collisions( uint32_t bound )
const;
92 uint32_t bound_collisions(
void )
const;
93 double bound_current( uint32_t bound )
const;
94 double bound_current(
void )
const;
96 void inc_end_time(
void ) { _end_time++; }
97 void inc_end_step(
void ) { _end_step++; }
98 void inc_end_baddef(
void ) { _end_baddef++; }
99 void inc_sum_steps(
void ) { _sum_steps++; }
100 void inc_sum_steps( uint32_t i ) { _sum_steps += i; }
102 void add_bound_collision( uint32_t bound,
double IQ );
106 void save( std::ostream &s )
const;
Particle iteration statistics.
Definition: particlestatistics.hpp:57
void save(std::ostream &s) const
Saves data to stream.
Definition: particlestatistics.cpp:225
Reference manual for Ion Beam Simulator 1.0.6dev
Generated by
Doxygen 1.9.1 on Thu Sep 11 2025 09:37:24.