summaryrefslogtreecommitdiff
path: root/xmds2/realistic_Rb_and_fields
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-11-27 14:15:55 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2012-11-27 14:15:55 -0500
commit6c574f5f886e0614a415593e2e12494e21469c6c (patch)
treec574a2cef7c2dc486f3e46f7633c8c2f8c2d3e0b /xmds2/realistic_Rb_and_fields
parent9a8ad258a0629b391d8239edf1a8e272039b5c93 (diff)
downloadNresonances-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