summaryrefslogtreecommitdiff
path: root/xmds2
diff options
context:
space:
mode:
Diffstat (limited to 'xmds2')
-rw-r--r--xmds2/check_perturbative_approach/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/xmds2/check_perturbative_approach/Makefile b/xmds2/check_perturbative_approach/Makefile
index 79e73d2..be5b2ed 100644
--- a/xmds2/check_perturbative_approach/Makefile
+++ b/xmds2/check_perturbative_approach/Makefile
@@ -2,18 +2,23 @@
### This makefile can be used to build and run the XMDS examples
-XSIL_FILES = $(shell ls *.xsil)
+XSIL_FILES = Nlevels_no_dopler_with_z_4wm_with_perturbations.xsil Nlevels_no_dopler_with_z_4wm.xsil
M_FILES = $(patsubst %.xsil,%.m,$(XSIL_FILES))
XSIL2GRAPHICS = xsil2graphics
-all: Nlevels_no_dopler_with_z_4wm_with_perturbations.xsil Nlevels_no_dopler_with_z_4wm.xsil $(M_FILES)
+# fast light
+#PARAMS = --delta1=0 --delta2=0 --delta3=0 --E1o=1.9e7 --E2o=3.1e5 --E3o=3.8e7 --E4o=6.3e4
+# slow light EIT
+PARAMS = --delta1=0 --delta2=0 --delta3=0 --E1o=1.9e7 --E2o=3.1e5 --E3o=0 --E4o=0
+
+all: $(XSIL_FILES) Nlevels_no_dopler_with_z_4wm.xsil $(M_FILES) plot
Nlevels_no_dopler_with_z_4wm_with_perturbations.xsil: ../Nlevels_no_dopler_with_z_4wm_with_perturbations/Nlevels_no_dopler_with_z_4wm_with_perturbations.run
- $<
+ $< $(PARAMS)
Nlevels_no_dopler_with_z_4wm.xsil: ../Nlevels_no_dopler_with_z_4wm/Nlevels_no_dopler_with_z_4wm.run
- $<
+ $< $(PARAMS)
%.m: %.xsil
$(XSIL2GRAPHICS) $<
@@ -22,7 +27,7 @@ plot: $(M_FILES)
octave pp.m
clean:
- rm -f $(CC_FILES) $(RUN_FILES) $(M_FILES) $(XSIL_FILES) *.wisdom.fftw3 *.dat octave-core *.wisdom *.pdf
+ rm -f $(CC_FILES) $(RUN_FILES) $(M_FILES) $(XSIL_FILES) *.wisdom.fftw3 *.dat octave-core *.wisdom *.pdf *.eps
.PRECIOUS: %.run %.xsil %.m
.PHONY: all clean