summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));