diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-05-31 01:07:18 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-05-31 01:07:18 -0400 |
commit | ce6c96ecfd30c3d52166cacb55d0b4376d871544 (patch) | |
tree | 5617c32a2ed31139f7ab0b3cd83a92bd8b00cf65 /xmds2 | |
parent | 4990aa154045dbb52057edf11c29931c8a21b007 (diff) | |
download | Nresonances-ce6c96ecfd30c3d52166cacb55d0b4376d871544.tar.gz Nresonances-ce6c96ecfd30c3d52166cacb55d0b4376d871544.zip |
use mod2(x) as |x|^2
Diffstat (limited to 'xmds2')
-rw-r--r-- | xmds2/Nlevels_no_dopler_with_z/Nlevels_no_dopler_with_z.xmds | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmds2/Nlevels_no_dopler_with_z/Nlevels_no_dopler_with_z.xmds b/xmds2/Nlevels_no_dopler_with_z/Nlevels_no_dopler_with_z.xmds index 0e7d8a6..78ab368 100644 --- a/xmds2/Nlevels_no_dopler_with_z/Nlevels_no_dopler_with_z.xmds +++ b/xmds2/Nlevels_no_dopler_with_z/Nlevels_no_dopler_with_z.xmds @@ -221,9 +221,9 @@ <dependencies>E_field</dependencies> <moments>>I1_out I2_out I3_out</moments> <![CDATA[ - I1_out = pow(abs(E1),2); - I2_out = pow(abs(E2),2); - I3_out = pow(abs(E3),2); + I1_out = mod2(E1); + I2_out = mod2(E2); + I3_out = mod2(E3); ]]> </sampling> </group> |