Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2020-12-16 22:41:24 +0100
committerIan Jauslin <ian@jauslin.org>2020-12-16 22:41:24 +0100
commit1038647506b9d897e73bf465a381f03aab6fb19e (patch)
treec61377e7ae51eab164c97b357ab76443c4d16852 /figs/energy16.fig/Makefile
Ad presented at Rutgers University on 2020-12-16HEADv1.0master
Diffstat (limited to 'figs/energy16.fig/Makefile')
-rw-r--r--figs/energy16.fig/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/figs/energy16.fig/Makefile b/figs/energy16.fig/Makefile
new file mode 100644
index 0000000..964a8c5
--- /dev/null
+++ b/figs/energy16.fig/Makefile
@@ -0,0 +1,35 @@
+PROJECTNAME=energy16
+
+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 energy_rho > $@
+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 energy_rho > $@
+
+
+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