diff options
author | Ian Jauslin <ian.jauslin@rutgers.edu> | 2023-03-21 18:56:03 -0400 |
---|---|---|
committer | Ian Jauslin <ian.jauslin@rutgers.edu> | 2023-03-21 18:56:03 -0400 |
commit | bf6efd2ecaa3e84c78e472ca2c16f4bcc8378886 (patch) | |
tree | b84ae941dbfdb2cbbd535b5d6012d17e633dd4bd /figs/2pt_max.fig/Makefile |
Diffstat (limited to 'figs/2pt_max.fig/Makefile')
-rw-r--r-- | figs/2pt_max.fig/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/figs/2pt_max.fig/Makefile b/figs/2pt_max.fig/Makefile new file mode 100644 index 0000000..b419fee --- /dev/null +++ b/figs/2pt_max.fig/Makefile @@ -0,0 +1,35 @@ +PROJECT=$(basename $(wildcard *.gnuplot)) + +SIMPLESOLV=simplesolv~/Work/Research/2018+bose_gas/cmp/simplesolv/source/src + +all: $(addsuffix .pdf, $(PROJECT)) + +define gnuplot2pdf + gnuplot $(1).gnuplot > $(1).tikz.tex + pdflatex -jobname $(1) -file-line-error $(1).tikz.tex +endef + +define bigeq_run + julia -p 16 $(SIMPLESOLV)/main.jl -p "eq=bigeq;N=12;P=8;J=10;maxiter=100;v_a=8;minlrho=-4;maxlrho=1;nlrho=100;window_L=1000;dx=1e-4;maxstep=0.1" -M anyeq 2pt_max_rho > 2pt_max.dat +endef + +2pt_max.dat: + $(call bigeq_run) + +DATS=2pt_max.dat + +2pt_max.pdf: 2pt_max.dat + $(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 |