diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-11 23:00:51 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-11 23:00:51 -0500 |
commit | e30cc78adc730de9c44144e5c707d1e0916fc658 (patch) | |
tree | caacf48ef72173cff14877744fe9445f0eff0857 | |
parent | d5e77603f3adb279e429a2c047875c2800f1542a (diff) | |
download | Nresonances-e30cc78adc730de9c44144e5c707d1e0916fc658.tar.gz Nresonances-e30cc78adc730de9c44144e5c707d1e0916fc658.zip |
Doppler code: length of cell now can be set by runtime argument --Lcell
-rw-r--r-- | xmds2/Nlevels_with_doppler_with_z_4wm/Nlevels_with_doppler_with_z_4wm.xmds | 4 |
1 files changed, 3 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 3df3f5e..3fc2499 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 @@ -97,6 +97,8 @@ <argument name="delta1" type="real" default_value="0.0" /> <argument name="delta2" type="real" default_value="0.0" /> <argument name="delta3" type="real" default_value="0.0" /> + <!--Cell length--> + <argument name="Lcell" type="real" default_value="1.5e-2" /> </arguments> <bing /> <fftw plan="patient" /> @@ -280,7 +282,7 @@ <sequence> <!--For this set of conditions ARK45 is faster than ARK89--> <!--ARK45 is good for small detuning when all frequency like term are close to zero--> - <integrate algorithm="ARK45" tolerance="1e-5" interval="1.5e-2"> + <integrate algorithm="ARK45" tolerance="1e-5" interval="Lcell"> <!--RK4 is good for large detunings when frequency like term are big, it does not try to be too smart about adaptive step which ARK seems to make too small--> <!--When ARK45 works it about 3 times faster then RK4 with 1000 steps--> <!--<integrate algorithm="RK4" steps="100" interval="1.5e-2">--> |