Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to make POLO from acceleration #477

Merged
merged 2 commits into from
Jul 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/simulation/elements/PROT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,17 @@ int Element_PROT::update(UPDATE_FUNC_ARGS)
int newID, element;
if (parts[i].tmp > 500000)
element = PT_SING; //particle accelerators are known to create earth-destroying black holes
else if (parts[i].tmp > 500)
else if (parts[i].tmp > 700)
element = PT_PLUT;
else if (parts[i].tmp > 320)
else if (parts[i].tmp > 420)
element = PT_URAN;
else if (parts[i].tmp > 150)
else if (parts[i].tmp > 310)
element = PT_POLO
else if (parts[i].tmp > 250)
element = PT_PLSM;
else if (parts[i].tmp > 50)
else if (parts[i].tmp > 100)
element = PT_O2;
else if (parts[i].tmp > 20)
else if (parts[i].tmp > 50)
element = PT_CO2;
else
element = PT_NBLE;
Expand Down