summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-08-08 00:54:35 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2011-08-08 00:54:35 -0400
commit05f4f90658f302bd2c6dc6120e600a5719a68131 (patch)
treefdfcb5877b6d31cc00e6348eb3176c1f6371dbac
parentdd57cf70de3c6d7ec70ed653e37e39dcc630f668 (diff)
parent56282ead83e9b8b7207a21b0ea020497697f36b3 (diff)
downloadNresonances-05f4f90658f302bd2c6dc6120e600a5719a68131.tar.gz
Nresonances-05f4f90658f302bd2c6dc6120e600a5719a68131.zip
Merge branch 'xmds'
-rw-r--r--xmds2/Nlevels_no_dopler_with_z/Nlevels_no_dopler_with_z.xmds17
1 files changed, 9 insertions, 8 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 ea12b3f..ccde248 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
@@ -30,12 +30,12 @@
*
We moved to dimensionless units
- t -> t*g ,time
- z -> z*g/c , distance
- rabi_frequency -> rabi_frequency/g
- eta -> eta*c/g^2 , coupling constant
- gij -> gij/g
- Wij -> Wij/g
+ t -> t*DecayRateNormalization ,time
+ z -> z*DecayRateNormalization/c , distance
+ rabi_frequency -> rabi_frequency/DecayRateNormalization
+ eta -> eta*c/DecayRateNormalization^2 , coupling constant
+ gij -> gij/DecayRateNormalization
+ Wij -> Wij/DecayRateNormalization
where g is 1MHz rate
@@ -63,11 +63,11 @@
<auto_vectorise />
<globals>
<![CDATA[
- const double UpperDecayRate=10e6; // measured in s^-1
+ const double DecayRateNormalization=10e6; // measured in s^-1
const double c=3e8;
const double lambda=794.7e-9; //wavelength in m
const double N=1e9; //number of particles per cubic cm
- const double eta = 3*lambda*lambda*(N/1e-6)*UpperDecayRate/8.0/3.14*(c/UpperDecayRate/UpperDecayRate); //dimensionless coupling constant
+ const double eta = 3*lambda*lambda*(N/1e-6)*DecayRateNormalization/8.0/3.14*(c/DecayRateNormalization/DecayRateNormalization); //dimensionless coupling constant
// repopulation rate (atoms flying in/out the laser beam) in MHz
const double gt=0.01/2;
@@ -94,6 +94,7 @@
</globals>
</features>
+ <!-- Let's convert 'z' and 't' to dimentionless units over here -->
<geometry>
<propagation_dimension> z </propagation_dimension>
<transverse_dimensions>