Initial commit

This commit is contained in:
Ian Jauslin 2022-01-30 17:28:30 -05:00
commit 5ab7dd575d
25 changed files with 3579 additions and 0 deletions

1214
Jauslin_2022.tex Normal file

File diff suppressed because it is too large Load Diff

55
Makefile Normal file
View File

@ -0,0 +1,55 @@
PROJECTNAME=$(basename $(wildcard *.tex))
LIBS=$(notdir $(wildcard libs/*))
FIGS=$(notdir $(wildcard figs/*.fig))
PDFS=$(addsuffix .pdf, $(PROJECTNAME))
SYNCTEXS=$(addsuffix .synctex.gz, $(PROJECTNAME))
all: $(PROJECTNAME)
$(PROJECTNAME): $(LIBS) $(FIGS)
pdflatex -file-line-error $@.tex
pdflatex -file-line-error $@.tex
pdflatex -synctex=1 $@.tex
$(PROJECTNAME).aux: $(LIBS) $(FIGS)
pdflatex -file-line-error -draftmode $(PROJECTNAME).tex
$(SYNCTEXS): $(LIBS) $(FIGS)
pdflatex -synctex=1 $(patsubst %.synctex.gz, %.tex, $@)
libs: $(LIBS)
$(LIBS):
ln -fs libs/$@ ./
figs: $(FIGS)
$(FIGS):
make -C figs/$@
for pdf in $$(find figs/$@/ -name '*.pdf'); do ln -fs "$$pdf" ./ ; done
clean-aux: clean-figs-aux
rm -f $(addsuffix .aux, $(PROJECTNAME))
rm -f $(addsuffix .log, $(PROJECTNAME))
rm -f $(addsuffix .out, $(PROJECTNAME))
rm -f $(addsuffix .toc, $(PROJECTNAME))
clean-libs:
rm -f $(LIBS)
clean-figs:
$(foreach fig,$(addprefix figs/, $(FIGS)), make -C $(fig) clean; )
rm -f $(notdir $(wildcard figs/*.fig/*.pdf))
clean-figs-aux:
$(foreach fig,$(addprefix figs/, $(FIGS)), make -C $(fig) clean-aux; )
clean-tex:
rm -f $(PDFS) $(SYNCTEXS)
clean: clean-aux clean-tex clean-libs clean-figs

44
README Normal file
View File

@ -0,0 +1,44 @@
This directory contains the source files to typeset the article, and generate
the figures. This can be accomplished by running
make
The data pertaining to the Big, Medium and Simple equations in the figures were
generated using 'simplesolv' which is available from
http://ian.jauslin.org/software/simplesolv
This document uses a custom class file, located in the 'libs' directory, which
defines a number of commands. Most of these are drop-in replacements for those
defined in the 'article' class.
Some extra functionality is provided in custom style files, located in the
'libs' directory.
* Dependencies:
pdflatex
TeXlive packages:
amsfonts
array
xcolor
dsfont
graphicx
hyperref
latex
marginnote
pgf
standalone
GNU make
simplesolv
* Files:
Jauslin_2022.tex:
main LaTeX file
libs:
custom LaTeX class file
figs:
source code for the figures

View File

@ -0,0 +1,72 @@
\bibitem[AEe95]{AEe95}M.H. Anderson, J.R. Ensher, M.R. Matthews, C.E. Wieman, E.A. Cornell - {\it Observation of Bose-Einstein Condensation in a Dilute Atomic Vapor}, Science, volume\-~269, issue\-~5221, pages\-~198-201, 1995,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1126/science.269.5221.198}{10.1126/science.269.5221.198}}.\par\medskip
\bibitem[BCS21]{BCS21}G.\-~Basti, S.\-~Cenatiempo, B.\-~Schlein - {\it A new second order upper bound for the ground state energy of dilute Bose gases}, arXiv preprint, 2021\par\penalty10000
arxiv:{\tt\color{blue}\href{https://arxiv.org/abs/2101.06222}{2101.06222}}.\par\medskip
\bibitem[Bi40]{Bi40}A. Bijl - {\it The lowest wave function of the symmetrical many particles system}, Physica, volume\-~7, issue\-~9, pages\-~869-886, 1940,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1016/0031-8914(40)90166-5}{10.1016/0031-8914(40)90166-5}}.\par\medskip
\bibitem[BBe18]{BBe18}C. Boccato, C. Brennecke, S. Cenatiempo, B. Schlein - {\it Complete BoseEinstein Condensation in the GrossPitaevskii Regime}, Communications in Mathematical Physics, volume\-~359, issue\-~3, pages\-~975-1026, 2018,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/s00220-017-3016-5}{10.1007/s00220-017-3016-5}}.\par\medskip
\bibitem[Bo47]{Bo47}N. Bogolubov - {\it On the theory of superfluidity}, Journal of Physics (USSR), volume\-~11, number\-~1, pages\-~23-32 (translated from the Russian Izv.Akad.Nauk Ser.Fiz, volume\-~11, pages\-~77-90), 1947.\par\medskip
\bibitem[Bo24]{Bo24}S.N. Bose - {\it Plancks Gesetz und Lichtquantenhypothese}, Weitschrift f\"ur Physik, volume\-~26, issue\-~1, pages\-~178-181, 1924,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/BF01327326}{10.1007/BF01327326}}.\par\medskip
\bibitem[CHe21]{CHe21}E.A. Carlen, M. Holzmann, I. Jauslin, E.H. Lieb - {\it Simplified approach to the repulsive Bose gas from low to high densities and its numerical accuracy}, Physical Review A, volume\-~103, issue\-~5, number\-~053309, 2021,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevA.103.053309}{10.1103/PhysRevA.103.053309}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/2011.10869}{2011.10869}}.\par\medskip
\bibitem[CJL20]{CJL20}E.A. Carlen, I. Jauslin, E.H. Lieb - {\it Analysis of a simple equation for the ground state energy of the Bose gas}, Pure and Applied Analysis, volume\-~2, issue\-~3, pages\-~659-684, 2020,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.2140/paa.2020.2.659}{10.2140/paa.2020.2.659}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/1912.04987}{1912.04987}}.\par\medskip
\bibitem[CJL21]{CJL21}E.A. Carlen, I. Jauslin, E.H. Lieb - {\it Analysis of a Simple Equation for the Ground State of the Bose Gas II: Monotonicity, Convexity, and Condensate Fraction}, SIAM Journal on Mathematical Analysis, volume\-~53, number\-~5, pages\-~5322-5360, 2021,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1137/20M1376820}{10.1137/20M1376820}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/2010.13882}{2010.13882}}.\par\medskip
\bibitem[CJe21]{CJe21}E.A. Carlen, I. Jauslin, E.H. Lieb, M.P. Loss - {\it On the Convolution Inequality $f\geqslant f\star f$}, International Mathematics Research Notices, volume\-~2021, number\-~24, pages\-~18604-18612, 2021,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1093/imrn/rnaa350}{10.1093/imrn/rnaa350}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/2002.04184}{2002.04184}}.\par\medskip
\bibitem[DMe95]{DMe95}K.B. Davis, M.O. Mewes, M.R. Andrews, N.J. van Druten, D.S. Durfee, D.M. Kurn, W. Ketterle - {\it Bose-Einstein Condensation in a Gas of Sodium Atoms}, Physical Review Letters, volume\-~75, issue\-~22, pages\-~3969-3973, 1995,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevLett.75.3969}{10.1103/PhysRevLett.75.3969}}.\par\medskip
\bibitem[Di49]{Di49}R. Dingle - {\it The zero-point energy of a system of particles}, The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, volume\-~40, number\-~304, pages\-~573-578, 1949,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1080/14786444908521743}{10.1080/14786444908521743}}.\par\medskip
\bibitem[Ei24]{Ei24}A. Einstein - {\it Quantentheorie des einatomigen idealen Gases}, Sitzungsberichte der Preussischen Akademie der Wissenschaften, volume\-~1, issue\-~3, 1924.\par\medskip
\bibitem[FS20]{FS20}S. Fournais, J.P. Solovej - {\it The energy of dilute Bose gases}, Annals of Mathematics, volume\-~192, issue\-~3, pages\-~893-976, 2020,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.4007/annals.2020.192.3.5}{10.4007/annals.2020.192.3.5}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/1904.06164}{1904.06164}}.\par\medskip
\bibitem[FS21]{FS21}S.\-~Fournais, J.P.\-~Solovej - {\it The energy of dilute Bose gases II: The general case}, arXiv preprint, 2021\par\penalty10000
arxiv:{\tt\color{blue}\href{https://arxiv.org/abs/2108.12022}{2108.12022}}.\par\medskip
\bibitem[Ja55]{Ja55}R. Jastrow - {\it Many-Body Problem with Strong Forces}, Physical Review, volume\-~98, issue\-~5, pages\-~1479-1484, 1955,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRev.98.1479}{10.1103/PhysRev.98.1479}}.\par\medskip
\bibitem[KLS88]{KLS88}T. Kennedy, E.H. Lieb, B.S. Shastry - {\it Existence of N\'eel order in some spin-1/2 Heisenberg antiferromagnets}, Journal of Statistical Physics, volume\-~53, issue\-~5, pages\-~1019-1030, 1988,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/BF01023854}{10.1007/BF01023854}}.\par\medskip
\bibitem[LHY57]{LHY57}T.D. Lee, K. Huang, C.N. Yang - {\it Eigenvalues and Eigenfunctions of a Bose System of Hard Spheres and Its Low-Temperature Properties}, Physical Review, volume\-~106, issue\-~6, pages\-~1135-1145, 1957,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRev.106.1135}{10.1103/PhysRev.106.1135}}.\par\medskip
\bibitem[Li63]{Li63}E.H. Lieb - {\it Simplified Approach to the Ground-State Energy of an Imperfect Bose Gas}, Physical Review, volume\-~130, issue\-~6, pages\-~2518-2528, 1963,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRev.130.2518}{10.1103/PhysRev.130.2518}}.\par\medskip
\bibitem[LS02]{LS02}E.H. Lieb, R. Seiringer - {\it Proof of Bose-Einstein Condensation for Dilute Trapped Gases}, Physical Review Letters, volume\-~88, issue\-~17, number\-~170409, 2002,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevLett.88.170409}{10.1103/PhysRevLett.88.170409}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/math-ph/0112032}{math-ph/0112032}}.\par\medskip
\bibitem[LSe05]{LSe05}E.H. Lieb, R. Seiringer, J.P. Solovej, J. Yngvason - {\it The Mathematics of the Bose Gas and its Condensation}, Oberwolfach Seminars, volume\-~34, Birkha\"user, 2005, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/cond-mat/0610117}{cond-mat/0610117}}.\par\medskip
\bibitem[LY98]{LY98}E.H. Lieb, J. Yngvason - {\it Ground State Energy of the Low Density Bose Gas}, Physical Review Letters, volume\-~80, issue\-~12, pages\-~2504-2507, 1998,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1103/PhysRevLett.80.2504}{10.1103/PhysRevLett.80.2504}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/cond-mat/9712138}{cond-mat/9712138}}.\par\medskip
\bibitem[Se11]{Se11}R. Seiringer - {\it The Excitation Spectrum for Weakly Interacting Bosons}, Communications in Mathematical Physics, volume\-~306, issue\-~2, pages\-~565-578, 2011,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/s00220-011-1261-6}{10.1007/s00220-011-1261-6}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/1008.5349}{1008.5349}}.\par\medskip
\bibitem[YY09]{YY09}H. Yau, J. Yin - {\it The Second Order Upper Bound for the Ground Energy of a Bose Gas}, Journal of Statistical Physics, volume\-~136, issue\-~3, pages\-~453-503, 2009,\par\penalty10000
doi:{\tt\color{blue}\href{http://dx.doi.org/10.1007/s10955-009-9792-3}{10.1007/s10955-009-9792-3}}, arxiv:{\tt\color{blue}\href{http://arxiv.org/abs/0903.5347}{0903.5347}}.\par\medskip
\bibitem[ss]{ss}{\tt simplesolv} software package v0.3, I.\-~Jauslin,\par\penalty10000
{\tt\color{blue}\href{http://ian.jauslin.org/software/simplesolv}{http://ian.jauslin.org/software/simplesolv}}.\par\medskip

View File

@ -0,0 +1,8 @@
# potential: 0.5 e^{-|x|}
# rho E 1-eta Jastrow E
1e-3 0.005189 0.978 0.005193
5e-3 0.027389 0.961 0.027395
1e-2 0.056223 0.959 0.05624
2e-2 0.11530 0.954 0.11530
1e-1 0.6037 0.953 0.60377
1e+0 6.221 0.97 6.22

View File

@ -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

View File

@ -0,0 +1,100 @@
1.000000000000000e-06 9.359600849904642e-04 4.769492271009877e-12
1.204503540258781e-06 1.026263695589573e-03 3.419474268720360e-12
1.450828778495940e-06 1.128447423932415e-03 1.284844855728227e-12
1.747528400007683e-06 1.243211901088135e-03 6.036870814265909e-14
2.104904144512022e-06 1.371540352505089e-03 1.465826916259999e-12
2.535364493970111e-06 1.514563172953764e-03 5.278911635708756e-12
3.053855508833412e-06 1.673162936456016e-03 6.438854837197395e-12
3.678379771828634e-06 1.847621600906275e-03 3.277884092656937e-12
4.430621457583877e-06 2.037906626012430e-03 6.922442639580641e-13
5.336699231206313e-06 2.244403765508714e-03 4.301594724689213e-14
6.428073117284319e-06 2.468275249347463e-03 3.149478739794029e-14
7.742636826811277e-06 2.711300000206942e-03 1.692972150200860e-14
9.326033468832200e-06 2.975586773983234e-03 2.485257044540253e-14
1.123324032978027e-05 3.263387610365739e-03 5.798705939542849e-14
1.353047774579808e-05 3.577021358160436e-03 1.007850792994357e-13
1.629750834620643e-05 3.918861287982854e-03 1.180879418675055e-13
1.963040650040272e-05 4.291351386383927e-03 1.164548699163096e-13
2.364489412645407e-05 4.697030635602372e-03 9.993404840576712e-14
2.848035868435805e-05 5.138553215636342e-03 7.889857713883516e-14
3.430469286314919e-05 5.618698153738680e-03 5.544933866100784e-14
4.132012400115334e-05 6.140366567754929e-03 3.505040625564625e-14
4.977023564332114e-05 6.706568098963386e-03 2.719353007326749e-14
5.994842503189409e-05 7.320399534465997e-03 2.419046911428554e-14
7.220809018385471e-05 7.985017865199253e-03 2.911321693643152e-14
8.697490026177834e-05 8.703608059981844e-03 1.665264019357716e-14
1.047615752789665e-04 9.479343964932427e-03 1.735486882457866e-14
1.261856883066021e-04 1.031533974401874e-02 1.231730471561613e-14
1.519911082952935e-04 1.121458911634652e-02 1.063694582767876e-14
1.830738280295370e-04 1.217988982497501e-02 2.605952558828706e-14
2.205130739903046e-04 1.321375095073367e-02 1.948459628184608e-14
2.656087782946686e-04 1.431828101890961e-02 2.204861946752505e-14
3.199267137797384e-04 1.549505586477500e-02 3.187650388653336e-14
3.853528593710532e-04 1.674496732600098e-02 3.041558319770699e-14
4.641588833612782e-04 1.806805674261242e-02 3.132688775353608e-14
5.590810182512228e-04 1.946333993043477e-02 3.849130191836202e-14
6.734150657750828e-04 2.092863160214499e-02 5.858344140792253e-14
8.111308307896872e-04 2.246037686139622e-02 8.179691054969686e-14
9.770099572992256e-04 2.405349636533224e-02 1.097457892783796e-13
1.176811952434999e-03 2.570125163577371e-02 1.510104805632382e-13
1.417474162926806e-03 2.739513888148153e-02 2.017323906157568e-13
1.707352647470692e-03 2.912482328833103e-02 2.635554179184661e-13
2.056512308348653e-03 3.087812926296352e-02 3.398621654197443e-13
2.477076355991711e-03 3.264110309962052e-02 4.285413087823841e-13
2.983647240283340e-03 3.439816133650226e-02 5.302517700005698e-13
3.593813663804629e-03 3.613233114795761e-02 6.403992903217449e-13
4.328761281083062e-03 3.782558079607085e-02 7.571924192093096e-13
5.214008287999690e-03 3.945923077971335e-02 8.735665611670509e-13
6.280291441834260e-03 4.101443056577509e-02 9.852419079005244e-13
7.564633275546291e-03 4.247268081094784e-02 1.086591967833584e-12
9.111627561154896e-03 4.381637597402372e-02 1.171028110980761e-12
1.097498765493057e-02 4.502933773539811e-02 1.235182529056386e-12
1.321941148466031e-02 4.609730735888347e-02 1.273413495244793e-12
1.592282793341094e-02 4.700836649313180e-02 1.288870490747045e-12
1.917910261672489e-02 4.775326110412755e-02 1.277774794460160e-12
2.310129700083163e-02 4.832561126937697e-02 1.245436832753992e-12
2.782559402207126e-02 4.872199901018250e-02 1.194094596784815e-12
3.351602650938848e-02 4.894193587141005e-02 1.129149381775895e-12
4.037017258596558e-02 4.898772053354203e-02 1.056418952921306e-12
4.862601580065354e-02 4.886420356210291e-02 9.797825696635614e-13
5.857020818056673e-02 4.857848093382484e-02 9.036039641219436e-13
7.054802310718646e-02 4.813954002928141e-02 8.309184154224132e-13
8.497534359086456e-02 4.755788150120432e-02 7.632736986718884e-13
1.023531021899027e-01 4.684513825031006e-02 7.009835850851132e-13
1.232846739442068e-01 4.601370925687214e-02 6.445926849679039e-13
1.484968262254467e-01 4.507642184667945e-02 5.938594915648704e-13
1.788649529057435e-01 4.404623166683212e-02 5.471692016966516e-13
2.154434690031887e-01 4.293596563723694e-02 5.037037371246892e-13
2.595024211399737e-01 4.175810970901533e-02 4.628803528432183e-13
3.125715849688241e-01 4.052464054410850e-02 4.243706234593440e-13
3.764935806792471e-01 3.924689825998715e-02 3.870128277902043e-13
4.534878508128591e-01 3.793549610670589e-02 3.506993848968064e-13
5.462277217684348e-01 3.660026225836260e-02 3.158617612429666e-13
6.579332246575682e-01 3.525020868323555e-02 2.820376102788483e-13
7.924828983539185e-01 3.389352218106337e-02 2.495811928366868e-13
9.545484566618347e-01 3.253757302873513e-02 2.187355418163057e-13
1.149756995397738e+00 3.118893716272646e-02 1.896018293540065e-13
1.384886371393875e+00 2.985342837493234e-02 1.627002158331657e-13
1.668100537200059e+00 2.853613755533530e-02 1.381782671776070e-13
2.009233002565050e+00 2.724147654488262e-02 1.162433870344956e-13
2.420128264794383e+00 2.597322464354741e-02 9.667411489592391e-14
2.915053062825182e+00 2.473457624087447e-02 7.921718375131266e-14
3.511191734215135e+00 2.352818839610205e-02 6.467146452368413e-14
4.229242874389508e+00 2.235622749416585e-02 5.197716963886527e-14
5.094138014816386e+00 2.122041434752589e-02 4.164284351060715e-14
6.135907273413176e+00 2.012206730828386e-02 3.267501010541636e-14
7.390722033525790e+00 1.906214310748888e-02 2.631758984864249e-14
8.902150854450392e+00 1.804127525584338e-02 1.984138301410465e-14
1.072267222010325e+01 1.705980992860735e-02 1.572328524590868e-14
1.291549665014885e+01 1.611783932288287e-02 1.184638961517491e-14
1.555676143930475e+01 1.521523252238974e-02 9.222802498318025e-15
1.873817422860387e+01 1.435166393772974e-02 7.775425060459825e-15
2.257019719633922e+01 1.352663941296484e-02 5.807567740486978e-15
2.718588242732946e+01 1.273952010501215e-02 5.266597955329656e-15
3.274549162877732e+01 1.198954425222880e-02 4.772515936081468e-15
3.944206059437664e+01 1.127584695317193e-02 4.990759746751970e-15
4.750810162102803e+01 1.059747807695462e-02 4.465420870908758e-15
5.722367659350220e+01 9.953418424741895e-03 5.050460646392378e-15
6.892612104349709e+01 9.342594259386548e-03 4.878151124718388e-15
8.302175681319753e+01 8.763890317430715e-03 6.408523490975994e-15
1.000000000000000e+02 8.216161414267099e-03 7.308726309426102e-15

View File

@ -0,0 +1,41 @@
set ylabel "$\\tilde\\eta$" norotate offset -1,0
set xlabel "$\\rho$"
set xtics 1e-6, 100, 100
set xtics add ("$10^{-6}$" 0.000001, "$10^{-4}$" 0.0001, "$10^{-2}$" 0.01, "$1$" 1.0, "$10^2$" 100)
unset mxtics
#set ytics 0.6, 0.1
set mytics 2
set xrange [4e-8:100]
set yrange [:0.06]
# default output canvas size: 12.5cm x 8.75cm
set term lua tikz size 8,6 standalone
set key top left 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 2
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 "#999999" linewidth 1.5 dashtype (1,5)
set pointsize 1
set logscale x
a=0.7666858699084325
plot \
"simpleq.dat" using 1:($3<1e-5 ? $2 : 1/0) with lines ls 1 title "simple",\
"medeq.dat" using 1:($3<1e-5 ? $2 : 1/0) with lines ls 3 title "med",\
"bigeq.dat" using 1:($3<1e-5 ? $2 : 1/0) with lines ls 5 title "big",\
"2020-08-27+0.5.dat" using 1:(1-$3) with points ls 2 title "QMC" ,\
8./(3*sqrt(pi))*sqrt(x*a**3) ls 6 title "Bog"

View File

@ -0,0 +1,100 @@
1.000000000000000e-06 9.996791129944504e-04 2.557931963013874e-14
1.204503540258781e-06 1.096049436651035e-03 1.355586210122227e-14
1.450828778495940e-06 1.201592925494163e-03 1.225664725981035e-14
1.747528400007683e-06 1.317158886205431e-03 1.598257741770033e-14
2.104904144512022e-06 1.443670377419786e-03 1.553247893694121e-14
2.535364493970111e-06 1.582129599439783e-03 2.230882620498033e-14
3.053855508833412e-06 1.733623466010337e-03 1.130567634193424e-14
3.678379771828634e-06 1.899329292079710e-03 9.168136807150408e-15
4.430621457583877e-06 2.080520546462278e-03 8.941527845815565e-15
5.336699231206313e-06 2.278572579850316e-03 1.057140657470087e-14
6.428073117284319e-06 2.494968213624501e-03 1.682809007854741e-14
7.742636826811277e-06 2.731303057010942e-03 2.158235509128861e-14
9.326033468832200e-06 2.989290379430286e-03 1.790773201737819e-14
1.123324032978027e-05 3.270765323019602e-03 8.353808266989640e-15
1.353047774579808e-05 3.577688205084459e-03 1.537411550943667e-14
1.629750834620643e-05 3.912146595755733e-03 2.046675609084057e-14
1.963040650040272e-05 4.276355807866374e-03 1.041375984263633e-14
2.364489412645407e-05 4.672657361346675e-03 9.442898908309776e-15
2.848035868435805e-05 5.103514918385979e-03 2.177252388925799e-14
3.430469286314919e-05 5.571507106520763e-03 1.355385365967878e-14
4.132012400115334e-05 6.079316564191177e-03 1.722006710295469e-14
4.977023564332114e-05 6.629714464411829e-03 2.564684275801428e-14
5.994842503189409e-05 7.225539694523696e-03 2.554501333168433e-14
7.220809018385471e-05 7.869671803804573e-03 1.695787882394503e-14
8.697490026177834e-05 8.564996782016131e-03 2.658873849714075e-14
1.047615752789665e-04 9.314364714811455e-03 1.779936391415356e-14
1.261856883066021e-04 1.012053838540738e-02 1.064230135425228e-14
1.519911082952935e-04 1.098613197565795e-02 1.050862880239978e-14
1.830738280295370e-04 1.191353918034108e-02 1.040613731113704e-14
2.205130739903046e-04 1.290485030633865e-02 2.586423292095546e-14
2.656087782946686e-04 1.396175830412725e-02 7.930149545878445e-15
3.199267137797384e-04 1.508545419022795e-02 1.499526619451621e-14
3.853528593710532e-04 1.627651297921249e-02 1.342770747306005e-14
4.641588833612782e-04 1.753477205586265e-02 1.023634881457026e-14
5.590810182512228e-04 1.885920487130150e-02 2.765339435610944e-14
6.734150657750828e-04 2.024779391078134e-02 2.653388108030865e-14
8.111308307896872e-04 2.169740800017178e-02 1.848982302504943e-14
9.770099572992256e-04 2.320369010996182e-02 2.747019587550595e-14
1.176811952434999e-03 2.476096276850066e-02 2.631955909658123e-14
1.417474162926806e-03 2.636215887515920e-02 4.192924768382370e-14
1.707352647470692e-03 2.799878596045715e-02 4.649229473307887e-14
2.056512308348653e-03 2.966093162880884e-02 6.191374939655213e-14
2.477076355991711e-03 3.133731692136629e-02 7.068211838210129e-14
2.983647240283340e-03 3.301540258494108e-02 7.718681628555673e-14
3.593813663804629e-03 3.468155073934840e-02 9.014213841818372e-14
4.328761281083062e-03 3.632124130749526e-02 9.213412330662208e-14
5.214008287999690e-03 3.791933902058761e-02 9.925880092027974e-14
6.280291441834260e-03 3.946040313698177e-02 9.578046008585107e-14
7.564633275546291e-03 4.092902858078346e-02 9.882381245478129e-14
9.111627561154896e-03 4.231020439338591e-02 9.583441188473053e-14
1.097498765493057e-02 4.358967353465550e-02 9.098040840969979e-14
1.321941148466031e-02 4.475427741179566e-02 9.678591042746094e-14
1.592282793341094e-02 4.579226915716316e-02 9.326011061107550e-14
1.917910261672489e-02 4.669358156904567e-02 7.331622846406362e-14
2.310129700083163e-02 4.745003857001830e-02 1.004886478194426e-13
2.782559402207126e-02 4.805550270779536e-02 1.626260746562471e-13
3.351602650938848e-02 4.850595523928645e-02 9.884079547955751e-14
4.037017258596558e-02 4.879950930719656e-02 4.899835384093640e-14
4.862601580065354e-02 4.893636029209755e-02 1.158300702496511e-13
5.857020818056673e-02 4.891868033797851e-02 1.404794135720631e-13
7.054802310718646e-02 4.875046614785260e-02 1.193502330145474e-13
8.497534359086456e-02 4.843735037753481e-02 7.734701506796261e-14
1.023531021899027e-01 4.798638736345803e-02 1.367368238191298e-13
1.232846739442068e-01 4.740582361759487e-02 1.353051430921332e-13
1.484968262254467e-01 4.670486266467164e-02 1.832731817846543e-13
1.788649529057435e-01 4.589343255502206e-02 3.066390750316590e-14
2.154434690031887e-01 4.498196292580856e-02 6.517966790521386e-14
2.595024211399737e-01 4.398117694794734e-02 2.857300074064858e-13
3.125715849688241e-01 4.290190200047433e-02 6.057279032265316e-14
3.764935806792471e-01 4.175490154059995e-02 2.150561858500172e-13
4.534878508128591e-01 4.055072943826252e-02 2.334716001099137e-13
5.462277217684348e-01 3.929960704428494e-02 1.688305245302381e-13
6.579332246575682e-01 3.801132246640253e-02 1.257445370556883e-13
7.924828983539185e-01 3.669515092787165e-02 8.482067596460347e-14
9.545484566618347e-01 3.535979465988242e-02 6.260799489717194e-14
1.149756995397738e+00 3.401334050728797e-02 1.388898699470944e-13
1.384886371393875e+00 3.266323328114151e-02 5.217375800077936e-14
1.668100537200059e+00 3.131626284552911e-02 1.058532162705175e-13
2.009233002565050e+00 2.997856295680849e-02 1.183201106668820e-13
2.420128264794383e+00 2.865561995980962e-02 1.916282323021867e-13
2.915053062825182e+00 2.735228957047526e-02 2.401075615256400e-13
3.511191734215135e+00 2.607282012357442e-02 6.768342085868621e-14
4.229242874389508e+00 2.482088082609937e-02 4.427738166642347e-14
5.094138014816386e+00 2.359959372331891e-02 6.448026250099959e-14
6.135907273413176e+00 2.241156824856846e-02 4.785349542559038e-14
7.390722033525790e+00 2.125893738534662e-02 3.832227225640614e-14
8.902150854450392e+00 2.014339461795944e-02 5.051785040371460e-14
1.072267222010325e+01 1.906623098298113e-02 3.342852165598801e-14
1.291549665014885e+01 1.802837165716611e-02 3.021999189499210e-14
1.555676143930475e+01 1.703041162783852e-02 3.517218008665782e-14
1.873817422860387e+01 1.607265008934711e-02 2.779265483678629e-14
2.257019719633922e+01 1.515512329437188e-02 3.661072404698132e-14
2.718588242732946e+01 1.427763566252462e-02 2.505773910434884e-14
3.274549162877732e+01 1.343978901163045e-02 2.646428876071254e-14
3.944206059437664e+01 1.264100983004557e-02 3.041915433078313e-14
4.750810162102803e+01 1.188057455279659e-02 3.427011953168885e-14
5.722367659350220e+01 1.115763284061530e-02 1.462980764856655e-14
6.892612104349709e+01 1.047122889035441e-02 1.703446938372462e-14
8.302175681319753e+01 9.820320828790861e-03 1.204047088593689e-14
1.000000000000000e+02 9.203798259569440e-03 1.635211949437703e-14

View File

@ -0,0 +1,100 @@
1.000000000000000e-06 9.996424492413445e-04 1.764759176311575e-14
1.204503540258781e-06 1.096001013555385e-03 1.360330251518952e-14
1.450828778495940e-06 1.201528977296280e-03 1.511853126044587e-14
1.747528400007683e-06 1.317074443462207e-03 1.398012403932306e-14
2.104904144512022e-06 1.443558883983310e-03 1.174135635838584e-14
2.535364493970111e-06 1.581982409476399e-03 1.181166625368473e-14
3.053855508833412e-06 1.733429176972252e-03 9.520703346967522e-15
3.678379771828634e-06 1.899072870049523e-03 1.477199840405002e-14
4.430621457583877e-06 2.080182180878662e-03 1.555717915012738e-14
5.336699231206313e-06 2.278126167047934e-03 1.273777677157719e-14
6.428073117284319e-06 2.494379372804907e-03 3.605743526003532e-14
7.742636826811277e-06 2.730526524861480e-03 1.273126964384903e-14
9.326033468832200e-06 2.988266590984414e-03 1.179431416269387e-14
1.123324032978027e-05 3.269415931338325e-03 3.009912003938589e-14
1.353047774579808e-05 3.575910216030217e-03 1.579076143644659e-14
1.629750834620643e-05 3.909804697962793e-03 3.730268686545136e-14
1.963040650040272e-05 4.273272355038325e-03 1.470889658974739e-14
2.364489412645407e-05 4.668599307299607e-03 9.145997557683504e-15
2.848035868435805e-05 5.098176805219534e-03 8.754476215748694e-15
3.430469286314919e-05 5.564488954016774e-03 3.422903494299122e-14
4.132012400115334e-05 6.070095190679457e-03 1.385647031053645e-14
4.977023564332114e-05 6.617606375004298e-03 2.379884179398437e-14
5.994842503189409e-05 7.209653182792970e-03 1.163784247112438e-14
7.220809018385471e-05 7.848845316025112e-03 1.366179095989315e-14
8.697490026177834e-05 8.537719871613364e-03 3.724398029631456e-14
1.047615752789665e-04 9.278677057124136e-03 2.637784295161166e-14
1.261856883066021e-04 1.007390132322578e-02 2.875290168691377e-14
1.519911082952935e-04 1.092526592922949e-02 9.550015107655818e-15
1.830738280295370e-04 1.183421900407458e-02 1.556938853519043e-14
2.205130739903046e-04 1.280164935858642e-02 1.133497198439562e-14
2.656087782946686e-04 1.382773070471037e-02 2.102757238598711e-14
3.199267137797384e-04 1.491174361453737e-02 1.747385725694730e-14
3.853528593710532e-04 1.605187558858611e-02 3.503968870559619e-14
4.641588833612782e-04 1.724500108618770e-02 2.577675521047174e-14
5.590810182512228e-04 1.848644538752444e-02 2.633781063728848e-14
6.734150657750828e-04 1.976973877688861e-02 5.765008312068870e-14
8.111308307896872e-04 2.108637079535263e-02 5.002689197753296e-14
9.770099572992256e-04 2.242555818087449e-02 4.549652970901848e-14
1.176811952434999e-03 2.377404447180944e-02 6.074569458022591e-14
1.417474162926806e-03 2.511595383967233e-02 7.470825186502400e-14
1.707352647470692e-03 2.643272611340524e-02 9.450916280070913e-14
2.056512308348653e-03 2.770316353956248e-02 1.410077534930732e-13
2.477076355991711e-03 2.890362176935628e-02 1.423716131544454e-13
2.983647240283340e-03 3.000837688190761e-02 1.595493501115812e-13
3.593813663804629e-03 3.099019585668598e-02 1.806286227436093e-13
4.328761281083062e-03 3.182112875076496e-02 1.949041586584519e-13
5.214008287999690e-03 3.247352610820262e-02 2.075376358361723e-13
6.280291441834260e-03 3.292126450953487e-02 2.097280315607298e-13
7.564633275546291e-03 3.314113712774110e-02 2.102377272944846e-13
9.111627561154896e-03 3.311433626998512e-02 2.048093670216979e-13
1.097498765493057e-02 3.282792412885498e-02 1.821161001879597e-13
1.321941148466031e-02 3.227616088890418e-02 1.641674569369241e-13
1.592282793341094e-02 3.146154192774165e-02 1.642471936112894e-13
1.917910261672489e-02 3.039539490386634e-02 1.077017630747162e-13
2.310129700083163e-02 2.909790920429372e-02 1.042858235956985e-13
2.782559402207126e-02 2.759751788973380e-02 7.313497091246187e-14
3.351602650938848e-02 2.592962395397779e-02 1.117243155569794e-13
4.037017258596558e-02 2.413474933889352e-02 3.786523359460530e-14
4.862601580065354e-02 2.225627088953894e-02 9.763534810219167e-14
5.857020818056673e-02 2.033797305146236e-02 1.393944774363172e-13
7.054802310718646e-02 1.842167577708929e-02 1.290640226679569e-13
8.497534359086456e-02 1.654517954574511e-02 4.239297011558011e-14
1.023531021899027e-01 1.474071139272134e-02 3.350303133819670e-14
1.232846739442068e-01 1.303397115319994e-02 2.127029298452714e-14
1.484968262254467e-01 1.144378625612702e-02 1.298865572632030e-13
1.788649529057435e-01 9.982305675311789e-03 4.628798108219644e-14
2.154434690031887e-01 8.655611739259588e-03 6.397932094160475e-14
2.595024211399737e-01 7.464606327886387e-03 2.423414069966775e-14
3.125715849688241e-01 6.406031898422801e-03 3.322679851805106e-14
3.764935806792471e-01 5.473509731319831e-03 7.851470577498406e-14
4.534878508128591e-01 4.658508680724053e-03 4.204308511778128e-14
5.462277217684348e-01 3.951189863400293e-03 8.182090425997793e-14
6.579332246575682e-01 3.341100968666214e-03 1.367949706889028e-14
7.924828983539185e-01 2.817715655193649e-03 3.130105820855755e-14
9.545484566618347e-01 2.370828286066013e-03 4.068933970043888e-14
1.149756995397738e+00 1.990822788966108e-03 1.175966182104011e-14
1.384886371393875e+00 1.668838066159566e-03 5.973905268190146e-14
1.668100537200059e+00 1.396852592590819e-03 1.077505663391400e-13
2.009233002565050e+00 1.167708942604489e-03 9.617247230343784e-15
2.420128264794383e+00 9.750960054767535e-04 1.332892817532053e-14
2.915053062825182e+00 8.135033134750610e-04 7.070633698527270e-15
3.511191734215135e+00 6.781586746197346e-04 8.192151573803895e-15
4.229242874389508e+00 5.649574306198204e-04 2.173395402515360e-14
5.094138014816386e+00 4.703892580579609e-04 3.221397384087175e-15
6.135907273413176e+00 3.914665137901705e-04 2.465093210577484e-15
7.390722033525790e+00 3.256566560554041e-04 1.054195282267954e-13
8.902150854450392e+00 2.708201876121645e-04 1.763579120526998e-15
1.072267222010325e+01 2.251547953209304e-04 1.048264548971050e-13
1.291549665014885e+01 1.871458338265689e-04 9.947599265439233e-15
1.555676143930475e+01 1.555229594282470e-04 1.158199515173392e-15
1.873817422860387e+01 1.292225141205694e-04 9.319604832811551e-16
2.257019719633922e+01 1.073551496286977e-04 5.244863713602307e-14
2.718588242732946e+01 8.917813671942175e-05 4.169604052705751e-16
3.274549162877732e+01 7.407180357771646e-05 5.251294860012204e-14
3.944206059437664e+01 6.151957225656779e-05 5.364972970438718e-14
4.750810162102803e+01 5.109110263615562e-05 2.702282606280617e-16
5.722367659350220e+01 4.242810110983234e-05 2.445655240740449e-15
6.892612104349709e+01 3.523240116597968e-05 3.302696900260679e-16
8.302175681319753e+01 2.925597188965025e-05 9.050712276340781e-12
1.000000000000000e+02 2.429255623845345e-05 6.242595970465304e-12

View File

@ -0,0 +1,102 @@
# Potential: 16 e^{-|x|}, rho=0.02
# |x| 2-pt correlation
0.04641589 0.00532330 0.00040199 0.00532330 0.00040199 0.00000000 0.00000000 0.00000000 0.00000000
0.13924767 0.00537264 0.00024875 0.00537264 0.00024875 0.00000000 0.00000000 0.00000000 0.00000000
0.23207944 0.00605816 0.00017567 0.00605816 0.00017567 0.00000000 0.00000000 0.00000000 0.00000000
0.32491122 0.00727112 0.00014500 0.00727112 0.00014500 0.00000000 0.00000000 0.00000000 0.00000000
0.41774300 0.00896049 0.00013083 0.00896049 0.00013083 0.00000000 0.00000000 0.00000000 0.00000000
0.51057477 0.01116990 0.00012069 0.01116990 0.00012069 0.00000000 0.00000000 0.00000000 0.00000000
0.60340655 0.01418247 0.00011223 0.01418247 0.00011223 0.00000000 0.00000000 0.00000000 0.00000000
0.69623833 0.01828721 0.00011014 0.01828721 0.00011014 0.00000000 0.00000000 0.00000000 0.00000000
0.78907010 0.02370094 0.00011191 0.02370094 0.00011191 0.00000000 0.00000000 0.00000000 0.00000000
0.88190188 0.03049612 0.00012453 0.03049612 0.00012453 0.00000000 0.00000000 0.00000000 0.00000000
0.97473366 0.03907954 0.00012112 0.03907954 0.00012112 0.00000000 0.00000000 0.00000000 0.00000000
1.06756543 0.04977163 0.00012676 0.04977163 0.00012676 0.00000000 0.00000000 0.00000000 0.00000000
1.16039721 0.06291596 0.00012880 0.06291596 0.00012880 0.00000000 0.00000000 0.00000000 0.00000000
1.25322899 0.07860896 0.00013522 0.07860896 0.00013522 0.00000000 0.00000000 0.00000000 0.00000000
1.34606076 0.09733963 0.00014306 0.09733963 0.00014306 0.00000000 0.00000000 0.00000000 0.00000000
1.43889254 0.11959686 0.00015342 0.11959686 0.00015342 0.00000000 0.00000000 0.00000000 0.00000000
1.53172432 0.14519143 0.00016228 0.14519143 0.00016228 0.00000000 0.00000000 0.00000000 0.00000000
1.62455609 0.17429949 0.00016887 0.17429949 0.00016887 0.00000000 0.00000000 0.00000000 0.00000000
1.71738787 0.20718710 0.00017469 0.20718710 0.00017469 0.00000000 0.00000000 0.00000000 0.00000000
1.81021965 0.24369539 0.00017395 0.24369539 0.00017395 0.00000000 0.00000000 0.00000000 0.00000000
1.90305142 0.28352716 0.00017471 0.28352716 0.00017471 0.00000000 0.00000000 0.00000000 0.00000000
1.99588320 0.32631191 0.00017370 0.32631191 0.00017370 0.00000000 0.00000000 0.00000000 0.00000000
2.08871498 0.37151918 0.00017082 0.37151918 0.00017082 0.00000000 0.00000000 0.00000000 0.00000000
2.18154675 0.41909276 0.00017134 0.41909276 0.00017134 0.00000000 0.00000000 0.00000000 0.00000000
2.27437853 0.46853305 0.00017701 0.46853305 0.00017701 0.00000000 0.00000000 0.00000000 0.00000000
2.36721031 0.51895440 0.00017445 0.51895440 0.00017445 0.00000000 0.00000000 0.00000000 0.00000000
2.46004208 0.56983458 0.00017914 0.56983458 0.00017914 0.00000000 0.00000000 0.00000000 0.00000000
2.55287386 0.62086170 0.00018145 0.62086170 0.00018145 0.00000000 0.00000000 0.00000000 0.00000000
2.64570564 0.67087338 0.00017118 0.67087338 0.00017118 0.00000000 0.00000000 0.00000000 0.00000000
2.73853741 0.71925531 0.00017770 0.71925531 0.00017770 0.00000000 0.00000000 0.00000000 0.00000000
2.83136919 0.76584767 0.00016606 0.76584767 0.00016606 0.00000000 0.00000000 0.00000000 0.00000000
2.92420097 0.80980633 0.00016880 0.80980633 0.00016880 0.00000000 0.00000000 0.00000000 0.00000000
3.01703274 0.85064291 0.00017081 0.85064291 0.00017081 0.00000000 0.00000000 0.00000000 0.00000000
3.10986452 0.88811443 0.00016890 0.88811443 0.00016890 0.00000000 0.00000000 0.00000000 0.00000000
3.20269630 0.92186331 0.00017448 0.92186331 0.00017448 0.00000000 0.00000000 0.00000000 0.00000000
3.29552807 0.95179423 0.00017224 0.95179423 0.00017224 0.00000000 0.00000000 0.00000000 0.00000000
3.38835985 0.97798233 0.00016981 0.97798233 0.00016981 0.00000000 0.00000000 0.00000000 0.00000000
3.48119163 1.00058535 0.00016426 1.00058535 0.00016426 0.00000000 0.00000000 0.00000000 0.00000000
3.57402340 1.01951391 0.00016349 1.01951391 0.00016349 0.00000000 0.00000000 0.00000000 0.00000000
3.66685518 1.03469645 0.00015961 1.03469645 0.00015961 0.00000000 0.00000000 0.00000000 0.00000000
3.75968696 1.04648197 0.00015142 1.04648197 0.00015142 0.00000000 0.00000000 0.00000000 0.00000000
3.85251873 1.05521888 0.00014825 1.05521888 0.00014825 0.00000000 0.00000000 0.00000000 0.00000000
3.94535051 1.06104242 0.00015316 1.06104242 0.00015316 0.00000000 0.00000000 0.00000000 0.00000000
4.03818229 1.06451223 0.00015174 1.06451223 0.00015174 0.00000000 0.00000000 0.00000000 0.00000000
4.13101406 1.06585125 0.00014890 1.06585125 0.00014890 0.00000000 0.00000000 0.00000000 0.00000000
4.22384584 1.06532590 0.00014168 1.06532590 0.00014168 0.00000000 0.00000000 0.00000000 0.00000000
4.31667762 1.06332074 0.00014668 1.06332074 0.00014668 0.00000000 0.00000000 0.00000000 0.00000000
4.40950939 1.05993711 0.00014682 1.05993711 0.00014682 0.00000000 0.00000000 0.00000000 0.00000000
4.50234117 1.05561851 0.00014625 1.05561851 0.00014625 0.00000000 0.00000000 0.00000000 0.00000000
4.59517295 1.05060642 0.00013572 1.05060642 0.00013572 0.00000000 0.00000000 0.00000000 0.00000000
4.68800472 1.04534502 0.00013193 1.04534502 0.00013193 0.00000000 0.00000000 0.00000000 0.00000000
4.78083650 1.03971938 0.00012073 1.03971938 0.00012073 0.00000000 0.00000000 0.00000000 0.00000000
4.87366828 1.03396128 0.00012257 1.03396128 0.00012257 0.00000000 0.00000000 0.00000000 0.00000000
4.96650005 1.02834322 0.00011721 1.02834322 0.00011721 0.00000000 0.00000000 0.00000000 0.00000000
5.05933183 1.02289857 0.00012010 1.02289857 0.00012010 0.00000000 0.00000000 0.00000000 0.00000000
5.15216361 1.01760580 0.00012241 1.01760580 0.00012241 0.00000000 0.00000000 0.00000000 0.00000000
5.24499538 1.01265617 0.00011612 1.01265617 0.00011612 0.00000000 0.00000000 0.00000000 0.00000000
5.33782716 1.00816416 0.00010902 1.00816416 0.00010902 0.00000000 0.00000000 0.00000000 0.00000000
5.43065894 1.00407768 0.00010997 1.00407768 0.00010997 0.00000000 0.00000000 0.00000000 0.00000000
5.52349071 1.00065299 0.00010948 1.00065299 0.00010948 0.00000000 0.00000000 0.00000000 0.00000000
5.61632249 0.99773671 0.00011169 0.99773671 0.00011169 0.00000000 0.00000000 0.00000000 0.00000000
5.70915427 0.99521455 0.00011022 0.99521455 0.00011022 0.00000000 0.00000000 0.00000000 0.00000000
5.80198604 0.99313289 0.00010491 0.99313289 0.00010491 0.00000000 0.00000000 0.00000000 0.00000000
5.89481782 0.99149782 0.00010175 0.99149782 0.00010175 0.00000000 0.00000000 0.00000000 0.00000000
5.98764960 0.99032198 0.00009790 0.99032198 0.00009790 0.00000000 0.00000000 0.00000000 0.00000000
6.08048137 0.98958110 0.00009610 0.98958110 0.00009610 0.00000000 0.00000000 0.00000000 0.00000000
6.17331315 0.98910112 0.00009612 0.98910112 0.00009612 0.00000000 0.00000000 0.00000000 0.00000000
6.26614493 0.98893555 0.00009629 0.98893555 0.00009629 0.00000000 0.00000000 0.00000000 0.00000000
6.35897670 0.98909456 0.00009693 0.98909456 0.00009693 0.00000000 0.00000000 0.00000000 0.00000000
6.45180848 0.98948384 0.00009719 0.98948384 0.00009719 0.00000000 0.00000000 0.00000000 0.00000000
6.54464026 0.99007466 0.00009778 0.99007466 0.00009778 0.00000000 0.00000000 0.00000000 0.00000000
6.63747203 0.99069454 0.00009175 0.99069454 0.00009175 0.00000000 0.00000000 0.00000000 0.00000000
6.73030381 0.99152323 0.00008887 0.99152323 0.00008887 0.00000000 0.00000000 0.00000000 0.00000000
6.82313559 0.99218652 0.00008729 0.99218652 0.00008729 0.00000000 0.00000000 0.00000000 0.00000000
6.91596736 0.99305844 0.00008686 0.99305844 0.00008686 0.00000000 0.00000000 0.00000000 0.00000000
7.00879914 0.99402451 0.00008778 0.99402451 0.00008778 0.00000000 0.00000000 0.00000000 0.00000000
7.10163092 0.99501487 0.00008386 0.99501487 0.00008386 0.00000000 0.00000000 0.00000000 0.00000000
7.19446269 0.99598405 0.00007919 0.99598405 0.00007919 0.00000000 0.00000000 0.00000000 0.00000000
7.28729447 0.99683782 0.00008214 0.99683782 0.00008214 0.00000000 0.00000000 0.00000000 0.00000000
7.38012625 0.99779938 0.00007994 0.99779938 0.00007994 0.00000000 0.00000000 0.00000000 0.00000000
7.47295802 0.99856267 0.00008169 0.99856267 0.00008169 0.00000000 0.00000000 0.00000000 0.00000000
7.56578980 0.99930080 0.00008203 0.99930080 0.00008203 0.00000000 0.00000000 0.00000000 0.00000000
7.65862158 1.00001485 0.00008598 1.00001485 0.00008598 0.00000000 0.00000000 0.00000000 0.00000000
7.75145335 1.00049762 0.00008693 1.00049762 0.00008693 0.00000000 0.00000000 0.00000000 0.00000000
7.84428513 1.00095153 0.00008531 1.00095153 0.00008531 0.00000000 0.00000000 0.00000000 0.00000000
7.93711691 1.00133388 0.00008126 1.00133388 0.00008126 0.00000000 0.00000000 0.00000000 0.00000000
8.02994868 1.00152882 0.00007855 1.00152882 0.00007855 0.00000000 0.00000000 0.00000000 0.00000000
8.12278046 1.00163599 0.00007736 1.00163599 0.00007736 0.00000000 0.00000000 0.00000000 0.00000000
8.21561224 1.00175148 0.00007549 1.00175148 0.00007549 0.00000000 0.00000000 0.00000000 0.00000000
8.30844401 1.00172584 0.00007298 1.00172584 0.00007298 0.00000000 0.00000000 0.00000000 0.00000000
8.40127579 1.00175558 0.00007456 1.00175558 0.00007456 0.00000000 0.00000000 0.00000000 0.00000000
8.49410757 1.00175353 0.00007550 1.00175353 0.00007550 0.00000000 0.00000000 0.00000000 0.00000000
8.58693934 1.00167392 0.00007070 1.00167392 0.00007070 0.00000000 0.00000000 0.00000000 0.00000000
8.67977112 1.00158009 0.00006882 1.00158009 0.00006882 0.00000000 0.00000000 0.00000000 0.00000000
8.77260290 1.00144512 0.00006669 1.00144512 0.00006669 0.00000000 0.00000000 0.00000000 0.00000000
8.86543467 1.00130747 0.00006420 1.00130747 0.00006420 0.00000000 0.00000000 0.00000000 0.00000000
8.95826645 1.00117137 0.00006419 1.00117137 0.00006419 0.00000000 0.00000000 0.00000000 0.00000000
9.05109823 1.00109365 0.00006530 1.00109365 0.00006530 0.00000000 0.00000000 0.00000000 0.00000000
9.14393000 1.00094515 0.00006273 1.00094515 0.00006273 0.00000000 0.00000000 0.00000000 0.00000000
9.23676178 1.00076430 0.00006358 1.00076430 0.00006358 0.00000000 0.00000000 0.00000000 0.00000000

View File

@ -0,0 +1,36 @@
PROJECTNAME=correlation
SIMPLESOLV=~/Work/Research/2018+bose_gas/cmp/simplesolv/source/src
DATS=bigeq.dat medeq.dat simpleq.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 "rho=2e-2;minlrho_init=-6;nlrho_init=60;v_a=16;N=12;P=8;J=10;tolerance=1e-11;maxiter=21;xmin=0;nx=100;xmax=10" -M simpleq-Kv -U exp 2pt > $@
medeq.dat:
julia $(SIMPLESOLV)/main.jl -p "rho=2e-2;minlrho_init=-6;nlrho_init=60;v_a=16;eq=medeq;N=12;P=8;J=10;tolerance=1e-11;maxiter=21;xmin=0;nx=100;xmax=10" -M anyeq -U exp 2pt > $@
bigeq.dat:
julia $(SIMPLESOLV)/main.jl -p "rho=2e-2;minlrho_init=-6;nlrho_init=60;v_a=16;eq=bigeq;N=12;P=8;J=10;tolerance=1e-11;maxiter=21;xmin=0;nx=100;xmax=10" -M anyeq -U exp 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

View File

@ -0,0 +1,100 @@
1.000000000000000e-01 2.815645668703404e-07
2.000000000000000e-01 3.771201995017570e-07
3.000000000000000e-01 5.573083439994964e-07
4.000000000000000e-01 8.556251627958034e-07
5.000000000000000e-01 1.320674217324758e-06
6.000000000000000e-01 2.018694725059689e-06
7.000000000000000e-01 3.035072077005863e-06
8.000000000000000e-01 4.474473100824739e-06
9.000000000000000e-01 6.463169864770135e-06
1.000000000000000e+00 9.145824377893419e-06
1.100000000000000e+00 1.268065874031561e-05
1.200000000000000e+00 1.723697883125914e-05
1.300000000000000e+00 2.298641995034885e-05
1.400000000000000e+00 3.009340795508391e-05
1.500000000000000e+00 3.870378505052217e-05
1.600000000000000e+00 4.893439939736397e-05
1.700000000000000e+00 6.086815836828259e-05
1.800000000000000e+00 7.454040323990952e-05
1.900000000000000e+00 8.992947608336822e-05
2.000000000000000e+00 1.069578478121016e-04
2.100000000000000e+00 1.254917813401447e-04
2.200000000000000e+00 1.453456861558196e-04
2.300000000000000e+00 1.662829558495016e-04
2.400000000000000e+00 1.880235498245581e-04
2.500000000000000e+00 2.102631019307806e-04
2.600000000000000e+00 2.326800099021663e-04
2.700000000000000e+00 2.549475411844160e-04
2.800000000000000e+00 2.767498310631324e-04
2.900000000000000e+00 2.977891460952948e-04
3.000000000000000e+00 3.177970059564316e-04
3.100000000000000e+00 3.365398251332887e-04
3.200000000000000e+00 3.538276894692456e-04
3.300000000000000e+00 3.695227606507144e-04
3.400000000000000e+00 3.835298625242662e-04
3.500000000000000e+00 3.957945216412487e-04
3.600000000000000e+00 4.063058424765387e-04
3.700000000000000e+00 4.150938073101305e-04
3.800000000000000e+00 4.222258495380544e-04
3.900000000000000e+00 4.277930177177151e-04
4.000000000000000e+00 4.319051405003001e-04
4.100000000000000e+00 4.346916273515270e-04
4.200000000000000e+00 4.362910698562371e-04
4.300000000000000e+00 4.368483889522392e-04
4.400000000000000e+00 4.365117022300800e-04
4.500000000000000e+00 4.354257230678466e-04
4.600000000000000e+00 4.337293215931519e-04
4.700000000000000e+00 4.315499980775908e-04
4.800000000000000e+00 4.290065333365035e-04
4.900000000000000e+00 4.262109600410286e-04
5.000000000000000e+00 4.232612058969635e-04
5.100000000000000e+00 4.202417151371156e-04
5.200000000000000e+00 4.172253958635412e-04
5.300000000000000e+00 4.142752266215253e-04
5.400000000000000e+00 4.114454301530826e-04
5.500000000000000e+00 4.087764640179003e-04
5.600000000000000e+00 4.062986163033597e-04
5.700000000000000e+00 4.040357632119026e-04
5.800000000000000e+00 4.020023512522621e-04
5.900000000000000e+00 4.002058609762183e-04
6.000000000000000e+00 3.986479410743549e-04
6.100000000000000e+00 3.973258486571445e-04
6.200000000000000e+00 3.962343351128094e-04
6.300000000000000e+00 3.953634402182200e-04
6.400000000000000e+00 3.947016475514070e-04
6.500000000000000e+00 3.942361349633637e-04
6.600000000000000e+00 3.939489438152859e-04
6.700000000000000e+00 3.938195472796021e-04
6.800000000000000e+00 3.938271252610278e-04
6.900000000000000e+00 3.939535337225030e-04
7.000000000000000e+00 3.941830350799711e-04
7.100000000000000e+00 3.944975316993734e-04
7.200000000000000e+00 3.948795394336185e-04
7.300000000000000e+00 3.953138211780876e-04
7.400000000000000e+00 3.957855128554423e-04
7.500000000000000e+00 3.962812697100951e-04
7.600000000000000e+00 3.967881536726375e-04
7.700000000000000e+00 3.972944903641516e-04
7.800000000000000e+00 3.977901679291229e-04
7.900000000000000e+00 3.982652029650100e-04
8.000000000000000e+00 3.987132916951087e-04
8.100000000000000e+00 3.991310569263629e-04
8.199999999999999e+00 3.995148186075982e-04
8.300000000000001e+00 3.998610349357616e-04
8.400000000000000e+00 4.001663085173719e-04
8.500000000000000e+00 4.004299880400858e-04
8.600000000000000e+00 4.006532574836569e-04
8.699999999999999e+00 4.008360199803870e-04
8.800000000000001e+00 4.009797694514636e-04
8.900000000000000e+00 4.010873950339037e-04
9.000000000000000e+00 4.011614782779821e-04
9.100000000000000e+00 4.012045847492319e-04
9.199999999999999e+00 4.012185293630343e-04
9.300000000000001e+00 4.012064074730058e-04
9.400000000000000e+00 4.011720950022673e-04
9.500000000000000e+00 4.011186205709775e-04
9.600000000000000e+00 4.010502350510486e-04
9.699999999999999e+00 4.009708050953865e-04
9.800000000000001e+00 4.008825998897835e-04
9.900000000000000e+00 4.007873038383584e-04
1.000000000000000e+01 4.006865033429884e-04

View File

@ -0,0 +1,28 @@
set title ""
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 \
"simpleq.dat" using 1:($2/rho**2) with lines ls 1 title "simple",\
"medeq.dat" using 1:($2/rho**2) with lines ls 3 title "med",\
"bigeq.dat" using 1:($2/rho**2) with lines ls 5 title "big",\
"2020-08-27+correlation.dat" using 1:2 ls 2 title "QMC"

View File

@ -0,0 +1,100 @@
1.000000000000000e-01 2.409497558083658e-05
2.000000000000000e-01 2.563753036922520e-05
3.000000000000000e-01 2.803118585850437e-05
4.000000000000000e-01 3.122977581390001e-05
5.000000000000000e-01 3.521052026960621e-05
6.000000000000000e-01 3.999854497197975e-05
7.000000000000000e-01 4.562809078643487e-05
8.000000000000000e-01 5.210653433745196e-05
9.000000000000000e-01 5.948794404584534e-05
1.000000000000000e+00 6.780281033988445e-05
1.100000000000000e+00 7.703645747918202e-05
1.200000000000000e+00 8.719953260639284e-05
1.300000000000000e+00 9.828879489894242e-05
1.400000000000000e+00 1.102770859953400e-04
1.500000000000000e+00 1.230991240794582e-04
1.600000000000000e+00 1.366634891389893e-04
1.700000000000000e+00 1.509169722024169e-04
1.800000000000000e+00 1.657725528415744e-04
1.900000000000000e+00 1.810844110908034e-04
2.000000000000000e+00 1.967116724287182e-04
2.100000000000000e+00 2.125215917343671e-04
2.200000000000000e+00 2.284013958426344e-04
2.300000000000000e+00 2.442090898640297e-04
2.400000000000000e+00 2.597721342614322e-04
2.500000000000000e+00 2.749652661274596e-04
2.600000000000000e+00 2.896677237490202e-04
2.700000000000000e+00 3.037612321180494e-04
2.800000000000000e+00 3.171602097031575e-04
2.900000000000000e+00 3.297801659901690e-04
3.000000000000000e+00 3.415497673580851e-04
3.100000000000000e+00 3.523980660464005e-04
3.200000000000000e+00 3.622829557463285e-04
3.300000000000000e+00 3.712282176960991e-04
3.400000000000000e+00 3.792426237730429e-04
3.500000000000000e+00 3.863119791890499e-04
3.600000000000000e+00 3.924426110183219e-04
3.700000000000000e+00 3.976731611982075e-04
3.800000000000000e+00 4.020826605311259e-04
3.900000000000000e+00 4.057263491557543e-04
4.000000000000000e+00 4.086404308431952e-04
4.100000000000000e+00 4.108895032614132e-04
4.200000000000000e+00 4.125315354368641e-04
4.300000000000000e+00 4.136322310898013e-04
4.400000000000000e+00 4.142724443016578e-04
4.500000000000000e+00 4.145243877998115e-04
4.600000000000000e+00 4.144527719147019e-04
4.700000000000000e+00 4.140914464326007e-04
4.800000000000000e+00 4.134786069775097e-04
4.900000000000000e+00 4.126823521756366e-04
5.000000000000000e+00 4.117500353988890e-04
5.100000000000000e+00 4.107134254577531e-04
5.200000000000000e+00 4.096038668591901e-04
5.300000000000000e+00 4.084622799904716e-04
5.400000000000000e+00 4.073413352933143e-04
5.500000000000000e+00 4.062591262479248e-04
5.600000000000000e+00 4.052201587332663e-04
5.700000000000000e+00 4.042397274098805e-04
5.800000000000000e+00 4.033162828400802e-04
5.900000000000000e+00 4.024458846352198e-04
6.000000000000000e+00 4.016272676253947e-04
6.100000000000000e+00 4.008680652389496e-04
6.200000000000000e+00 4.001916058758346e-04
6.300000000000000e+00 3.996103803182543e-04
6.400000000000000e+00 3.991410927955261e-04
6.500000000000000e+00 3.987979564627190e-04
6.600000000000000e+00 3.985571811877873e-04
6.700000000000000e+00 3.983769490017188e-04
6.800000000000000e+00 3.982197919263058e-04
6.900000000000000e+00 3.980787053564280e-04
7.000000000000000e+00 3.979726223311842e-04
7.100000000000000e+00 3.979038989863535e-04
7.200000000000000e+00 3.978759066567579e-04
7.300000000000000e+00 3.979010440813110e-04
7.400000000000000e+00 3.979817878643122e-04
7.500000000000000e+00 3.981161619963914e-04
7.600000000000000e+00 3.982886003195495e-04
7.700000000000000e+00 3.984785221769263e-04
7.800000000000000e+00 3.986661152418628e-04
7.900000000000000e+00 3.988257354626796e-04
8.000000000000000e+00 3.989565944696239e-04
8.100000000000000e+00 3.990769061548848e-04
8.199999999999999e+00 3.991960115569034e-04
8.300000000000001e+00 3.993151791540066e-04
8.400000000000000e+00 3.994276122831004e-04
8.500000000000000e+00 3.995388542645705e-04
8.600000000000000e+00 3.996593830854749e-04
8.699999999999999e+00 3.997806297355286e-04
8.800000000000001e+00 3.998981560232808e-04
8.900000000000000e+00 4.000120750153000e-04
9.000000000000000e+00 4.001156540235223e-04
9.100000000000000e+00 4.001996752915817e-04
9.199999999999999e+00 4.002501809460462e-04
9.300000000000001e+00 4.002669595454145e-04
9.400000000000000e+00 4.002605281513629e-04
9.500000000000000e+00 4.002385076791408e-04
9.600000000000000e+00 4.002191096985464e-04
9.699999999999999e+00 4.002159414484124e-04
9.800000000000001e+00 4.002265566088204e-04
9.900000000000000e+00 4.002407173561036e-04
1.000000000000000e+01 4.002468273509336e-04

View File

@ -0,0 +1,100 @@
1.000000000000000e-01 1.605737780249551e-04
2.000000000000000e-01 1.646572439544047e-04
3.000000000000000e-01 1.704080757058912e-04
4.000000000000000e-01 1.773557851093461e-04
5.000000000000000e-01 1.851044224101348e-04
6.000000000000000e-01 1.934631179487515e-04
7.000000000000000e-01 2.022815783256444e-04
8.000000000000000e-01 2.113166008266444e-04
9.000000000000000e-01 2.205514062470601e-04
1.000000000000000e+00 2.299100922022419e-04
1.100000000000000e+00 2.392010687597398e-04
1.200000000000000e+00 2.483927431722189e-04
1.300000000000000e+00 2.574627216447642e-04
1.400000000000000e+00 2.663716782880825e-04
1.500000000000000e+00 2.750255307210101e-04
1.600000000000000e+00 2.833194447156991e-04
1.700000000000000e+00 2.913275920636644e-04
1.800000000000000e+00 2.990690118719876e-04
1.900000000000000e+00 3.064419508037350e-04
2.000000000000000e+00 3.134041571052762e-04
2.100000000000000e+00 3.199627655953121e-04
2.200000000000000e+00 3.261914657071729e-04
2.300000000000000e+00 3.320914753877319e-04
2.400000000000000e+00 3.375867483959618e-04
2.500000000000000e+00 3.427111066585070e-04
2.600000000000000e+00 3.474867111992544e-04
2.700000000000000e+00 3.519144752983667e-04
2.800000000000000e+00 3.560412420485770e-04
2.900000000000000e+00 3.598804117875528e-04
3.000000000000000e+00 3.634395288473944e-04
3.100000000000000e+00 3.666895128306326e-04
3.200000000000000e+00 3.696276336197819e-04
3.300000000000000e+00 3.723593036530465e-04
3.400000000000000e+00 3.749209046753350e-04
3.500000000000000e+00 3.772689397071648e-04
3.600000000000000e+00 3.793778269156589e-04
3.700000000000000e+00 3.812660868878752e-04
3.800000000000000e+00 3.830179440586301e-04
3.900000000000000e+00 3.846498130865675e-04
4.000000000000000e+00 3.861258101611447e-04
4.100000000000000e+00 3.874630695870961e-04
4.200000000000000e+00 3.886580676449932e-04
4.300000000000000e+00 3.897206767014404e-04
4.400000000000000e+00 3.906932737222199e-04
4.500000000000000e+00 3.916028159083471e-04
4.600000000000000e+00 3.924665741715482e-04
4.700000000000000e+00 3.932427172838607e-04
4.800000000000000e+00 3.939058340660321e-04
4.900000000000000e+00 3.945028960921676e-04
5.000000000000000e+00 3.950448725779712e-04
5.100000000000000e+00 3.955186544190109e-04
5.200000000000000e+00 3.959191416625536e-04
5.300000000000000e+00 3.962705606470445e-04
5.400000000000000e+00 3.966325886316487e-04
5.500000000000000e+00 3.969991070866103e-04
5.600000000000000e+00 3.973436163168754e-04
5.700000000000000e+00 3.976718690386167e-04
5.800000000000000e+00 3.979595389501727e-04
5.900000000000000e+00 3.981830912287624e-04
6.000000000000000e+00 3.983293831181826e-04
6.100000000000000e+00 3.984081887159856e-04
6.200000000000000e+00 3.984672987972387e-04
6.300000000000000e+00 3.985336798925524e-04
6.400000000000000e+00 3.986476947341024e-04
6.500000000000000e+00 3.988491723338345e-04
6.600000000000000e+00 3.990980795021905e-04
6.700000000000000e+00 3.993175190723245e-04
6.800000000000000e+00 3.994403433193469e-04
6.900000000000000e+00 3.994655779456757e-04
7.000000000000000e+00 3.994486102018632e-04
7.100000000000000e+00 3.994065004241760e-04
7.200000000000000e+00 3.993584049905247e-04
7.300000000000000e+00 3.993437742046100e-04
7.400000000000000e+00 3.993799796463809e-04
7.500000000000000e+00 3.994753191954955e-04
7.600000000000000e+00 3.996083305740905e-04
7.700000000000000e+00 3.997464890365205e-04
7.800000000000000e+00 3.998583229153137e-04
7.900000000000000e+00 3.998970791518571e-04
8.000000000000000e+00 3.998690136667801e-04
8.100000000000000e+00 3.998205283220226e-04
8.199999999999999e+00 3.997767517319106e-04
8.300000000000001e+00 3.997445017464002e-04
8.400000000000000e+00 3.997118263157555e-04
8.500000000000000e+00 3.996937673149172e-04
8.600000000000000e+00 3.997159549569427e-04
8.699999999999999e+00 3.997607579547200e-04
8.800000000000001e+00 3.998197942978559e-04
8.900000000000000e+00 3.998946829458393e-04
9.000000000000000e+00 3.999714677968415e-04
9.100000000000000e+00 4.000305881360316e-04
9.199999999999999e+00 4.000410500051843e-04
9.300000000000001e+00 4.000014391187070e-04
9.400000000000000e+00 3.999330105526194e-04
9.500000000000000e+00 3.998492973740165e-04
9.600000000000000e+00 3.997874738537067e-04
9.699999999999999e+00 3.997749691406509e-04
9.800000000000001e+00 3.998043912261032e-04
9.900000000000000e+00 3.998519077270098e-04
1.000000000000000e+01 3.998904866755104e-04

View File

@ -0,0 +1,15 @@
# Potential: e^{-|x|}
# rho E E+dE eta eta+deta Jastrow E Jastrow E+dE Jastrow eta Jastrow eta+deta
1e-6 7.90e-6 7.91e-6
1e-4 8.344e-4 8.345e-4 0.017 0.018 8.355e-4 8.356e-4 0.015 0.016
1e-3 9.1338e-3 9.1339e-3 0.048 0.049 9.142e-3 9.143e-3 0.045 0.046
5e-3 5.0613e-2 5.0614e-2 0.080 0.081 5.0648e-2 5.0649e-2 0.070 0.071
1e-2 1.06107e-1 1.06108e-1 0.087 0.088 1.0627e-1 1.0628e-1 0.073 0.074
1.5e-2 1.6337e-1 1.6338e-1 0.090 0.091 1.6342e-1 1.6343e-1 0.088 0.089
2e-2 2.2162e-1 2.2163e-1 0.093 0.094 2.2169e-1 2.2170e-1 0.090 0.091
5e-2 5.8044e-1 5.8045e-1 0.091 0.092 5.8046e-1 5.8047e-1 0.091 0.092
1e-1 1.1918e+0 1.1919e+0 0.088 0.089 1.1919e+0 1.1920e+0 0.085 0.086
1e-0 1.2430e+1 1.2431e+1 0.058 0.059 1.245e+1 1.246e+1 0.05 0.06
1e+1 1.2544e+2 1.2545e+2 0.031 0.032
5e+1 6.2803e+2 6.2804e+2 0.02 0.03

37
figs/energy.fig/Makefile Normal file
View File

@ -0,0 +1,37 @@
PROJECTNAME=energy
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=1;minlrho=-6;nlrho=100;maxlrho=2" -M easyeq -U exp energy_rho > $@
medeq.dat:
julia $(SIMPLESOLV)/main.jl -p "eq=medeq;tolerance=1e-11;order=100;maxiter=100;v_a=1;minlrho=-6;nlrho=100;maxlrho=2" -M easyeq -U exp energy_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=1;minlrho=-6;nlrho=100;maxlrho=2" -M anyeq -U exp energy_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

100
figs/energy.fig/bigeq.dat Normal file
View File

@ -0,0 +1,100 @@
1.000000000000000e-06 7.933345669932108e-06 1.704968357654747e-12
1.204503540258781e-06 9.561695772478549e-06 3.479042916950106e-13
1.450828778495940e-06 1.152494614052415e-05 1.105615828881523e-13
1.747528400007683e-06 1.389218915189634e-05 6.516057629638973e-13
2.104904144512022e-06 1.674683575161553e-05 2.538927058524327e-13
2.535364493970111e-06 2.018960215367572e-05 1.880964786680250e-14
3.053855508833412e-06 2.434212593011697e-05 2.973660811899432e-14
3.678379771828634e-06 2.935134616878758e-05 2.601027107910687e-14
4.430621457583877e-06 3.539481155461295e-05 2.963343053481389e-13
5.336699231206313e-06 4.268711577772934e-05 8.111082866158586e-13
6.428073117284319e-06 5.148770312835425e-05 1.258065696556162e-12
7.742636826811277e-06 6.211034042585299e-05 1.460046719339352e-12
9.326033468832200e-06 7.493461690987080e-05 1.403493327361502e-12
1.123324032978027e-05 9.041991424013260e-05 1.190931394710978e-12
1.353047774579808e-05 1.091223876997595e-04 9.122943906836504e-13
1.629750834620643e-05 1.317156211714737e-04 6.270289167996145e-13
1.963040650040272e-05 1.590157675195849e-04 3.932273380946167e-13
2.364489412645407e-05 1.920121690316943e-04 2.176631964805619e-13
2.848035868435805e-05 2.319046775947738e-04 1.026358506480137e-13
3.430469286314919e-05 2.801491713026256e-04 4.446534105626415e-14
4.132012400115334e-05 3.385131054920545e-04 4.144974620326791e-14
4.977023564332114e-05 4.091433566527190e-04 2.207980896760987e-14
5.994842503189409e-05 4.946491352779899e-04 4.572485754229845e-14
7.220809018385471e-05 5.982033804561970e-04 6.770202411898077e-14
8.697490026177834e-05 7.236668315738020e-04 8.932369095090413e-14
1.047615752789665e-04 8.757399333684964e-04 1.182248084569074e-13
1.261856883066021e-04 1.060148908761868e-03 1.344231243816312e-13
1.519911082952935e-04 1.283873775901215e-03 1.493216888971958e-13
1.830738280295370e-04 1.555427846566146e-03 1.699458131695914e-13
2.205130739903046e-04 1.885200386765900e-03 2.059019619099669e-13
2.656087782946686e-04 2.285876721564974e-03 2.649891700928507e-13
3.199267137797384e-04 2.772953210497389e-03 3.620701665273268e-13
3.853528593710532e-04 3.365368304619666e-03 4.982472417338292e-13
4.641588833612782e-04 4.086275430706575e-03 6.801465168364811e-13
5.590810182512228e-04 4.963988854528130e-03 9.137218648090623e-13
6.734150657750828e-04 6.033140090007556e-03 1.205112818608528e-12
8.111308307896872e-04 7.336089997726976e-03 1.568949512234829e-12
9.770099572992256e-04 8.924650630547374e-03 2.015537944839303e-12
1.176811952434999e-03 1.086218134368278e-02 2.551669271262342e-12
1.417474162926806e-03 1.322613594632949e-02 3.175541504984204e-12
1.707352647470692e-03 1.611115205690737e-02 3.882570582394582e-12
2.056512308348653e-03 1.963279076107542e-02 4.659084950581694e-12
2.477076355991711e-03 2.393205473004278e-02 5.480860359934871e-12
2.983647240283340e-03 2.918083689398976e-02 6.316773798635380e-12
3.593813663804629e-03 3.558848057549190e-02 7.128689280361588e-12
4.328761281083062e-03 4.340966694307487e-02 7.877742721930180e-12
5.214008287999690e-03 5.295388832723841e-02 8.538097040660639e-12
6.280291441834260e-03 6.459681825795255e-02 9.099882246799092e-12
7.564633275546291e-03 7.879395326961169e-02 9.571289375001028e-12
9.111627561154896e-03 9.609698014020246e-02 9.973223641678962e-12
1.097498765493057e-02 1.171734181893564e-01 5.721422548997492e-15
1.321941148466031e-02 1.428302028457424e-01 2.220152020103125e-15
1.592282793341094e-02 1.740420176882147e-01 3.826728826701929e-15
1.917910261672489e-02 2.119853520055517e-01 2.868300139436348e-15
2.310129700083163e-02 2.580794649360160e-01 7.610004429207492e-15
2.782559402207126e-02 3.140356819487004e-01 6.059675090044115e-15
3.351602650938848e-02 3.819167428256006e-01 3.079883529777644e-15
4.037017258596558e-02 4.642082722623484e-01 5.845027410285226e-15
4.862601580065354e-02 5.639048668198076e-01 3.816993895235883e-15
5.857020818056673e-02 6.846137999573778e-01 3.474232903786021e-15
7.054802310718646e-02 8.306799580954581e-01 4.088512836639771e-15
8.497534359086456e-02 1.007336356586333e+00 3.416440773537374e-15
1.023531021899027e-01 1.220885470968219e+00 3.150210853153027e-15
1.232846739442068e-01 1.478917686986172e+00 2.371648956613387e-15
1.484968262254467e-01 1.790574459885084e+00 2.131970502004566e-15
1.788649529057435e-01 2.166865324247355e+00 1.071205796436568e-15
2.154434690031887e-01 2.621049764085537e+00 9.990417291453287e-12
2.595024211399737e-01 3.169097203910113e+00 9.249109275328039e-12
3.125715849688241e-01 3.830241093220283e+00 8.462348103996382e-12
3.764935806792471e-01 4.627646323429371e+00 7.654951972758785e-12
4.534878508128591e-01 5.589213151008605e+00 6.847954951876310e-12
5.462277217684348e-01 6.748545540181854e+00 6.060205450067071e-12
6.579332246575682e-01 8.146117547346687e+00 5.306471340562747e-12
7.924828983539185e-01 9.830678245708585e+00 4.598704413056710e-12
9.545484566618347e-01 1.186094397111715e+01 3.945605710986110e-12
1.149756995397738e+00 1.430763664633719e+01 3.351869307817862e-12
1.384886371393875e+00 1.725593895734062e+01 2.820957127030768e-12
1.668100537200059e+00 2.080845162887957e+01 2.352147114974057e-12
2.009233002565050e+00 2.508875548012610e+01 1.943437328683651e-12
2.420128264794383e+00 3.024570193985361e+01 1.592153241178217e-12
2.915053062825182e+00 3.645858099358198e+01 1.293588310581549e-12
3.511191734215135e+00 4.394334600051280e+01 1.042306124720846e-12
4.229242874389508e+00 5.296011151374482e+01 8.333799477286008e-13
5.094138014816386e+00 6.382218443728761e+01 6.605722153418092e-13
6.135907273413176e+00 7.690694209247896e+01 5.199590335170479e-13
7.390722033525790e+00 9.266893489306236e+01 4.063068137082775e-13
8.902150854450392e+00 1.116556685689670e+02 3.149814651697356e-13
1.072267222010325e+01 1.345266139156320e+02 2.426172104464820e-13
1.291549665014885e+01 1.620761041088648e+02 1.855737958789898e-13
1.555676143930475e+01 1.952609146057077e+02 1.407488425834523e-13
1.873817422860387e+01 2.352334832362353e+02 1.059912258811251e-13
2.257019719633922e+01 2.833819239247995e+02 7.975496994680734e-14
2.718588242732946e+01 3.413782233614627e+02 5.927022309304956e-14
3.274549162877732e+01 4.112362940653811e+02 4.383487153196387e-14
3.944206059437664e+01 4.953818995066683e+02 3.264119493319829e-14
4.750810162102803e+01 5.967368791641958e+02 2.438476380986774e-14
5.722367659350220e+01 7.188205979063790e+02 1.780368664039960e-14
6.892612104349709e+01 8.658721421294766e+02 1.399123723605710e-14
8.302175681319753e+01 1.042997505438325e+03 1.067384124266308e-14
1.000000000000000e+02 1.256346874319010e+03 8.538692087201394e-15

View File

@ -0,0 +1,41 @@
set title ""
set ylabel "$\\displaystyle\\frac{\\tilde e}{\\rho}$" norotate offset -1,0
set xlabel "$\\rho$"
set xtics 1e-6, 100, 100
set xtics add ("$10^{-6}$" 0.000001, "$10^{-4}$" 0.0001, "$10^{-2}$" 0.01, "$1$" 1.0, "$10^2$" 100)
unset mxtics
set xrange [0.000001:100]
set ytics 8, 1, 13
set mytics 2
set yrange [7.5:13]
# 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 2
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 "#999999" linewidth 1.5 dashtype (1,5)
set pointsize 1
set logscale x
a=1.2543564105910647
plot \
"simpleq.dat" using 1:($3<1e-5 ? ($2/$1) : 1/0) with lines ls 1 title "simple" ,\
"medeq.dat" using 1:($3<1e-5 ? ($2/$1) : 1/0) with lines ls 3 title "med",\
"bigeq.dat" using 1:($3<1e-5 ? ($2/$1) : 1/0) with lines ls 5 title "big",\
"2020-10-15+energy.dat" using 1:($2/$1) with points ls 2 title "QMC" ,\
2*pi*a*(1+128./(15*sqrt(pi))*sqrt(x*a**3)) ls 6 title "LHY"

100
figs/energy.fig/medeq.dat Normal file
View File

@ -0,0 +1,100 @@
1.000000000000000e-06 7.934286257047021e-06 3.350843411796514e-14
1.204503540258781e-06 9.563044082528665e-06 2.273624432538743e-14
1.450828778495940e-06 1.152686262633478e-05 1.298430519766377e-14
1.747528400007683e-06 1.389489317614862e-05 1.894777566363843e-14
2.104904144512022e-06 1.675062919238505e-05 1.653650872454784e-14
2.535364493970111e-06 2.019490280396468e-05 2.336983658291679e-14
3.053855508833412e-06 2.434951404943966e-05 2.214775068136617e-14
3.678379771828634e-06 2.936162846930739e-05 3.805584891901638e-14
4.430621457583877e-06 3.540910828910534e-05 1.427802345533630e-14
5.336699231206313e-06 4.270697869633961e-05 2.003273138190368e-14
6.428073117284319e-06 5.151527512777095e-05 2.551774430173645e-14
7.742636826811277e-06 6.214857192276333e-05 3.705994224138530e-14
9.326033468832200e-06 7.498755947811933e-05 7.265095211681475e-14
1.123324032978027e-05 9.049311901844221e-05 1.264190454286157e-14
1.353047774579808e-05 1.092234447947087e-04 1.053352694614131e-14
1.629750834620643e-05 1.318548872942263e-04 2.368465480922291e-14
1.963040650040272e-05 1.592073432336066e-04 1.660337987885090e-14
2.364489412645407e-05 1.922752053054458e-04 8.646141141307886e-15
2.848035868435805e-05 2.322651149462809e-04 2.442896517713713e-14
3.430469286314919e-05 2.806420446977329e-04 9.776919033399443e-15
4.132012400115334e-05 3.391855851696971e-04 1.271987985520055e-14
4.977023564332114e-05 4.100587399374810e-04 2.239769985922260e-14
5.994842503189409e-05 4.958920578361200e-04 2.600603141419754e-14
7.220809018385471e-05 5.998865777048775e-04 3.305695605996821e-14
8.697490026177834e-05 7.259398517100161e-04 1.348707825208008e-14
1.047615752789665e-04 8.788002810614415e-04 2.107644168610072e-14
1.261856883066021e-04 1.064256179216188e-03 3.010939452255121e-14
1.519911082952935e-04 1.289367416181562e-03 4.528098249733624e-14
1.830738280295370e-04 1.562749244492149e-03 7.011583917825588e-14
2.205130739903046e-04 1.894920022439264e-03 1.127696093174950e-13
2.656087782946686e-04 2.298727102221577e-03 1.467479187573012e-13
3.199267137797384e-04 2.789868219377111e-03 2.329360329563977e-13
3.853528593710532e-04 3.387529396559262e-03 2.906251121896537e-13
4.641588833612782e-04 4.115164764506077e-03 3.999178759473060e-13
5.590810182512228e-04 5.001448927349123e-03 5.543444903233915e-13
6.734150657750828e-04 6.081438699757301e-03 7.247686124008659e-13
8.111308307896872e-04 7.397988387264389e-03 9.394231632434480e-13
9.770099572992256e-04 9.003471469917696e-03 1.188210506033121e-12
1.176811952434999e-03 1.096187182983169e-02 1.453939404386284e-12
1.417474162926806e-03 1.335131984243035e-02 1.748927540773990e-12
1.707352647470692e-03 1.626716311543043e-02 2.048075825913765e-12
2.056512308348653e-03 1.982567889735244e-02 2.340515412122970e-12
2.477076355991711e-03 2.416855580506204e-02 2.605854351607331e-12
2.983647240283340e-03 2.946829731035233e-02 2.824445163694187e-12
3.593813663804629e-03 3.593472933729397e-02 2.981866401807997e-12
4.328761281083062e-03 4.382283052883180e-02 3.067362472205469e-12
5.214008287999690e-03 5.344214766200744e-02 3.073513956716823e-12
6.280291441834260e-03 6.516811202317233e-02 3.006095534695811e-12
7.564633275546291e-03 7.945563730982247e-02 2.868424849163193e-12
9.111627561154896e-03 9.685545817966755e-02 2.674678867537749e-12
1.097498765493057e-02 1.180337637230369e-01 2.440734483972164e-12
1.321941148466031e-02 1.437957952077961e-01 2.184363028675561e-12
1.592282793341094e-02 1.751142163796972e-01 1.917824774341397e-12
1.917910261672489e-02 2.131632321105708e-01 1.656059900213277e-12
2.310129700083163e-02 2.593596329389756e-01 1.410306668963206e-12
2.782559402207126e-02 3.154121858791141e-01 1.195131021990613e-12
3.351602650938848e-02 3.833810840481612e-01 9.871852649538251e-13
4.037017258596558e-02 4.657495191763944e-01 8.136332883253271e-13
4.862601580065354e-02 5.655098640080871e-01 6.823741984126656e-13
5.857020818056673e-02 6.862674605812320e-01 5.705185315457055e-13
7.054802310718646e-02 8.323656230237174e-01 4.590853816780889e-13
8.497534359086456e-02 1.009036201088274e+00 3.723504950962481e-13
1.023531021899027e-01 1.222580938798058e+00 3.740344313966540e-13
1.232846739442068e-01 1.480589932164776e+00 2.590030624091089e-13
1.484968262254467e-01 1.792204778156467e+00 4.308044222824868e-13
1.788649529057435e-01 2.168435558712142e+00 1.711857922602610e-13
2.154434690031887e-01 2.622542672548128e+00 2.630630812010949e-13
2.595024211399737e-01 3.170496778713019e+00 4.862348792954930e-13
3.125715849688241e-01 3.831532827526695e+00 3.222631437243052e-13
3.764935806792471e-01 4.628817420866958e+00 9.063217628519465e-14
4.534878508128591e-01 5.590252678180098e+00 3.126299632971088e-13
5.462277217684348e-01 6.749444523712865e+00 5.271767714437587e-13
6.579332246575682e-01 8.146869018854765e+00 7.067258691723872e-13
7.924828983539185e-01 9.831277239349690e+00 1.976481716430481e-13
9.545484566618347e-01 1.186138747922958e+01 1.213984608946686e-13
1.149756995397738e+00 1.430792353920593e+01 1.001843165310050e-13
1.384886371393875e+00 1.725606987330165e+01 7.356460075303617e-14
1.668100537200059e+00 2.080842884092954e+01 1.207511033175393e-13
2.009233002565050e+00 2.508858274495347e+01 1.420167716375784e-13
2.420128264794383e+00 3.024538433481086e+01 2.404214126545545e-13
2.915053062825182e+00 3.645812474662149e+01 8.020433476813964e-14
3.511191734215135e+00 4.394275831754763e+01 7.725490959360697e-14
4.229242874389508e+00 5.295940040730246e+01 9.193832425125519e-14
5.094138014816386e+00 6.382135855972534e+01 5.965887874370161e-14
6.135907273413176e+00 7.690601057644308e+01 7.369357116862908e-14
7.390722033525790e+00 9.266790720131583e+01 6.733622484011242e-14
8.902150854450392e+00 1.116545543551900e+02 7.236758339264480e-14
1.072267222010325e+01 1.345254228973254e+02 7.214733858698264e-14
1.291549665014885e+01 1.620748459530638e+02 4.566762659089573e-14
1.555676143930475e+01 1.952595988278435e+02 4.016462557967500e-14
1.873817422860387e+01 2.352321191121707e+02 4.222275907971552e-14
2.257019719633922e+01 2.833805204158014e+02 4.452644207417061e-14
2.718588242732946e+01 3.413767890516622e+02 9.381962021977345e-14
3.274549162877732e+01 4.112348371110992e+02 2.985855401371043e-14
3.944206059437664e+01 4.953804275968574e+02 4.510651797992799e-14
4.750810162102803e+01 5.967353994911545e+02 2.755681866935816e-14
5.722367659350220e+01 7.188191171458401e+02 2.159989114361577e-14
6.892612104349709e+01 8.658706664291410e+02 2.997352502706469e-14
8.302175681319753e+01 1.042996040413900e+03 4.590753851046225e-14
1.000000000000000e+02 1.256345425056825e+03 2.310603796838004e-14

100
figs/energy.fig/simpleq.dat Normal file
View File

@ -0,0 +1,100 @@
1.000000000000000e-06 7.934458317554770e-06 1.253408725811047e-14
1.204503540258781e-06 9.563293402409969e-06 1.640998151881320e-14
1.450828778495940e-06 1.152722385213290e-05 3.251262837839683e-14
1.747528400007683e-06 1.389541646472593e-05 3.019030546809478e-14
2.104904144512022e-06 1.675138713852244e-05 2.275714260526642e-14
2.535364493970111e-06 2.019600045252957e-05 3.271639597766372e-14
3.053855508833412e-06 2.435110335988150e-05 2.142094245826877e-14
3.678379771828634e-06 2.936392920320935e-05 1.339250507659264e-14
4.430621457583877e-06 3.541243815820425e-05 3.893851454934391e-14
5.336699231206313e-06 4.271179685321251e-05 3.095940660023124e-14
6.428073117284319e-06 5.152224486652221e-05 5.125396859042871e-14
7.742636826811277e-06 6.215865101443218e-05 2.890206750836624e-14
9.326033468832200e-06 7.500213022394945e-05 2.241466297924041e-14
1.123324032978027e-05 9.051417532865902e-05 2.370776274109386e-14
1.353047774579808e-05 1.092538610497785e-04 4.796262972662893e-14
1.629750834620643e-05 1.318988043420983e-04 4.229814231373338e-14
1.963040650040272e-05 1.592707219208866e-04 3.808954617986591e-14
2.364489412645407e-05 1.923666192393963e-04 2.141860559824167e-14
2.848035868435805e-05 2.323968842530530e-04 4.584119591708702e-14
3.430469286314919e-05 2.808318548521666e-04 2.138418227061501e-14
4.132012400115334e-05 3.394587942820992e-04 1.918556578598127e-14
4.977023564332114e-05 4.104516606676139e-04 1.694104962972332e-14
5.994842503189409e-05 4.964566151029166e-04 3.002291274309623e-14
7.220809018385471e-05 6.006969022092982e-04 4.294873137027481e-14
8.697490026177834e-05 7.271015873319120e-04 2.062540444418305e-14
1.047615752789665e-04 8.804636812878449e-04 3.334031557301778e-14
1.261856883066021e-04 1.066634469195621e-03 7.194072311053829e-14
1.519911082952935e-04 1.292762434131901e-03 8.278169514315650e-14
1.830738280295370e-04 1.567587086789660e-03 1.161190654702787e-13
2.205130739903046e-04 1.901800344392313e-03 1.797096379984733e-13
2.656087782946686e-04 2.308490918746631e-03 2.637598652434219e-13
3.199267137797384e-04 2.803690553578959e-03 3.722231676096834e-13
3.853528593710532e-04 3.407044978502708e-03 5.427762733833543e-13
4.641588833612782e-04 4.142637205871173e-03 7.734027562664818e-13
5.590810182512228e-04 5.039996370506877e-03 1.084741759773931e-12
6.734150657750828e-04 6.135331779936552e-03 1.475538242058165e-12
8.111308307896872e-04 7.473039279209971e-03 1.968813103343645e-12
9.770099572992256e-04 9.107535515599206e-03 2.559305054777023e-12
1.176811952434999e-03 1.110548530561432e-02 3.246800230285997e-12
1.417474162926806e-03 1.354849819420097e-02 3.999740063734383e-12
1.707352647470692e-03 1.653638267729146e-02 4.785597934980074e-12
2.056512308348653e-03 2.019106081393928e-02 5.541961698394948e-12
2.477076355991711e-03 2.466126270506543e-02 6.209989300668736e-12
2.983647240283340e-03 3.012814052292188e-02 6.719913925774575e-12
3.593813663804629e-03 3.681196682685592e-02 7.010516326080206e-12
4.328761281083062e-03 4.498011366911493e-02 7.042737419751455e-12
5.214008287999690e-03 5.495654983134250e-02 6.803473563255481e-12
6.280291441834260e-03 6.713314618359296e-02 6.316173694015080e-12
7.564633275546291e-03 8.198314659254460e-02 5.630438859203436e-12
9.111627561154896e-03 1.000772469953260e-01 4.814460500479356e-12
1.097498765493057e-02 1.221028309649795e-01 3.948371699573414e-12
1.321941148466031e-02 1.488870387812890e-01 3.104931054226393e-12
1.592282793341094e-02 1.814245009403908e-01 2.339516913805968e-12
1.917910261672489e-02 2.209107486051246e-01 1.688210571908239e-12
2.310129700083163e-02 2.687825259198435e-01 1.167659413279469e-12
2.782559402207126e-02 3.267664771683836e-01 7.775556337126751e-13
3.351602650938848e-02 3.969379725867567e-01 4.949300609691499e-13
4.037017258596558e-02 4.817921803787671e-01 3.047835972157860e-13
4.862601580065354e-02 5.843299025667947e-01 1.744034034347572e-13
5.857020818056673e-02 7.081611855740870e-01 2.145108372619088e-13
7.054802310718646e-02 8.576303130499369e-01 1.004811457230378e-13
8.497534359086456e-02 1.037966511958588e+00 4.718419633908083e-14
1.023531021899027e-01 1.255465580586508e+00 2.639823583877913e-14
1.232846739442068e-01 1.517708710502109e+00 1.889177952517916e-13
1.484968262254467e-01 1.833826060755470e+00 1.262402568827356e-13
1.788649529057435e-01 2.214814195859386e+00 2.307786324072868e-13
2.154434690031887e-01 2.673918372281924e+00 3.831494558709393e-14
2.595024211399737e-01 3.227092915163674e+00 6.546666422710970e-14
3.125715849688241e-01 3.893555644968086e+00 8.786410093299553e-14
3.764935806792471e-01 4.696455586182800e+00 3.094041097523017e-14
4.534878508128591e-01 5.663677129915349e+00 1.346721396138190e-14
5.462277217684348e-01 6.828808565598630e+00 2.348290345391161e-14
6.579332246575682e-01 8.232308608511897e+00 6.075413859670748e-14
7.924828983539185e-01 9.922911427699711e+00 3.551771518542288e-14
9.545484566618347e-01 1.195931896203401e+01 8.585404990085891e-14
1.149756995397738e+00 1.441223928837902e+01 4.176255867225544e-14
1.384886371393875e+00 1.736684182166722e+01 1.114486677072019e-13
1.668100537200059e+00 2.092571459958015e+01 5.653897977104765e-14
2.009233002565050e+00 2.521242633713612e+01 1.048273767790111e-14
2.420128264794383e+00 3.037581693424489e+01 8.488597666410238e-15
2.915053062825182e+00 3.659516541136894e+01 5.400259352206385e-14
3.511191734215135e+00 4.408641471307532e+01 5.485916680303097e-14
4.229242874389508e+00 5.310966951429405e+01 5.278885434248808e-14
5.094138014816386e+00 6.397822736362556e+01 2.945680129079298e-15
6.135907273413176e+00 7.706945673674652e+01 1.960764876087084e-15
7.390722033525790e+00 9.283789969933954e+01 3.647567907334253e-15
8.902150854450392e+00 1.118310541195708e+02 1.199399938192319e-15
1.072267222010325e+01 1.347083834068206e+02 5.355510579254647e-14
1.291549665014885e+01 1.622642138164582e+02 9.997141006638315e-15
1.555676143930475e+01 1.954553143409147e+02 1.109395412861689e-14
1.873817422860387e+01 2.354341167917606e+02 1.106759345282809e-15
2.257019719633922e+01 2.835887295111127e+02 2.010906753044690e-14
2.718588242732946e+01 3.415911340329474e+02 1.043218765631230e-14
3.274549162877732e+01 4.114552381359539e+02 1.315017988355486e-14
3.944206059437664e+01 4.956068009543682e+02 1.004394652722235e-14
4.750810162102803e+01 5.969676580241880e+02 5.364915392605858e-14
5.722367659350220e+01 7.190571706518009e+02 5.378285825138610e-14
6.892612104349709e+01 8.661144220395618e+02 5.426311368936924e-14
8.302175681319753e+01 1.043245402953268e+03 9.067219514460403e-12
1.000000000000000e+02 1.256600297381089e+03 6.252162647544124e-12

673
libs/ian.cls Normal file
View File

@ -0,0 +1,673 @@
%%
%% Ian's class file
%%
%% TeX format
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%% class name
\ProvidesClass{ian}[2017/09/29]
%% boolean to signal that this class is being used
\newif\ifianclass
%% options
% no section numbering in equations
\DeclareOption{section_in_eq}{\sectionsineqtrue}
\DeclareOption{section_in_fig}{\sectionsinfigtrue}
\DeclareOption{section_in_theo}{\PassOptionsToPackage{\CurrentOption}{iantheo}}
\DeclareOption{section_in_all}{\sectionsineqtrue\sectionsinfigtrue\PassOptionsToPackage{section_in_theo}{iantheo}}
\DeclareOption{subsection_in_eq}{\subsectionsineqtrue}
\DeclareOption{subsection_in_fig}{\subsectionsinfigtrue}
\DeclareOption{subsection_in_theo}{\PassOptionsToPackage{\CurrentOption}{iantheo}}
\DeclareOption{subsection_in_all}{\subsectionsineqtrue\subsectionsinfigtrue\PassOptionsToPackage{subsection_in_theo}{iantheo}}
\DeclareOption{no_section_in_eq}{\sectionsineqfalse}
\DeclareOption{no_section_in_fig}{\sectionsinfigfalse}
\DeclareOption{no_section_in_theo}{\PassOptionsToPackage{\CurrentOption}{iantheo}}
\DeclareOption{no_section_in_all}{\sectionsineqfalse\sectionsinfigfalse\PassOptionsToPackage{no_section_in_theo}{iantheo}}
\DeclareOption{no_subsection_in_eq}{\subsectionsineqfalse}
\DeclareOption{no_subsection_in_fig}{\subsectionsinfigfalse}
\DeclareOption{no_subsection_in_theo}{\PassOptionsToPackage{\CurrentOption}{iantheo}}
\DeclareOption{no_subsection_in_all}{\subsectionsineqfalse\subsectionsinfigfalse\PassOptionsToPackage{no_subsection_in_theo}{iantheo}}
% reset point
\DeclareOption{point_reset_at_section}{\PassOptionsToPackage{reset_at_section}{point}}
\DeclareOption{point_no_reset_at_section}{\PassOptionsToPackage{no_reset_at_section}{point}}
\DeclareOption{point_reset_at_theo}{\PassOptionsToPackage{reset_at_theo}{point}}
\DeclareOption{point_no_reset_at_theo}{\PassOptionsToPackage{no_reset_at_theo}{point}}
\def\ian@defaultoptions{
\ExecuteOptions{section_in_all, no_subsection_in_all}
\ProcessOptions
%% required packages
\RequirePackage{iantheo}
\RequirePackage{point}
\RequirePackage{color}
\RequirePackage{marginnote}
\RequirePackage{amssymb}
\PassOptionsToPackage{hidelinks}{hyperref}
\RequirePackage{hyperref}
\pagestyle{plain}
}
%% paper dimensions
\setlength\paperheight{297mm}
\setlength\paperwidth{210mm}
%% fonts
\input{size11.clo}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
%% text dimensions
\hoffset=-50pt
\voffset=-72pt
\textwidth=460pt
\textheight=704pt
%% remove default indentation
\parindent=0pt
%% indent command
\def\indent{\hskip20pt}
%% something is wrong with \thepage, redefine it
\gdef\thepage{\the\c@page}
%% array lines (to use the array environment)
\setlength\arraycolsep{5\p@}
\setlength\arrayrulewidth{.4\p@}
%% correct vertical alignment at the end of a document
\AtEndDocument{
\vfill
\eject
}
%% hyperlinks
% hyperlinkcounter
\newcounter{lncount}
% hyperref anchor
\def\hrefanchor{%
\stepcounter{lncount}%
\hypertarget{ln.\thelncount}{}%
}
%% define a command and write it to aux file
\def\outdef#1#2{%
% define command%
\expandafter\xdef\csname #1\endcsname{#2}%
% hyperlink number%
\expandafter\xdef\csname #1@hl\endcsname{\thelncount}%
% write command to aux%
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1\endcsname{\csname #1\endcsname}}%
\immediate\write\@auxout{\noexpand\expandafter\noexpand\gdef\noexpand\csname #1@hl\endcsname{\thelncount}}%
}
%% can call commands even when they are not defined
\def\safe#1{%
\ifdefined#1%
#1%
\else%
{\color{red}\bf?}%
\fi%
}
%% define a label for the latest tag
%% label defines a command containing the string stored in \tag
\def\deflabel{
\def\label##1{\expandafter\outdef{label@##1}{\safe\tag}}
\def\ref##1{%
% check whether the label is defined (hyperlink runs into errors if this check is omitted)
\ifcsname label@##1@hl\endcsname%
\hyperlink{ln.\csname label@##1@hl\endcsname}{{\color{blue}\safe\csname label@##1\endcsname}}%
\else%
\ifcsname label@##1\endcsname%
{\color{blue}\csname ##1\endcsname}%
\else%
{\bf ??}%
\fi%
\fi%
}
}
%% make a custom link at any given location in the document
\def\makelink#1#2{%
\hrefanchor%
\outdef{label@#1}{#2}%
}
%% section command
% counter
\newcounter{sectioncount}
% space before section
\newlength\secskip
\setlength\secskip{40pt}
% a prefix to put before the section number, e.g. A for appendices
\def\sectionprefix{}
% define some lengths
\newlength\secnumwidth
\newlength\sectitlewidth
\def\section#1{
% reset counters
\stepcounter{sectioncount}
\setcounter{subsectioncount}{0}
\ifsectionsineq
\setcounter{seqcount}0
\fi
\ifsectionsinfig
\setcounter{figcount}0
\fi
% space before section (if not first)
\ifnum\thesectioncount>1
\vskip\secskip
\penalty-1000
\fi
% hyperref anchor
\hrefanchor
% define tag (for \label)
\xdef\tag{\sectionprefix\thesectioncount}
% get widths
\def\@secnum{{\bf\Large\sectionprefix\thesectioncount.\hskip10pt}}
\settowidth\secnumwidth{\@secnum}
\setlength\sectitlewidth\textwidth
\addtolength\sectitlewidth{-\secnumwidth}
% print name
\parbox{\textwidth}{
\@secnum
\parbox[t]{\sectitlewidth}{\Large\bf #1}}
% write to table of contents
\iftoc
% save lncount in aux variable which is written to toc
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@sec.\thesectioncount\endcsname{\thelncount}}
\write\tocoutput{\noexpand\tocsection{#1}{\thepage}}
\fi
%space
\par\penalty10000
\bigskip\penalty10000
}
%% subsection
% counter
\newcounter{subsectioncount}
% space before subsection
\newlength\subsecskip
\setlength\subsecskip{30pt}
\def\subsection#1{
% counters
\stepcounter{subsectioncount}
\setcounter{subsubsectioncount}{0}
\ifsubsectionsineq
\setcounter{seqcount}0
\fi
\ifsubsectionsinfig
\setcounter{figcount}0
\fi
% space before subsection (if not first)
\ifnum\thesubsectioncount>1
\vskip\subsecskip
\penalty-500
\fi
% hyperref anchor
\hrefanchor
% define tag (for \label)
\xdef\tag{\sectionprefix\thesectioncount.\thesubsectioncount}
% get widths
\def\@secnum{{\bf\large\hskip.5cm\sectionprefix\thesectioncount.\thesubsectioncount.\hskip5pt}}
\settowidth\secnumwidth{\@secnum}
\setlength\sectitlewidth\textwidth
\addtolength\sectitlewidth{-\secnumwidth}
% print name
\parbox{\textwidth}{
\@secnum
\parbox[t]{\sectitlewidth}{\large\bf #1}}
% write to table of contents
\iftoc
% save lncount in aux variable which is written to toc
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@subsec.\thesectioncount.\thesubsectioncount\endcsname{\thelncount}}
\write\tocoutput{\noexpand\tocsubsection{#1}{\thepage}}
\fi
% space
\par\penalty10000
\medskip\penalty10000
}
%% subsubsection
% counter
\newcounter{subsubsectioncount}
% space before subsubsection
\newlength\subsubsecskip
\setlength\subsubsecskip{20pt}
\def\subsubsection#1{
% counters
\stepcounter{subsubsectioncount}
% space before subsubsection (if not first)
\ifnum\thesubsubsectioncount>1
\vskip\subsubsecskip
\penalty-500
\fi
% hyperref anchor
\hrefanchor
% define tag (for \label)
\xdef\tag{\sectionprefix\thesectioncount.\thesubsectioncount.\thesubsubsectioncount}
% get widths
\def\@secnum{{\bf\hskip1.cm\sectionprefix\thesectioncount.\thesubsectioncount.\thesubsubsectioncount.\hskip5pt}}
\settowidth\secnumwidth{\@secnum}
\setlength\sectitlewidth\textwidth
\addtolength\sectitlewidth{-\secnumwidth}
% print name
\parbox{\textwidth}{
\@secnum
\parbox[t]{\sectitlewidth}{\large\bf #1}}
% write to table of contents
\iftoc
% save lncount in aux variable which is written to toc
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@subsubsec.\thesectioncount.\thesubsectioncount.\thesubsubsectioncount\endcsname{\thelncount}}
\write\tocoutput{\noexpand\tocsubsubsection{#1}{\thepage}}
\fi
% space
\par\penalty10000
\medskip\penalty10000
}
%% itemize
\newlength\itemizeskip
% left margin for items
\setlength\itemizeskip{20pt}
\newlength\itemizeseparator
% space between the item symbol and the text
\setlength\itemizeseparator{5pt}
% penalty preceding an itemize
\newcount\itemizepenalty
\itemizepenalty=0
% counter counting the itemize level
\newcounter{itemizecount}
% item symbol
\def\itemizept#1{
\ifnum#1=1
\textbullet
\else
$\scriptstyle\blacktriangleright$
\fi
}
\newlength\current@itemizeskip
\setlength\current@itemizeskip{0pt}
\def\itemize{%
\par\expandafter\penalty\the\itemizepenalty\medskip\expandafter\penalty\the\itemizepenalty%
\addtocounter{itemizecount}{1}%
\addtolength\current@itemizeskip{\itemizeskip}%
\leftskip\current@itemizeskip%
}
\def\enditemize{%
\addtocounter{itemizecount}{-1}%
\addtolength\current@itemizeskip{-\itemizeskip}%
\par\expandafter\penalty\the\itemizepenalty\leftskip\current@itemizeskip%
\medskip\expandafter\penalty\the\itemizepenalty%
}
% item, with optional argument to specify the item point
% @itemarg is set to true when there is an optional argument
\newif\if@itemarg
\def\item{%
% check whether there is an optional argument (if there is none, add on empty '[]')
\@ifnextchar [{\@itemargtrue\@itemx}{\@itemargfalse\@itemx[]}%
}
\newlength\itempt@total
\def\@itemx[#1]{
\if@itemarg
\settowidth\itempt@total{#1}
\else
\settowidth\itempt@total{\itemizept\theitemizecount}
\fi
\addtolength\itempt@total{\itemizeseparator}
\par
\medskip
\if@itemarg
\hskip-\itempt@total#1\hskip\itemizeseparator
\else
\hskip-\itempt@total\itemizept\theitemizecount\hskip\itemizeseparator
\fi
}
%% prevent page breaks after itemize
\newcount\previtemizepenalty
\def\nopagebreakafteritemize{
\previtemizepenalty=\itemizepenalty
\itemizepenalty=10000
}
%% back to previous value
\def\restorepagebreakafteritemize{
\itemizepenalty=\previtemizepenalty
}
%% enumerate
\newcounter{enumerate@count}
\def\enumerate{
\setcounter{enumerate@count}0
\let\olditem\item
\let\olditemizept\itemizept
\def\item{
% counter
\stepcounter{enumerate@count}
% set header
\def\itemizept{\theenumerate@count.}
% hyperref anchor
\hrefanchor
% define tag (for \label)
\xdef\tag{\theenumerate@count}
\olditem
}
\itemize
}
\def\endenumerate{
\enditemize
\let\item\olditem
\let\itemizept\olditemizept
}
%% equation numbering
% counter
\newcounter{seqcount}
% booleans (write section or subsection in equation number)
\newif\ifsectionsineq
\newif\ifsubsectionsineq
\def\seqcount{
\stepcounter{seqcount}
% the output
\edef\seqformat{\theseqcount}
% add subsection number
\ifsubsectionsineq
\let\tmp\seqformat
\edef\seqformat{\thesubsectioncount.\tmp}
\fi
% add section number
\ifsectionsineq
\let\tmp\seqformat
\edef\seqformat{\sectionprefix\thesectioncount.\tmp}
\fi
% define tag (for \label)
\xdef\tag{\seqformat}
% write number
\marginnote{\hfill(\seqformat)}
}
%% equation environment compatibility
\def\equation{\hrefanchor$$\seqcount}
\def\endequation{$$\@ignoretrue}
%% figures
% counter
\newcounter{figcount}
% booleans (write section or subsection in equation number)
\newif\ifsectionsinfig
\newif\ifsubsectionsinfig
% width of figures
\newlength\figwidth
\setlength\figwidth\textwidth
\addtolength\figwidth{-2.5cm}
% caption
\def\defcaption{
\long\def\caption##1{
\stepcounter{figcount}
% hyperref anchor
\hrefanchor
% the number of the figure
\edef\figformat{\thefigcount}
% add subsection number
\ifsubsectionsinfig
\let\tmp\figformat
\edef\figformat{\thesubsectioncount.\tmp}
\fi
% add section number
\ifsectionsinfig
\let\tmp\figformat
\edef\figformat{\sectionprefix\thesectioncount.\tmp}
\fi
% define tag (for \label)
\xdef\tag{\figformat}
% write
\hfil fig \figformat: \parbox[t]{\figwidth}{\leavevmode\small##1}
% space
\par\bigskip
}
}
%% short caption: centered
\def\captionshort#1{
\stepcounter{figcount}
% hyperref anchor
\hrefanchor
% the number of the figure
\edef\figformat{\thefigcount}
% add section number
\ifsectionsinfig
\let\tmp\figformat
\edef\figformat{\sectionprefix\thesectioncount.\tmp}
\fi
% define tag (for \label)
\xdef\tag{\figformat}
% write
\hfil fig \figformat: {\small#1}
%space
\par\bigskip
}
%% environment
\def\figure{
\par
\vfil\penalty100\vfilneg
\bigskip
}
\def\endfigure{
\par
\bigskip
}
%% start appendices
\def\appendix{
\vfill
\pagebreak
% counter
\setcounter{sectioncount}0
% prefix
\def\sectionprefix{A}
% write
{\bf \LARGE Appendices}\par\penalty10000\bigskip\penalty10000
% add a mention in the table of contents
\iftoc
\immediate\write\tocoutput{\noexpand\tocappendices}\penalty10000
\fi
%% uncomment for new page for each appendix
%\def\seqskip{\vfill\pagebreak}
}
%% bibliography
% size of header
\newlength\bibheader
\def\thebibliography#1{
\hrefanchor
% add a mention in the table of contents
\iftoc
% save lncount in aux variable which is written to toc
\immediate\write\tocoutput{\noexpand\expandafter\noexpand\edef\noexpand\csname toc@references\endcsname{\thelncount}}
\write\tocoutput{\noexpand\tocreferences{\thepage}}\penalty10000
\fi
% write
{\bf \LARGE References}\par\penalty10000\bigskip\penalty10000
% width of header
\settowidth\bibheader{[#1]}
\leftskip\bibheader
}
% end environment
\def\endthebibliography{
\par\leftskip0pt
}
%% bibitem command
\def\bibitem[#1]#2{%
\hrefanchor%
\outdef{label@cite#2}{#1}%
\hskip-\bibheader%
\makebox[\bibheader]{\cite{#2}\hfill}%
}
%% cite command
% @tempswa is set to true when there is an optional argument
\newif\@tempswa
\def\cite{%
% check whether there is an optional argument (if there is none, add on empty '[]')
\@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}%
}
% command with optional argument
\def\@citex[#1]#2{\leavevmode%
% initialize loop
\let\@cite@separator\@empty%
% format
\@cite{%
% loop over ',' separated list
\@for\@cite@:=#2\do{%
% text to add at each iteration of the loop (separator between citations)
\@cite@separator\def\@cite@separator{,\ }%
% add entry to citelist
\@writecitation{\@cite@}%
\ref{cite\@cite@}%
}%
}%
% add optional argument text (as an argument to '\@cite')
{#1}%
}
\def\@cite#1#2{%
[#1\if@tempswa , #2\fi]%
}
%% add entry to citelist after checking it has not already been added
\def\@writecitation#1{%
\ifcsname if#1cited\endcsname%
\else%
\expandafter\newif\csname if#1cited\endcsname%
\immediate\write\@auxout{\string\citation{#1}}%
\fi%
}
%% table of contents
% boolean
\newif\iftoc
\def\tableofcontents{
% copy content from file
\IfFileExists{\jobname.toc}{\input{\jobname.toc}}{{\tt error: table of contents missing}}
% open new toc
\newwrite\tocoutput
\immediate\openout\tocoutput=\jobname.toc
\toctrue
}
%% close file
\AtEndDocument{
% close toc
\iftoc
\immediate\closeout\tocoutput
\fi
}
%% fill line with dots
\def\leaderfill{\leaders\hbox to 1em {\hss. \hss}\hfill}
%% same as sectionprefix
\def\tocsectionprefix{}
%% toc formats
\newcounter{tocsectioncount}
\def\tocsection #1#2{
\stepcounter{tocsectioncount}
\setcounter{tocsubsectioncount}{0}
\setcounter{tocsubsubsectioncount}{0}
% write
\smallskip\hyperlink{ln.\csname toc@sec.\thetocsectioncount\endcsname}{{\bf \tocsectionprefix\thetocsectioncount}.\hskip5pt {\color{blue}#1}\leaderfill#2}\par
}
\newcounter{tocsubsectioncount}
\def\tocsubsection #1#2{
\stepcounter{tocsubsectioncount}
\setcounter{tocsubsubsectioncount}{0}
% write
{\hskip10pt\hyperlink{ln.\csname toc@subsec.\thetocsectioncount.\thetocsubsectioncount\endcsname}{{\bf \thetocsubsectioncount}.\hskip5pt {\color{blue}\small #1}\leaderfill#2}}\par
}
\newcounter{tocsubsubsectioncount}
\def\tocsubsubsection #1#2{
\stepcounter{tocsubsubsectioncount}
% write
{\hskip20pt\hyperlink{ln.\csname toc@subsubsec.\thetocsectioncount.\thetocsubsectioncount.\thetocsubsubsectioncount\endcsname}{{\bf \thetocsubsubsectioncount}.\hskip5pt {\color{blue}\small #1}\leaderfill#2}}\par
}
\def\tocappendices{
\medskip
\setcounter{tocsectioncount}0
{\bf Appendices}\par
\smallskip
\def\tocsectionprefix{A}
}
\def\tocreferences#1{
\medskip
{\hyperlink{ln.\csname toc@references\endcsname}{{\color{blue}\bf References}\leaderfill#1}}\par
\smallskip
}
%% definitions that must be loaded at begin document
\let\ian@olddocument\document
\def\document{
\ian@olddocument
\deflabel
\defcaption
}
%% end
\ian@defaultoptions
\endinput

162
libs/iantheo.sty Normal file
View File

@ -0,0 +1,162 @@
%%
%% iantheorem package:
%% Ian's customized theorem command
%%
%% boolean to signal that this package was loaded
\newif\ifiantheo
%% TeX format
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%% package name
\ProvidesPackage{iantheo}[2016/11/10]
%% options
\newif\ifsectionintheo
\DeclareOption{section_in_theo}{\sectionintheotrue}
\DeclareOption{no_section_in_theo}{\sectionintheofalse}
\newif\ifsubsectionintheo
\DeclareOption{subsection_in_theo}{\subsectionintheotrue}
\DeclareOption{no_subsection_in_theo}{\subsectionintheofalse}
\def\iantheo@defaultoptions{
\ExecuteOptions{section_in_theo, no_subsection_in_theo}
\ProcessOptions
%%% reset at every new section
\ifsectionintheo
\let\iantheo@oldsection\section
\gdef\section{\setcounter{theocount}{0}\iantheo@oldsection}
\fi
%% reset at every new subsection
\ifsubsectionintheo
\let\iantheo@oldsubsection\subsection
\gdef\subsection{\setcounter{theocount}{0}\iantheo@oldsubsection}
\fi
}
%% delimiters
\def\delimtitle#1{
\par%
\leavevmode%
\raise.3em\hbox to\hsize{%
\lower0.3em\hbox{\vrule height0.3em}%
\hrulefill%
\ \lower.3em\hbox{#1}\ %
\hrulefill%
\lower0.3em\hbox{\vrule height0.3em}%
}%
\par\penalty10000%
}
%% callable by ref
\def\delimtitleref#1{
\par%
%
\ifdefined\ianclass%
% hyperref anchor%
\hrefanchor%
% define tag (for \label)%
\xdef\tag{#1}%
\fi%
%
\leavevmode%
\raise.3em\hbox to\hsize{%
\lower0.3em\hbox{\vrule height0.3em}%
\hrulefill%
\ \lower.3em\hbox{\bf #1}\ %
\hrulefill%
\lower0.3em\hbox{\vrule height0.3em}%
}%
\par\penalty10000%
}
%% no title
\def\delim{
\par%
\leavevmode\raise.3em\hbox to\hsize{%
\lower0.3em\hbox{\vrule height0.3em}%
\hrulefill%
\lower0.3em\hbox{\vrule height0.3em}%
}%
\par\penalty10000%
}
%% end delim
\def\enddelim{
\par\penalty10000%
\leavevmode%
\raise.3em\hbox to\hsize{%
\vrule height0.3em\hrulefill\vrule height0.3em%
}%
\par%
}
%% theorem
% counter
\newcounter{theocount}
% booleans (write section or subsection in equation number)
\def\theo#1{
\stepcounter{theocount}
\ifdefined\ianclass
% hyperref anchor
\hrefanchor
\fi
% the number
\def\formattheo{\thetheocount}
% add subsection number
\ifsubsectionintheo
\let\tmp\formattheo
\edef\formattheo{\thesubsectioncount.\tmp}
\fi
% add section number
\ifsectionintheo
\let\tmp\formattheo
\edef\formattheo{\sectionprefix\thesectioncount.\tmp}
\fi
% define tag (for \label)
\xdef\tag{\formattheo}
% write
\delimtitle{\bf #1 \formattheo}
}
\let\endtheo\enddelim
%% theorem headers with name
\def\theoname#1#2{
\theo{#1}\hfil({\it #2})\par\penalty10000\medskip%
}
%% qed symbol
\def\qedsymbol{$\square$}
\def\qed{\penalty10000\hfill\penalty10000\qedsymbol}
%% compatibility with article class
\ifdefined\ianclasstrue
\relax
\else
\def\thesectioncount{\thesection}
\def\thesubsectioncount{\thesubsection}
\def\sectionprefix{}
\fi
%% prevent page breaks after displayed equations
\newcount\prevpostdisplaypenalty
\def\nopagebreakaftereq{
\prevpostdisplaypenalty=\postdisplaypenalty
\postdisplaypenalty=10000
}
%% back to previous value
\def\restorepagebreakaftereq{
\postdisplaypenalty=\prevpostdisplaypenalty
}
%% end
\iantheo@defaultoptions
\endinput

114
libs/point.sty Normal file
View File

@ -0,0 +1,114 @@
%%
%% Points package:
%% \point commands
%%
%% TeX format
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%% package name
\ProvidesPackage{point}[2017/06/13]
%% options
\newif\ifresetatsection
\DeclareOption{reset_at_section}{\resetatsectiontrue}
\DeclareOption{no_reset_at_section}{\resetatsectionfalse}
\newif\ifresetatsubsection
\DeclareOption{reset_at_subsection}{\resetatsubsectiontrue}
\DeclareOption{no_reset_at_subsection}{\resetatsubsectionfalse}
\newif\ifresetatsubsubsection
\DeclareOption{reset_at_subsubsection}{\resetatsubsubsectiontrue}
\DeclareOption{no_reset_at_subsubsection}{\resetatsubsubsectionfalse}
\newif\ifresetattheo
\DeclareOption{reset_at_theo}{\resetattheotrue}
\DeclareOption{no_reset_at_theo}{\resetattheofalse}
\def\point@defaultoptions{
\ExecuteOptions{reset_at_section, reset_at_subsection, reset_at_subsubsection, no_reset_at_theo}
\ProcessOptions
%% reset at every new section
\ifresetatsection
\let\point@oldsection\section
\gdef\section{\resetpointcounter\point@oldsection}
\fi
%% reset at every new subsection
\ifresetatsubsection
\let\point@oldsubsection\subsection
\gdef\subsection{\resetpointcounter\point@oldsubsection}
\fi
%% reset at every new subsubsection
\ifresetatsubsubsection
\let\point@oldsubsubsection\subsubsection
\gdef\subsubsection{\resetpointcounter\point@oldsubsubsection}
\fi
%% reset at every new theorem
\ifresetattheo
\ifdefined\iantheotrue
\let\point@oldtheo\theo
\gdef\theo{\resetpointcounter\point@oldtheo}
\fi
\fi
}
%% point
% counter
\newcounter{pointcount}
\def\point{
\stepcounter{pointcount}
\setcounter{subpointcount}{0}
% hyperref anchor (only if the class is 'ian')
\ifdefined\ifianclass
\hrefanchor
% define tag (for \label)
\xdef\tag{\thepointcount}
\fi
% header
\indent{\bf \thepointcount\ - }
}
%% subpoint
% counter
\newcounter{subpointcount}
\def\subpoint{
\stepcounter{subpointcount}
\setcounter{subsubpointcount}0
% hyperref anchor (only if the class is 'ian')
\ifdefined\ifianclass
\hrefanchor
% define tag (for \label)
\xdef\tag{\thepointcount-\thesubpointcount}
\fi
% header
\indent\hskip.5cm{\bf \thepointcount-\thesubpointcount\ - }
}
%% subsubpoint
% counter
\newcounter{subsubpointcount}
\def\subsubpoint{
\stepcounter{subsubpointcount}
% hyperref anchor (only if the class is 'ian')
\ifdefined\ifianclass
\hrefanchor
% define tag (for \label)
\xdef\tag{\thepointcount-\thesubpointcount-\thesubsubpointcount}
\fi
\indent\hskip1cm{\bf \thepointcount-\thesubpointcount-\thesubsubpointcount\ - }
}
%% reset point counters
\def\resetpointcounter{
\setcounter{pointcount}{0}
\setcounter{subpointcount}{0}
\setcounter{subsubpointcount}{0}
}
%% end
\point@defaultoptions
\endinput