diff options
author | Ian Jauslin <ian@jauslin.org> | 2021-04-28 10:11:13 -0400 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2021-04-28 10:11:13 -0400 |
commit | 1f5187ec369f11f102f975ff69ca4e8109eff7cf (patch) | |
tree | 74f1c1b7f44487dfaeffae4a11fdc750aecbfdd0 /figs/energy_relative_error.fig/Makefile |
Diffstat (limited to 'figs/energy_relative_error.fig/Makefile')
-rw-r--r-- | figs/energy_relative_error.fig/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/figs/energy_relative_error.fig/Makefile b/figs/energy_relative_error.fig/Makefile new file mode 100644 index 0000000..93e03f5 --- /dev/null +++ b/figs/energy_relative_error.fig/Makefile @@ -0,0 +1,51 @@ +PROJECTNAME=cmp_energy1 + +SIMPLEQ=~/Work/Research/2018+bose_gas/cmp/simpleq + +DATS= 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, $@) + +bigeq1.dat: + for rho in 1e-6 1e-4 1e-3 5e-3 1e-2 1.5e-2 2e-2 5e-2 1e-1 1.0 1e1 5e1; do \ + echo -n $$rho " " >> $@-tmp ;\ + julia $(SIMPLEQ)/main.jl -p "N=12;P=8;J=10;maxiter=100;v_a=1;rho=$$rho;minlrho=-6;nlrho=50;eq=bigeq" -M medeq energy >> $@-tmp ;\ + done + paste $@-tmp 2020-10-15+energy.dat > $@ + rm $@-tmp +simpleq1.dat: + for lrho in -6 -4 -3 -2.3010299956639813 -2 -1.8239087409443189 -1.6989700043360187 -1.3010299956639813 -1 0 1 1.6989700043360187; do\ + julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=1;minlrho=$$lrho;nlrho=1" -M simpleq energy_rho >> $@-tmp ;\ + done + paste $@-tmp 2020-10-15+energy.dat > $@ + rm $@-tmp +mueq1.dat: + for lrho in -6 -4 -3 -2.3010299956639813 -2 -1.8239087409443189 -1.6989700043360187 -1.3010299956639813 -1 0 1 1.6989700043360187; do\ + julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=1;minlrho=$$lrho;nlrho=1" -M mueq energy_rho >> $@-tmp ;\ + done + 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 |