Removed debug sleep.
This commit is contained in:
@@ -49,8 +49,9 @@ inline double Drift_Base::get_zNew_m(Particle *movePart, const double ¯oSigm
|
||||
if (macroSigma_m2 == 0) {
|
||||
if (zDir == -1) {
|
||||
znew_m = z_RW_m - 2*l_WGTS_m;
|
||||
} else
|
||||
znew_m = z_WGTS_end_m + 2*l_WGTS_m;
|
||||
} else {
|
||||
znew_m = z_WGTS_end_m + 2*l_WGTS_m;
|
||||
}
|
||||
} else {
|
||||
double distance_m = 1/macroSigma_m2;
|
||||
znew_m = zold_m + zDir*vForwardAbs_ms/vTotAbs_ms * distance_m;
|
||||
|
||||
@@ -43,7 +43,7 @@ inline InteractionOut Interaction_Base::do_Interaction(Particle *interPart) {
|
||||
return SubInteractions[i]->do_Interaction(interPart);
|
||||
}
|
||||
}
|
||||
std::cout<<interPart->get_species()<<"\n";
|
||||
std::cout<<interPart<<"\n";
|
||||
std::stringstream ss;
|
||||
ss<<"Interaction_Base::do_Interaction: No Interactions added.\n";
|
||||
throw MyException (ss.str());
|
||||
|
||||
@@ -22,11 +22,11 @@ int main(int argc, char *argv[]) {
|
||||
cout<<"Number CPUs: "<<size<<"\n"<<endl;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
std::cout << "Process " << getpid() << " is " << rank
|
||||
<< " of " << size << " processes" << std::endl;
|
||||
if (rank == 0) sleep(600);
|
||||
|
||||
*/
|
||||
|
||||
Simulation Sim;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user