Initial commit

This commit is contained in:
2020-11-25 01:10:59 -05:00
commit 19042107cb
25 changed files with 1843 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
PROJECTNAME=correlation0001 correlation02
SIMPLEQ=simpleq
DATS=bigeq02.dat mueq02.dat simpleq02.dat bigeq0001.dat simpleq0001.dat mueq0001.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, $@)
simpleq0001.dat:
julia $(SIMPLEQ)/main.jl -p "rho=1e-4;minlrho=-6;nlrho=20;eq=simpleq;N=12;P=8;xmax=55" -M medeq 2pt > $@
mueq0001.dat:
julia $(SIMPLEQ)/main.jl -p "rho=1e-4;minlrho=-6;nlrho=20;eq=mueq;N=12;P=8;xmax=55" -M medeq 2pt > $@
bigeq0001.dat:
julia $(SIMPLEQ)/main.jl -p "rho=1e-4;minlrho=-6;nlrho=20;v_a=16;eq=bigeq;N=12;P=8;xmax=55" -M medeq 2pt > $@
simpleq02.dat:
julia $(SIMPLEQ)/main.jl -p "rho=2e-2;minlrho=-6;nlrho=60;eq=simpleq;N=12;P=8;xmax=10" -M medeq 2pt > $@
mueq02.dat:
julia $(SIMPLEQ)/main.jl -p "rho=2e-2;minlrho=-6;nlrho=60;eq=mueq;N=12;P=8;xmax=10" -M medeq 2pt > $@
bigeq02.dat:
julia $(SIMPLEQ)/main.jl -p "rho=2e-2;minlrho=-6;nlrho=60;v_a=16;eq=bigeq;N=12;P=8;xmax=10" -M medeq 2pt > $@
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
@@ -0,0 +1,28 @@
set title "$\\rho=0.0001$"
set ylabel "$\\frac{\\tilde C_2}{\\rho^2}$" norotate offset -1,0
set xlabel "$|\\mathbf x|$"
# default output canvas size: 12.5cm x 8.75cm
set term lua tikz size 8,6 standalone
set key bottom right box linetype rgbcolor"#999999" width 0.3 height 0.3 spacing 1.3
# set linestyle
set style line 1 linetype rgbcolor "#4169E1" linewidth 2 dashtype "."
set style line 2 linetype rgbcolor "#DC143C" linewidth 1
set style line 3 linetype rgbcolor "#32CD32" linewidth 2 dashtype "-"
set style line 4 linetype rgbcolor "#4B0082" linewidth 2
set style line 5 linetype rgbcolor "#DAA520" linewidth 2
set style line 6 linetype rgbcolor "#555500" linewidth 2
set pointsize 0.5
rho=1e-4
plot \
"simpleq0001.dat" using 1:($2/rho**2) with lines ls 1 title "simple",\
"mueq0001.dat" using 1:($2/rho**2) with lines ls 3 title "med",\
"bigeq0001.dat" using 1:($2/rho**2) with lines ls 5 title "big",\
"2020-10-01+correlation16-0001.dat" using 1:2 ls 2 title "QMC"
@@ -0,0 +1,28 @@
set title "$\\rho=0.02$"
set ylabel "$\\frac{\\tilde C_2}{\\rho^2}$" norotate offset -1,0
set xlabel "$|\\mathbf x|$"
# default output canvas size: 12.5cm x 8.75cm
set term lua tikz size 8,6 standalone
set key bottom right box linetype rgbcolor"#999999" width 0.3 height 0.3 spacing 1.3
# set linestyle
set style line 1 linetype rgbcolor "#4169E1" linewidth 2 dashtype "."
set style line 2 linetype rgbcolor "#DC143C" linewidth 1
set style line 3 linetype rgbcolor "#32CD32" linewidth 2 dashtype "-"
set style line 4 linetype rgbcolor "#4B0082" linewidth 2
set style line 5 linetype rgbcolor "#DAA520" linewidth 2
set style line 6 linetype rgbcolor "#555500" linewidth 2
set pointsize 0.5
rho=2e-2
plot \
"simpleq02.dat" using 1:($2/rho**2) with lines ls 1 title "simple",\
"mueq02.dat" using 1:($2/rho**2) with lines ls 3 title "med",\
"bigeq02.dat" using 1:($2/rho**2) with lines ls 5 title "big",\
"2020-08-27+correlation.dat" using 1:2 ls 2 title "QMC"