Commit 52af4fa7 authored by cortes_c's avatar cortes_c
Browse files

changing m to mm

parent f7c48245
......@@ -1413,8 +1413,8 @@ void Distribution::createMatchedGaussDistribution(size_t numberOfParticles, doub
createDistributionGauss(numberOfParticles, massIneV);
// update injection radius and radial momentum
CyclotronElement->setRinit(siggen->getInjectionRadius());
// update injection radius and radial momentum (m --> mm)
CyclotronElement->setRinit(siggen->getInjectionRadius()*1000);
CyclotronElement->setPRinit(siggen->getInjectionMomentum());
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment