Commit ee71b2cf authored by Valeriy M Tenishev's avatar Valeriy M Tenishev
Browse files

Earth::Parser::InjectionLimit(): energy limit are defined for particles

injected into the domain
parent b4f9b33d
......@@ -532,12 +532,14 @@ void Earth::Parser::InjectionLimit(vector<string>& StringVector) {
replace(sub,"MeV","1.602176565E-19*1.0E6");
Earth::CutoffRigidity::IndividualLocations::MinEnergyLimit=Evaluate(sub);
Earth::BoundingBoxInjection::EnergyRangeMin=Evaluate(sub);
}
else if (sub=="emax") {
iss >> sub;
replace(sub,"MeV","1.602176565E-19*1.0E6");
Earth::CutoffRigidity::IndividualLocations::MaxEnergyLimit=Evaluate(sub);
Earth::BoundingBoxInjection::EnergyRangeMax=Evaluate(sub);
}
else if (sub=="pmin") {
iss >> sub;
......
Supports Markdown
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