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/correlation.fig/Makefile
As presented at the University of Milan on 2022-02-21HEADv1.0master
Diffstat (limited to 'figs/correlation.fig/Makefile')
-rw-r--r--figs/correlation.fig/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/figs/correlation.fig/Makefile b/figs/correlation.fig/Makefile
new file mode 100644
index 0000000..fd4b6c3
--- /dev/null
+++ b/figs/correlation.fig/Makefile
@@ -0,0 +1,36 @@
+PROJECTNAME=correlation
+
+SIMPLEQ=~/Work/Research/2018+bose_gas/cmp/simpleq
+
+DATS=bigeq.dat mueq.dat simpleq.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, $@)
+
+simpleq.dat:
+ julia $(SIMPLEQ)/main.jl -p "rho=2e-2;minlrho=-6;nlrho=60;eq=simpleq;N=12;P=8;xmax=10" -M medeq 2pt-simpleq > $@
+mueq.dat:
+ julia $(SIMPLEQ)/main.jl -p "rho=2e-2;minlrho=-6;nlrho=60;eq=mueq;N=12;P=8;xmax=10" -M medeq 2pt > $@
+bigeq.dat:
+ julia $(SIMPLEQ)/main.jl -p "rho=2e-2;minlrho=-6;nlrho=60;v_a=16;eq=bigeq;N=12;P=8;xmax=10" -M medeq 2pt > $@
+
+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