44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
|
PROJECT=$(basename $(wildcard *.gnuplot))
|
||
|
|
||
|
SIMPLESOLV=simplesolv
|
||
|
|
||
|
all: $(addsuffix .pdf, $(PROJECT))
|
||
|
|
||
|
define gnuplot2pdf
|
||
|
gnuplot $(1).gnuplot > $(1).tikz.tex
|
||
|
pdflatex -jobname $(1) -file-line-error $(1).tikz.tex
|
||
|
endef
|
||
|
|
||
|
define medeq_run
|
||
|
julia $(SIMPLESOLV)/main.jl -p "eq=medeq;order=300;maxiter=100;v_a=8;minlrho=-5;maxlrho=-0.53;nlrho=64;window_L=100;dk=1e-4;maxstep=0.1" -M easyeq 2pt_fourier_max_rho > medeq.dat
|
||
|
endef
|
||
|
define bigeq_run
|
||
|
julia -p 16 $(SIMPLESOLV)/main.jl -p "eq=bigeq;N=18;P=12;J=15;maxiter=100;v_a=8;minlrho=-5;maxlrho=-0.53;nlrho=64;window_L=100;dk=1e-4;maxstep=0.1" -M anyeq 2pt_fourier_max_rho > bigeq.dat
|
||
|
endef
|
||
|
|
||
|
medeq.dat:
|
||
|
$(call medeq_run)
|
||
|
|
||
|
bigeq.dat:
|
||
|
$(call bigeq_run)
|
||
|
|
||
|
DATS=medeq.dat bigeq.dat
|
||
|
|
||
|
2pt_fourier_max.pdf: bigeq.dat
|
||
|
$(call gnuplot2pdf,$(basename $@))
|
||
|
2pt_fourier_max_medeq.pdf: $(DATS)
|
||
|
$(call gnuplot2pdf,$(basename $@))
|
||
|
|
||
|
|
||
|
clean-aux:
|
||
|
rm -f $(addsuffix .tikz.tex, $(PROJECT))
|
||
|
rm -f *.aux *.log
|
||
|
|
||
|
clean-dat:
|
||
|
rm -f $(DATS)
|
||
|
|
||
|
clean-pdf:
|
||
|
rm -f $(addsuffix .pdf, $(PROJECT))
|
||
|
|
||
|
clean: clean-aux clean-pdf
|