summaryrefslogtreecommitdiff
path: root/xmds2
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-06-13 09:38:44 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2012-06-13 09:48:14 -0400
commitd060923e394823ed4f5741ea75da25af53a8a52c (patch)
treefec3f4e249032a800e59bac6c1b9b3f3eaf608b9 /xmds2
parentdb12a3f9b81f26c37c4917fdc3f1d916ca4c29d1 (diff)
downloadNresonances-d060923e394823ed4f5741ea75da25af53a8a52c.tar.gz
Nresonances-d060923e394823ed4f5741ea75da25af53a8a52c.zip
remove useless multiplication by 1. and added a comment about "ex" vs "ip" operators
Diffstat (limited to 'xmds2')
-rw-r--r--xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds8
1 files changed, 7 insertions, 1 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 d31aa58..023ca23 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
@@ -361,10 +361,16 @@
dr44_dt = i*(E4a*r14 + E3a*r24 - E4ac*r41 - E3ac*r42) - (G4 + gt)*r44;
]]>
</operator>
+ <!--
+ According to xmds2 docs operator kind="ip" should be faster
+ but our codes runs about 5% to 10% slower with it.
+ Maybe because we very close to the stiff condition so I use "ex" kind
+ <operator kind="ip" constant="yes">
+ -->
<operator kind="ex" constant="yes">
<operator_names>Lt</operator_names>
<![CDATA[
- Lt = -i*1./c*kt;
+ Lt = -i/c*kt;
]]>
</operator>
<integration_vectors>E_field</integration_vectors>