diff options
Diffstat (limited to 'xmds2')
-rw-r--r-- | xmds2/realistic_Rb/realistic_Rb.xmds | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmds2/realistic_Rb/realistic_Rb.xmds b/xmds2/realistic_Rb/realistic_Rb.xmds index 94b398c..57e7425 100644 --- a/xmds2/realistic_Rb/realistic_Rb.xmds +++ b/xmds2/realistic_Rb/realistic_Rb.xmds @@ -185,29 +185,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 --> |