Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2022-02-20 19:24:31 -0500
committerIan Jauslin <ian@jauslin.org>2022-02-20 19:24:31 -0500
commit41a4191aeead222cfe89de8ab595617fdea3524a (patch)
treef05a9a4e9818ca30a8480271b3dc89d2ff8c8261 /figs/energy16.fig/Makefile
As presented at the University of Milan on 2022-02-21HEADv1.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