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:
@@ -13,6 +13,7 @@ class Reflector;
|
||||
class Injector;
|
||||
class DensityField;
|
||||
class DynamicDensityField;
|
||||
class DynamicDensityFieldWithPitchAngle;
|
||||
class ConstantDensityField;
|
||||
class DeletionLogger;
|
||||
class CurrentCollector;
|
||||
@@ -62,7 +63,9 @@ class TrackedSpecie : public Specie {
|
||||
std::shared_ptr<DynamicDensityField> density_field,
|
||||
std::shared_ptr<VelocityDistribution> velocity_distribution,
|
||||
std::shared_ptr<DriftVelocity> drift_velocity,
|
||||
std::shared_ptr<DynamicDensityField> density_for_drawing);
|
||||
std::shared_ptr<DynamicDensityField> density_for_drawing,
|
||||
std::shared_ptr<DynamicDensityFieldWithPitchAngle> density_field_pitch_angle,
|
||||
std::shared_ptr<DynamicDensityFieldWithPitchAngle> density_mu_for_drawing);
|
||||
|
||||
DensityField* densityField();
|
||||
VelocityDistribution* velocityDistibution();
|
||||
@@ -78,6 +81,9 @@ class TrackedSpecie : public Specie {
|
||||
|
||||
DynamicDensityField* densityForDrawing();
|
||||
|
||||
DynamicDensityFieldWithPitchAngle* dynamicDensityFieldWithPitchAngle();
|
||||
DynamicDensityFieldWithPitchAngle* dynamicDensityFieldWithPitchAngleForDrawing();
|
||||
|
||||
CurrentCollector* currentCollector();
|
||||
void currentCollector(std::shared_ptr<CurrentCollector> new_collector);
|
||||
|
||||
@@ -86,6 +92,7 @@ class TrackedSpecie : public Specie {
|
||||
|
||||
private:
|
||||
std::shared_ptr<DynamicDensityField> density_field_;
|
||||
std::shared_ptr<DynamicDensityFieldWithPitchAngle> density_field_pitch_angle_;
|
||||
std::shared_ptr<VelocityDistribution> velocity_distribution_;
|
||||
std::shared_ptr<DriftVelocity> drift_velocity_;
|
||||
|
||||
@@ -98,6 +105,7 @@ class TrackedSpecie : public Specie {
|
||||
std::vector<std::shared_ptr<interaction::Interaction>> interactions_;
|
||||
|
||||
std::shared_ptr<DynamicDensityField> density_for_drawing_;
|
||||
std::shared_ptr<DynamicDensityFieldWithPitchAngle> density_with_pitch_angle_for_drawing;
|
||||
};
|
||||
|
||||
class BackgroundSpecie : public Specie {
|
||||
|
||||
Reference in New Issue
Block a user