Removed possibility of Nphi > 1
This commit is contained in:
@@ -46,10 +46,10 @@ class DynamicDensityField : public DensityField {
|
||||
// of the pitch angle binning
|
||||
bool changedPitchAngleBin(double old_pitch_angle, double new_pitch_angle) const;
|
||||
|
||||
blitz::Array<double, 3> densityArray();
|
||||
blitz::Array<double, 4> spectrumArray();
|
||||
blitz::Array<double, 5> timeInBinArray() const;
|
||||
blitz::Array<double, 3> binVolumeArray() const;
|
||||
blitz::Array<double, 2> densityArray();
|
||||
blitz::Array<double, 3> spectrumArray();
|
||||
blitz::Array<double, 4> numberInBinArray() const;
|
||||
blitz::Array<double, 2> binVolumeArray() const;
|
||||
|
||||
// return an array of the density values at the Coordinate position (only energy
|
||||
// direction left); over and underflow bin are removed
|
||||
@@ -58,7 +58,7 @@ class DynamicDensityField : public DensityField {
|
||||
|
||||
// return an array of the time in bin at the Coordinate position and the energy
|
||||
// energy_eV (only pitch angle direction left); over and underflow bin are removed
|
||||
blitz::Array<double, 1> sliceTimeInBinArray(const Coordinate& position,
|
||||
blitz::Array<double, 1> sliceNumberInBinArray(const Coordinate& position,
|
||||
double energy_eV) const;
|
||||
|
||||
const EnergyBinning* energyBinning() const;
|
||||
@@ -73,21 +73,19 @@ class DynamicDensityField : public DensityField {
|
||||
friend class CpuSynchronizer;
|
||||
|
||||
void restartTimer(double time, double delta_t);
|
||||
void restartTimeInBin(blitz::Array<double, 5> time_in_bin);
|
||||
void restartNumberInBin(blitz::Array<double, 4> number_in_bin);
|
||||
|
||||
void recalculateDensityArray();
|
||||
|
||||
private:
|
||||
|
||||
// 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<double, 5> sync_time_in_bin_s_;
|
||||
// use ordering r, z, pitch_angle, E.
|
||||
// Full symmetry in azimuthal direction -> no phi resolution
|
||||
blitz::Array<double, 4> number_in_bin_;
|
||||
blitz::Array<double, 4> sync_number_in_bin_;
|
||||
|
||||
blitz::Array<double, 4> density_per_m3_;
|
||||
blitz::Array<double, 3> bin_volume_m3_;
|
||||
blitz::Array<double, 3> density_per_m3_;
|
||||
blitz::Array<double, 2> bin_volume_m3_;
|
||||
|
||||
const CylinderBinning position_binning_;
|
||||
const EnergyBinning energy_binning_;
|
||||
|
||||
Reference in New Issue
Block a user