Collection (vector) of particles. More...
#include <density.h>
| Public Member Functions | |
| Density (const TmodelInformation &, const Tproperties &) | |
| Constructor. | |
| ~Density () | |
| Destructor. | |
| void | simulate () | 
| Simulate trajectory for all particles from the earth to the heliospheric boundary. | |
| IParticle * | getParticle (int) | 
| Getter for a specified particle. | |
| int | getTotalNumber () const | 
| Getter for total number of particles. | |
| IParticle * | createParticle (const TmodelInformation &, const Tproperties &) const | 
| Creates particle. | |
Collection (vector) of particles.
| Density::Density | ( | const TmodelInformation & | modelInfo, | 
| const Tproperties & | sp | ||
| ) | 
Constructor.
| modelInfo | Model information from import.cc | 
| sp | Particle properties | 
| IParticle * Density::createParticle | ( | const TmodelInformation & | modelInfo, | 
| const Tproperties & | sp | ||
| ) | const | 
Creates particle.
| modelInfo | Informations from import.cc | 
| sp | Particle properties (mass and charge) | 
| IParticle * Density::getParticle | ( | int | i | ) | 
| int Density::getTotalNumber | ( | ) | const | 
Getter for total number of particles.
| void Density::simulate | ( | ) | 
Simulate trajectory for all particles from the earth to the heliospheric boundary.
Iteration over all particles, simulate routine of Particle class will be called.
 1.8.1
 1.8.1