20chjl/figs/hardcore.fig/Makefile
2020-11-25 01:10:59 -05:00

48 lines
2.0 KiB
Makefile

PROJECTNAME=hardcore_energy hardcore_condensate
SIMPLEQ=simpleq
DATS=simpleq-energy.dat simpleq_soft-energy.dat mueq_soft-energy.dat bigeq_soft-energy.dat simpleq-condensate.dat simpleq_soft-condensate.dat mueq_soft-condensate.dat bigeq_soft-condensate.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-energy.dat:
julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;J=5;nlrho=24;maxlrho=0.15" -M simpleq-hardcore energy_rho > $@
simpleq_soft-energy.dat:
julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M simpleq energy_rho > $@
mueq_soft-energy.dat:
julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M mueq energy_rho > $@
bigeq_soft-energy.dat:
julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;eq=bigeq;maxiter=100;maxlrho=0.15;nlrho=64;v_a=512;v_b=1.2494804800401416" -U tent -M medeq energy_rho_init_prevrho > $@
simpleq-condensate.dat:
julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;J=5;maxlrho=0.15;nlrho=24" -M simpleq-hardcore condensate_fraction_rho > $@
simpleq_soft-condensate.dat:
julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M simpleq condensate_fraction_rho > $@
mueq_soft-condensate.dat:
julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M mueq condensate_fraction_rho > $@
bigeq_soft-condensate.dat:
julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;eq=bigeq;maxiter=100;maxlrho=0.15;nlrho=64;v_a=512;v_b=1.2494804800401416" -U tent -M medeq condensate_fraction_rho > $@
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