diff options
Diffstat (limited to 'figs/condensate.fig/Makefile')
-rw-r--r-- | figs/condensate.fig/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/figs/condensate.fig/Makefile b/figs/condensate.fig/Makefile new file mode 100644 index 0000000..3e00169 --- /dev/null +++ b/figs/condensate.fig/Makefile @@ -0,0 +1,37 @@ +PROJECTNAME=condensate + +SIMPLESOLV=~/Work/Research/2018+bose_gas/cmp/simplesolv/source/src + +DATS=simpleq.dat medeq.dat bigeq.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.dat: + julia $(SIMPLESOLV)/main.jl -p "eq=simpleq;tolerance=1e-11;order=100;maxiter=100;v_a=0.5;minlrho=-6;nlrho=100;maxlrho=2" -M easyeq -U exp condensate_fraction_rho > $@ +medeq.dat: + julia $(SIMPLESOLV)/main.jl -p "eq=medeq;tolerance=1e-11;order=100;maxiter=100;v_a=0.5;minlrho=-6;nlrho=100;maxlrho=2" -M easyeq -U exp condensate_fraction_rho > $@ +bigeq.dat: + julia -p 8 $(SIMPLESOLV)/main.jl -p "eq=bigeq;N=12;P=8;J=10;tolerance=1e-11;maxiter=21;v_a=0.5;minlrho=-6;nlrho=100;maxlrho=2" -M anyeq -U exp 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 |