Fixed MB-Generator. Slight changes
This commit is contained in:
@@ -64,12 +64,12 @@ std::ostream& operator<<(std::ostream& os, const Particle& partOut) {
|
||||
|
||||
// Default Constructor
|
||||
Particle::Particle() {
|
||||
m_eV = NULL;
|
||||
Z = NULL;
|
||||
m_eV = NAN;
|
||||
Z = NAN;
|
||||
x_m = zeroVec();
|
||||
v_ms = zeroVec();
|
||||
Id = NULL;
|
||||
parentId = NULL;
|
||||
Id = NAN;
|
||||
parentId = NAN;
|
||||
s = undef;
|
||||
}
|
||||
|
||||
@@ -78,8 +78,8 @@ Particle::Particle(double mass_eV, double charge_e, blitz::TinyVector<double,3>
|
||||
Z = charge_e;
|
||||
x_m = zeroVec();
|
||||
v_ms = speed_ms;
|
||||
Id = NULL;
|
||||
parentId = NULL;
|
||||
Id = NAN;
|
||||
parentId = NAN;
|
||||
s = undef;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user