Aktuelle Stand
This commit is contained in:
@@ -43,8 +43,17 @@ std::ostream& operator<<(std::ostream& os, const species& SpecOut) {
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const Particle& partOut) {
|
||||
os << "(" << partOut.id<<","<<partOut.s<<","<<partOut.m << "," << partOut.q << ","<< partOut.x<<","<< partOut.v <<")";
|
||||
os
|
||||
<< partOut.Id << ";"
|
||||
<<partOut.parentId << ";"
|
||||
<<partOut.s << ";"
|
||||
<<partOut.m_eV << ";"
|
||||
<< partOut.q_e << ";"
|
||||
<< partOut.x_m[0] << ";"
|
||||
<< partOut.x_m[1] << ";"
|
||||
<< partOut.x_m[2] << ";"
|
||||
<< partOut.v_ms[0] << ";"
|
||||
<< partOut.v_ms[1] << ";"
|
||||
<< partOut.v_ms[2] << ";";
|
||||
return os;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user