Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'figs/condensate16.fig/Makefile')
-rw-r--r--figs/condensate16.fig/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/figs/condensate16.fig/Makefile b/figs/condensate16.fig/Makefile
new file mode 100644
index 0000000..d44f73c
--- /dev/null
+++ b/figs/condensate16.fig/Makefile
@@ -0,0 +1,35 @@
+PROJECTNAME=condensate16
+
+SIMPLEQ=~/Work/Research/2018+bose_gas/cmp/simpleq
+
+DATS=simpleq16.dat medeq16.dat
+PDFS=$(addsuffix .pdf, $(PROJECTNAME))
+TEXS=$(addsuffix .tikz.tex, $(PROJECTNAME))
+
+all: $(PDFS)
+
+$(PDFS): $(DATS)
+ gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tikz.tex, $@)
+ pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@)
+
+simpleq16.dat:
+ julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=16" -M simpleq condensate_fraction > $@
+medeq16.dat:
+ julia -p 8 $(SIMPLEQ)/main.jl -p "aK=1;aL1=1;aL2=1;aL3=0;bK=1;bL1=1;bL2=1;gK=1;gL2=1;gL3=0;N=12;P=8;v_a=16" -M medeq condensate_fraction > $@
+
+
+install: $(PDFS)
+ cp $^ $(INSTALLDIR)/
+
+clean-aux:
+ rm -f $(addsuffix .tikz.tex, $(PROJECTNAME))
+ rm -f $(addsuffix .aux, $(PROJECTNAME))
+ rm -f $(addsuffix .log, $(PROJECTNAME))
+
+clean-dat:
+ rm -f $(DATS)
+
+clean-tex:
+ rm -f $(PDFS)
+
+clean: clean-aux clean-tex