diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-11-27 23:21:05 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-11-27 23:21:05 -0500 |
commit | df1ce8081df7a44e108bb290d06bbdf0dd574e38 (patch) | |
tree | a9e2a0e8d759adc9140b52e2919e91608c9dfc1b | |
parent | c9c327cc7ed2ce8f7438d64961696ca631979987 (diff) | |
download | Nresonances-df1ce8081df7a44e108bb290d06bbdf0dd574e38.tar.gz Nresonances-df1ce8081df7a44e108bb290d06bbdf0dd574e38.zip |
change Maxwell probability related vectors to static one
-rw-r--r-- | xmds2/realistic_Rb_and_fields/realistic_Rb_and_fields.xmds | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmds2/realistic_Rb_and_fields/realistic_Rb_and_fields.xmds b/xmds2/realistic_Rb_and_fields/realistic_Rb_and_fields.xmds index 7e310ae..5b00664 100644 --- a/xmds2/realistic_Rb_and_fields/realistic_Rb_and_fields.xmds +++ b/xmds2/realistic_Rb_and_fields/realistic_Rb_and_fields.xmds @@ -194,29 +194,29 @@ const double rt2 = 1.4142135623730951; </vector> <!--Maxwell distribution probability p(v)--> - <computed_vector name="Maxwell_distribution_probabilities" dimensions="v" type="real"> + <vector name="Maxwell_distribution_probabilities" dimensions="v" type="real"> <components>probability_v</components> - <evaluation> + <initialisation> <![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> - </computed_vector> + </initialisation> + </vector> <!--Maxwell distribution norm sum(p(v)) Needed since we sum over the grid instead of true integral, we also have finite cut off velocities--> - <computed_vector name="Maxwell_distribution_probabilities_norm" dimensions="" type="real"> + <vector name="Maxwell_distribution_probabilities_norm" dimensions="" type="real"> <components>probability_v_norm</components> - <evaluation> + <initialisation> <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> - </computed_vector> + </initialisation> + </vector> <!-- Averaged across Maxwell distribution fields amplitudes --> |