summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-12-07 12:31:18 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2011-12-07 12:31:18 -0500
commit463bc167af80efc72a4e6c8c379430783e8dc2a5 (patch)
tree3f7ca0cee906b98641682ab335a07b995078cc4c
parentd6d1c7d31826979002df2e37851507f38687ebb4 (diff)
downloadNresonances-463bc167af80efc72a4e6c8c379430783e8dc2a5.tar.gz
Nresonances-463bc167af80efc72a4e6c8c379430783e8dc2a5.zip
added TODO items about potential speed up
-rw-r--r--xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds b/xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds
index f60652e..99fe9ef 100644
--- a/xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds
+++ b/xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds
@@ -132,6 +132,7 @@
<components>probability_v</components>
<evaluation>
<![CDATA[
+ // TODO: move to the global space/function. This reevaluated many times since it called from dependency requests but it never changes during the script lifetime since 'v' is fixed.
probability_v=1.0/(v_thermal_averaged*sqrt(2*M_PI)) * exp( - mod2(v/v_thermal_averaged)/2.0 );
]]>
</evaluation>
@@ -145,6 +146,7 @@
<evaluation>
<dependencies basis="v">Maxwell_distribution_probabilities</dependencies>
<![CDATA[
+ // TODO: move to the global space/function. This reevaluated many times since it called from dependency requests but it never changes during the script lifetime since 'v' is fixed.
probability_v_norm=probability_v;
]]>
</evaluation>