diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-11-27 14:15:55 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-11-27 14:15:55 -0500 |
commit | 6c574f5f886e0614a415593e2e12494e21469c6c (patch) | |
tree | c574a2cef7c2dc486f3e46f7633c8c2f8c2d3e0b /xmds2/realistic_Rb_and_fields | |
parent | 9a8ad258a0629b391d8239edf1a8e272039b5c93 (diff) | |
download | Nresonances-6c574f5f886e0614a415593e2e12494e21469c6c.tar.gz Nresonances-6c574f5f886e0614a415593e2e12494e21469c6c.zip |
move Maxwell distribution from computed vector to just a vector
Thanks to suggestion of Graham Dennis, this skip unnecessary calculations
of the Maxwell probability distributions at every step since. Thus
avoids recalculation.
Below the original comment:
Your computed_vector's "Maxwell_distribution_probabilities" and
"Maxwell_distribution_probabilities_norm" are constant. If you just
change them to be <vector> elements changing the <evaluation> tags to
<initialisation> tags, this will ensure that they are not evaluated
every time they are needed.
Diffstat (limited to 'xmds2/realistic_Rb_and_fields')
0 files changed, 0 insertions, 0 deletions