summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore9
-rw-r--r--monte-carlo.tex88
2 files changed, 97 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7156c49
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+*.aux
+*.log
+*.bbl
+*.blg
+*Notes.bib
+*.dvi
+*.pdf
+*.synctex.gz
+
diff --git a/monte-carlo.tex b/monte-carlo.tex
new file mode 100644
index 0000000..5cf41fe
--- /dev/null
+++ b/monte-carlo.tex
@@ -0,0 +1,88 @@
+
+%
+% Created by Jaron Kent-Dobias on Thu Apr 20 12:50:56 EDT 2017.
+% Copyright (c) 2017 Jaron Kent-Dobias. All rights reserved.
+%
+\documentclass[aps,prl,reprint]{revtex4-1}
+
+\usepackage[utf8]{inputenc}
+\usepackage{amsmath,amssymb,latexsym,mathtools,xifthen}
+
+% uncomment to label only equations that are referenced in the text
+%\mathtoolsset{showonlyrefs=true}
+
+% I want labels but don't want to type out ``equation''
+\def\[{\begin{equation}}
+\def\]{\end{equation}}
+
+% math not built-in
+\def\arcsinh{\mathop{\mathrm{arcsinh}}\nolimits}
+\def\arccosh{\mathop{\mathrm{arccosh}}\nolimits}
+\def\ei{\mathop{\mathrm{Ei}}\nolimits} % exponential integral Ei
+\def\re{\mathop{\mathrm{Re}}\nolimits}
+\def\im{\mathop{\mathrm{Im}}\nolimits}
+\def\sgn{\mathop{\mathrm{sgn}}\nolimits}
+\def\dd{d} % differential
+\def\O{O} % big O
+\def\o{o} % little O
+
+% subscript for ``critical'' values, e.g., T_\c
+\def\c{\mathrm c}
+
+% scaling functions
+\def\fM{\mathcal M} % magnetization
+\def\fX{\mathcal Y} % susceptibility
+\def\fF{\mathcal F} % free energy
+\def\fiF{\mathcal H} % imaginary free energy
+\def\fS{\mathcal S} % surface tension
+\def\fG{\mathcal G} % exponential factor
+
+% lattice types
+\def\sq{\mathrm{sq}}
+\def\tri{\mathrm{tri}}
+\def\hex{\mathrm{hex}}
+
+% dimensions
+\def\dim{d}
+\def\twodee{\textsc{2d} }
+\def\threedee{\textsc{3d} }
+\def\fourdee{\textsc{4d} }
+
+% fancy partial derivative
+\newcommand\pd[3][]{
+ \ifthenelse{\isempty{#1}}
+ {\def\tmp{}}
+ {\def\tmp{^#1}}
+ \frac{\partial\tmp#2}{\partial#3\tmp}
+}
+
+% used to reformat display math to fit in two-column ``reprint'' mode
+\makeatletter
+\newif\ifreprint
+\@ifclasswith{revtex4-1}{reprint}{\reprinttrue}{\reprintfalse}
+\makeatother
+
+\begin{document}
+
+\title{A cluster algorithm for an Ising model in an external field}
+\author{Jaron Kent-Dobias}
+\author{James P.~Sethna}
+\affiliation{Laboratory of Atomic and Solid State Physics, Cornell University, Ithaca, NY, USA}
+
+\date\today
+
+\begin{abstract}
+ An abstract.
+\end{abstract}
+
+\maketitle
+
+
+\begin{acknowledgments}
+ Thatks!
+\end{acknowledgments}
+
+%\bibliography{monte-carlo}
+
+\end{document}
+