SOLARPROP  1.0
 All Classes Functions Variables
Public Member Functions
Density Class Reference

Collection (vector) of particles. More...

#include <density.h>

List of all members.

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.
IParticlegetParticle (int)
 Getter for a specified particle.
int getTotalNumber () const
 Getter for total number of particles.
IParticlecreateParticle (const TmodelInformation &, const Tproperties &) const
 Creates particle.

Detailed Description

Collection (vector) of particles.


Constructor & Destructor Documentation

Density::Density ( const TmodelInformation modelInfo,
const Tproperties sp 
)

Constructor.

Parameters:
modelInfoModel information from import.cc
spParticle properties

Member Function Documentation

IParticle * Density::createParticle ( const TmodelInformation modelInfo,
const Tproperties sp 
) const

Creates particle.

Parameters:
modelInfoInformations from import.cc
spParticle properties (mass and charge)
Returns:
Pointer to the particle
IParticle * Density::getParticle ( int  i)

Getter for a specified particle.

Parameters:
iSpecified particle
Returns:
Particle
int Density::getTotalNumber ( ) const

Getter for total number of particles.

Returns:
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.


The documentation for this class was generated from the following files: