Initial commit
This commit is contained in:
43
figs/condensate.fig/Makefile
Normal file
43
figs/condensate.fig/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
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=200;maxiter=100;v_a=8;minlrho=-6;maxlrho=2;nlrho=100" -M easyeq condensate_fraction_rho > medeq.dat
|
||||
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=-6;nlrho=100;maxlrho=2" -M anyeq condensate_fraction_rho > bigeq.dat
|
||||
endef
|
||||
|
||||
medeq.dat:
|
||||
$(call medeq_run)
|
||||
|
||||
bigeq.dat:
|
||||
$(call bigeq_run)
|
||||
|
||||
DATS=medeq.dat bigeq.dat
|
||||
|
||||
condensate.pdf: $(DATS)
|
||||
$(call gnuplot2pdf,$(basename $@))
|
||||
condensate_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
|
Reference in New Issue
Block a user