Implemented pitch angle resolution.
Still includes (and uses) the non-pitch angle resolved fields as well; have to be either removed completely or refactored s.t. one of the two options is chosen. Pitch angle distribution has a hardcoded number of bins for now, and exists in 'energy_binning.h'
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "blitz/array.h"
|
||||
|
||||
class DynamicDensityField;
|
||||
class DynamicDensityFieldWithPitchAngle;
|
||||
class Timer;
|
||||
class CurrentCollector;
|
||||
class DeletionLogger;
|
||||
@@ -26,6 +27,9 @@ class CpuSynchronizer {
|
||||
void synchronize(DynamicDensityField* field,
|
||||
DynamicDensityField* density_for_drawing,
|
||||
bool reset);
|
||||
void synchronize(DynamicDensityFieldWithPitchAngle* field,
|
||||
DynamicDensityFieldWithPitchAngle* density_for_drawing,
|
||||
bool reset);
|
||||
void synchronize(CurrentCollector* collector);
|
||||
void synchronize(DeletionLogger* logger);
|
||||
void synchronize(Timer* timer, Timer* last_sync_timer);
|
||||
@@ -36,10 +40,14 @@ class CpuSynchronizer {
|
||||
*/
|
||||
void sumToAll(blitz::Array<double, 4>& array,
|
||||
blitz::Array<double, 4>& last_sync_array);
|
||||
void sumToAll(blitz::Array<double, 5>& array,
|
||||
blitz::Array<double, 5>& last_sync_array);
|
||||
void sumToAll(blitz::Array<double, 3>& array,
|
||||
blitz::Array<double, 3>& last_sync_array);
|
||||
void sumToAll(blitz::Array<long int, 4>& array,
|
||||
blitz::Array<long int, 4>& last_sync_array);
|
||||
void sumToAll(blitz::Array<long int, 5>& array,
|
||||
blitz::Array<long int, 5>& last_sync_array);
|
||||
void sumToAll(double& value, double& last_sync_value);
|
||||
void sumToAll(long int& value, long int& last_sync_value);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user