Removed deleted particles array;
resturctured debug output a bit
This commit is contained in:
@@ -42,9 +42,9 @@ class DynamicDensityField : public DensityField {
|
||||
double pitch_angle,
|
||||
double weight);
|
||||
|
||||
void logDeletion(const Coordinate& position,
|
||||
double energy_eV,
|
||||
double pitch_angle);
|
||||
// void logDeletion(const Coordinate& position,
|
||||
// double energy_eV,
|
||||
// double pitch_angle);
|
||||
|
||||
// return the particle number stored in the density of this object
|
||||
double particleNumber();
|
||||
@@ -58,7 +58,7 @@ class DynamicDensityField : public DensityField {
|
||||
blitz::Array<double, 3> densityArray();
|
||||
blitz::Array<double, 4> spectrumArray();
|
||||
blitz::Array<double, 5> timeInBinArray() const;
|
||||
blitz::Array<long int, 5> deletedParticlesArray() const;
|
||||
// blitz::Array<long int, 5> deletedParticlesArray() const;
|
||||
blitz::Array<double, 3> binVolumeArray() const;
|
||||
|
||||
// return an array of the density values at the Coordinate position (only energy
|
||||
@@ -84,18 +84,21 @@ class DynamicDensityField : public DensityField {
|
||||
|
||||
void restartTimer(double time, double delta_t);
|
||||
void restartTimeInBin(blitz::Array<double, 5> time_in_bin);
|
||||
void restartDeletedParticlesArray(blitz::Array<long int, 5> deleted_particles);
|
||||
// void restartDeletedParticlesArray(blitz::Array<long int, 5> deleted_particles);
|
||||
|
||||
private:
|
||||
|
||||
void recalculateDensityArray();
|
||||
|
||||
// use ordering r, phi, z, pitch_angle, E
|
||||
// time in bin now contains the physical particle number per bin
|
||||
// (not renamed, since that would require many, many changes due to
|
||||
// renaming of the functions)
|
||||
blitz::Array<double, 5> time_in_bin_s_;
|
||||
blitz::Array<long int, 5> deleted_particles_;
|
||||
// blitz::Array<long int, 5> deleted_particles_;
|
||||
|
||||
blitz::Array<double, 5> sync_time_in_bin_s_;
|
||||
blitz::Array<long int, 5> sync_deleted_particles_;
|
||||
// blitz::Array<long int, 5> sync_deleted_particles_;
|
||||
|
||||
blitz::Array<double, 4> density_per_m3_;
|
||||
blitz::Array<double, 3> bin_volume_m3_;
|
||||
|
||||
Reference in New Issue
Block a user