summaryrefslogtreecommitdiff
path: root/Nlevels_with_MOR.xmds
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2016-04-26 00:18:03 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2016-04-27 11:12:39 -0400
commit585167fa2d80ac1a0d65135bc6a0b876425bd520 (patch)
treec63a6a49c71cad368d5b9e3012b3f5c8ddee961e /Nlevels_with_MOR.xmds
parent5c5053ef9208dbe51b5ba94f3f442b464583e8b2 (diff)
downloadnoisy_eit_xmds-585167fa2d80ac1a0d65135bc6a0b876425bd520.tar.gz
noisy_eit_xmds-585167fa2d80ac1a0d65135bc6a0b876425bd520.zip
maked pulsed initial field, to avoid nonzero initial conditions
Diffstat (limited to 'Nlevels_with_MOR.xmds')
-rw-r--r--Nlevels_with_MOR.xmds8
1 files changed, 3 insertions, 5 deletions
diff --git a/Nlevels_with_MOR.xmds b/Nlevels_with_MOR.xmds
index b12619e..e52de1d 100644
--- a/Nlevels_with_MOR.xmds
+++ b/Nlevels_with_MOR.xmds
@@ -168,11 +168,9 @@
<![CDATA[
// Initial (at starting 'z' position) electromagnetic field does not depend on detuning
// as well as time
- EdL = EdLo;
- EdR = EdRo;
- EpL = EpLo;
- //EpR = EpRo;
-
+ EdL=EdLo*exp(-pow( ((t-0.0)/Pwidth),2) );
+ EdR=EdRo*exp(-pow( ((t-0.0)/Pwidth),2) );
+ EpL=EpLo*exp(-pow( ((t-0.0)/Pwidth),2) );
EpR=EpRo*exp(-pow( ((t-0.0)/Pwidth),2) );
//EpL = EpLo*(1+0.01*2*(((double)rand() / (double)RAND_MAX)-0.5));