diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-06-13 09:32:43 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-06-13 09:32:43 -0400 |
commit | db12a3f9b81f26c37c4917fdc3f1d916ca4c29d1 (patch) | |
tree | 4a5f3229739f99495413c15d957f64b9dc97dbb6 /xmds2 | |
parent | dd2d25d3efbbf730da4c89bc7de65493112b1a01 (diff) | |
download | Nresonances-db12a3f9b81f26c37c4917fdc3f1d916ca4c29d1.tar.gz Nresonances-db12a3f9b81f26c37c4917fdc3f1d916ca4c29d1.zip |
move constant factor (-1) to the operator definition
This is intended for implicit operator calculation, otherwise xmds2
complains about extra multiplication and fail to produce C code.
Diffstat (limited to 'xmds2')
-rw-r--r-- | xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds | 10 |
1 files changed, 5 insertions, 5 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 bcb6b39..d31aa58 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 @@ -364,16 +364,16 @@ <operator kind="ex" constant="yes"> <operator_names>Lt</operator_names> <![CDATA[ - Lt = i*1./c*kt; + Lt = -i*1./c*kt; ]]> </operator> <integration_vectors>E_field</integration_vectors> <dependencies>density_matrix</dependencies> <![CDATA[ - dE1_dz = i*eta*conj(r13) -Lt[E1] ; - dE2_dz = i*eta*conj(r23) -Lt[E2] ; - dE3_dz = i*eta*conj(r24) -Lt[E3] ; - dE4_dz = i*eta*conj(r14) -Lt[E4] ; + dE1_dz = i*eta*conj(r13) +Lt[E1] ; + dE2_dz = i*eta*conj(r23) +Lt[E2] ; + dE3_dz = i*eta*conj(r24) +Lt[E3] ; + dE4_dz = i*eta*conj(r14) +Lt[E4] ; ]]> </operators> </integrate> |