Back to J
Correcting the small increments thing in the Jupiter model. It is in there, but not recorded, bizzarely enough.
Subroutines to alter:
electron - checked, declared, changed - done!
strike - checked, declared, changed - done!
proton - declarations - done!
proton1 - declarations - done!
hit - checked against Earth model, changed declarations, changed recording - done!
back - checked, declared, changed - done!
selectron - checked, declared, changed - done!
recoil - checked, declared, changed - done!
All done.
Compiled.
Running.
Why did I do that? All the hard work had been done, just hadn't redeclared the results arrays as real variables, instead leaving them as integers. Makes it easier to analyse, I suppose, but artificially inflates results in denser or energy degraded areas. I know this has little effect in Gas Giant atmospheres and I may have removed it to reduce computational time and keep things looking pretty, but the calculations were left in, so no time was reduced and things won't look pretty if they're recording incorrectly...
Ok, results are in. That's better. Enough of this madness, at last. Shape is looking good, peak position great, magnitude very good.
Subroutines to alter:
electron - checked, declared, changed - done!
strike - checked, declared, changed - done!
proton - declarations - done!
proton1 - declarations - done!
hit - checked against Earth model, changed declarations, changed recording - done!
back - checked, declared, changed - done!
selectron - checked, declared, changed - done!
recoil - checked, declared, changed - done!
All done.
Compiled.
Running.
Why did I do that? All the hard work had been done, just hadn't redeclared the results arrays as real variables, instead leaving them as integers. Makes it easier to analyse, I suppose, but artificially inflates results in denser or energy degraded areas. I know this has little effect in Gas Giant atmospheres and I may have removed it to reduce computational time and keep things looking pretty, but the calculations were left in, so no time was reduced and things won't look pretty if they're recording incorrectly...
Ok, results are in. That's better. Enough of this madness, at last. Shape is looking good, peak position great, magnitude very good.
Labels: Coding, Grodent, Jupiter, Validation