summaryrefslogtreecommitdiff
path: root/xmds2/realistic_Rb
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-11-28 23:36:08 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2012-11-28 23:36:08 -0500
commitaeeeb3a41ba3df163dede45c37efe74c6ce71ca3 (patch)
tree92401dc943d77f9a086aecb2d0cbc1d09bf8afb8 /xmds2/realistic_Rb
parentf2891fa6f6ea67b9fd6a3fbec4cc6344debfba64 (diff)
downloadNresonances-aeeeb3a41ba3df163dede45c37efe74c6ce71ca3.tar.gz
Nresonances-aeeeb3a41ba3df163dede45c37efe74c6ce71ca3.zip
completed move of mathematica generated files to includes
Diffstat (limited to 'xmds2/realistic_Rb')
-rw-r--r--xmds2/realistic_Rb/RbAtomConstants.cdata (renamed from xmds2/realistic_Rb/RbAtomConstans.cdata)0
-rw-r--r--xmds2/realistic_Rb/RbPropEquations.cdata8
-rw-r--r--xmds2/realistic_Rb/realistic_Rb.xmds16
3 files changed, 13 insertions, 11 deletions
diff --git a/xmds2/realistic_Rb/RbAtomConstans.cdata b/xmds2/realistic_Rb/RbAtomConstants.cdata
index 040d3c9..040d3c9 100644
--- a/xmds2/realistic_Rb/RbAtomConstans.cdata
+++ b/xmds2/realistic_Rb/RbAtomConstants.cdata
diff --git a/xmds2/realistic_Rb/RbPropEquations.cdata b/xmds2/realistic_Rb/RbPropEquations.cdata
new file mode 100644
index 0000000..2a30be4
--- /dev/null
+++ b/xmds2/realistic_Rb/RbPropEquations.cdata
@@ -0,0 +1,8 @@
+<![CDATA[
+//---------------- RbPropEquations.cdata starts ------------------
+dE1_dz = 0.16666666666666666*i*Ndens*(2.449489742783178*conj(r0309) + 4.242640687119286*conj(r0410) + 6.*conj(r0511))*eta1 - Lt[E1];
+dE2_dz = -0.4082482904638631*i*Ndens*(conj(r0709) + conj(r0810))*eta1 - Lt[E2];
+dE3_dz = -0.3333333333333333*i*Ndens*(1.7320508075688772*conj(r0614) + 3.*conj(r0715) + 4.242640687119286*conj(r0816))*eta2 - Lt[E3];
+dE4_dz = (i*Ndens*(2.449489742783178*conj(r0113) + 3*conj(r0214) + 3*conj(r0315) + 2.449489742783178*conj(r0416))*eta2)/3. - Lt[E4];
+//---------------- RbPropEquations.cdata ends ------------------
+]]>
diff --git a/xmds2/realistic_Rb/realistic_Rb.xmds b/xmds2/realistic_Rb/realistic_Rb.xmds
index 7744dd8..e3a5367 100644
--- a/xmds2/realistic_Rb/realistic_Rb.xmds
+++ b/xmds2/realistic_Rb/realistic_Rb.xmds
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<!--Below text defines necessary included files and references to them-->
<!DOCTYPE simulation [
-<!ENTITY RbAtomConstansFile SYSTEM "RbAtomConstans.cdata" >
+<!ENTITY RbAtomConstantsFile SYSTEM "RbAtomConstants.cdata" >
<!ENTITY RbChosenRhoFile SYSTEM "RbChosenRho.txt" >
<!ENTITY RbInitsFile SYSTEM "RbInits.cdata" >
<!ENTITY RbEquationsFile SYSTEM "RbEquations.cdata" >
+<!ENTITY RbPropEquationsFile SYSTEM "RbPropEquations.cdata" >
]>
<simulation xmds-version="2">
<testing>
@@ -57,7 +58,7 @@
<features>
<globals>
<!-- read from Mathematica generated RbAtomConstans.cdata-->
- &RbAtomConstansFile;
+ &RbAtomConstantsFile;
<![CDATA[
// Some numerical constants
const double pi = M_PI;
@@ -291,15 +292,8 @@
</operator>
<integration_vectors>E_field</integration_vectors>
<dependencies>density_matrix</dependencies>
- <![CDATA[
- //read from Mathematica generated RbPropEquations.txt
-//---------------- RbPropEquations.txt starts ------------------
-dE1_dz = 0.16666666666666666*i*Ndens*(2.449489742783178*conj(r0309) + 4.242640687119286*conj(r0410) + 6.*conj(r0511))*eta1 - Lt[E1];
-dE2_dz = -0.4082482904638631*i*Ndens*(conj(r0709) + conj(r0810))*eta1 - Lt[E2];
-dE3_dz = -0.3333333333333333*i*Ndens*(1.7320508075688772*conj(r0614) + 3.*conj(r0715) + 4.242640687119286*conj(r0816))*eta2 - Lt[E3];
-dE4_dz = (i*Ndens*(2.449489742783178*conj(r0113) + 3*conj(r0214) + 3*conj(r0315) + 2.449489742783178*conj(r0416))*eta2)/3. - Lt[E4];
-//---------------- RbPropEquations.txt ends ------------------
- ]]>
+ <!-- read from Mathematica generated RbPropEquations.cdata-->
+ &RbPropEquationsFile;
</operators>
</integrate>
</sequence>