Added option for initial weights in the injector
This commit is contained in:
@@ -26,6 +26,7 @@ struct InjectorInfo {
|
||||
public:
|
||||
std::shared_ptr<species::TrackedSpecie> created_specie;
|
||||
std::shared_ptr<VelocityDistribution> creation_velocity_distribution;
|
||||
int multiplicity;
|
||||
};
|
||||
|
||||
class Injector {
|
||||
@@ -51,7 +52,8 @@ class Injector {
|
||||
const Coordinate& position,
|
||||
std::shared_ptr<species::TrackedSpecie> created_specie,
|
||||
std::shared_ptr<VelocityDistribution> creation_velocity_distribution,
|
||||
const double time_birth);
|
||||
const double time_birth,
|
||||
const double weight);
|
||||
};
|
||||
|
||||
#endif /* INJECTOR_H */
|
||||
|
||||
Reference in New Issue
Block a user