Ian Jauslin
summaryrefslogtreecommitdiff
blob: d4dfb0efa97045d06b991738586d38f37eba262b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PROJECTNAME=cmp_energy16 cmp_energy1

SIMPLEQ=~/Work/Research/2018+bose_gas/cmp/simpleq

DATS= simpleq16.dat mueq16.dat bigeq16.dat simpleq1.dat mueq1.dat bigeq1.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, $@)

bigeq16.dat:
	julia $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;J=10;maxiter=100;v_a=16;minlrho=-6;nlrho=50;rhos=1e-3,5e-3,1e-2,2e-2,1e-1,1e+0" -M medeq energy > $@-tmp
	paste $@-tmp 2020-08-27+16.dat > $@
	rm $@-tmp
simpleq16.dat:
	julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=16;rhos=1e-3,5e-3,1e-2,2e-2,1e-1,1e+0" -M simpleq energy_rho > $@-tmp
	paste $@-tmp 2020-08-27+16.dat > $@
	rm $@-tmp
mueq16.dat:
	julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=16;rhos=1e-3,5e-3,1e-2,2e-2,1e-1,1e+0" -M mueq energy_rho > $@-tmp
	paste $@-tmp 2020-08-27+16.dat > $@
	rm $@-tmp

bigeq1.dat:
	julia $(SIMPLEQ)/main.jl -p "N=12;P=8;J=10;maxiter=100;v_a=1;minlrho=-6;nlrho=50;eq=bigeq;rhos=1e-6,1e-4,1e-3,5e-3,1e-2,1.5e-2,2e-2,5e-2,1e-1,1.0,1e1,5e1" -M medeq energy > $@-tmp
	paste $@-tmp 2020-10-15+energy.dat > $@
	rm $@-tmp
simpleq1.dat:
	julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=1;rhos=1e-6,1e-4,1e-3,5e-3,1e-2,1.5e-2,2e-2,5e-2,1e-1,1.0,1e1,5e1" -M simpleq energy_rho > $@-tmp
	paste $@-tmp 2020-10-15+energy.dat > $@
	rm $@-tmp
mueq1.dat:
	julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=1;rhos=1e-6,1e-4,1e-3,5e-3,1e-2,1.5e-2,2e-2,5e-2,1e-1,1.0,1e1,5e1" -M mueq energy_rho >> $@-tmp ;\
	paste $@-tmp 2020-10-15+energy.dat > $@
	rm $@-tmp


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)
	rm -f Abar.dat

clean-tex:
	rm -f $(PDFS)

clean: clean-aux clean-tex