Merge pull request 'Set up latex structure, and change filename in make file' (#13) from janitaws/latex into develop

Reviewed-on: #13
This commit is contained in:
Cory Balaton 2023-12-11 14:24:28 +00:00
commit 0ce181db3c
9 changed files with 231 additions and 1 deletions

View File

@ -1,4 +1,4 @@
SRC=ising_model SRC=schrodinger_simulation
PDFLATEX=pdflatex PDFLATEX=pdflatex
BIBTEX=bibtex BIBTEX=bibtex

96
latex/references.bib Normal file
View File

@ -0,0 +1,96 @@
# Schrodinger and Crank-Nicolson
# Math and statistics
@book{lindstrom:2016:kalkulus,
author = {Tom Lindstrøm},
title = {Kalkulus},
publisher = {Universitetsforlaget},
year = {2016},
edition = {4}
}
@book{gjevik:2014:appendix,
author = {Bjørn Gjevik and Morten Wang Fagerland},
title = {Feltteori og vektoranalyse},
publisher = {Farleia Forlag},
year = {2018}
}
@book{springer:2012:modernstat,
author = {Jay L. Devore and Kenneth N. Berk},
title = {Modern Mathematical Statistics with Application},
publisher = {Cham: Springer International Publishing AG},
year = {2021},
edition = {3}
}
# Python libraries
@article{hunter:2007:matplotlib,
author = {Hunter, J. D.},
title = {Matplotlib: A 2D graphics environment},
journal = {Computing in Science \& Engineering},
volume = {9},
number = {3},
pages = {90--95},
abstract = {Matplotlib is a 2D graphics package used for Python for
application development, interactive scripting, and publication-quality
image generation across user interfaces and operating systems.},
publisher = {IEEE COMPUTER SOC},
doi = {10.1109/MCSE.2007.55},
year = 2007
}
@article{waskom:2021:seaborn,
author = {Michael L. Waskom},
title = {seaborn: statistical data visualization},
journal = {Journal of Open Source Software},
volume = {6},
number = {60},
publisher = {The Open Journal},
year = {2021},
doi = {10.21105/joss.03021},
url = {https://doi.org/10.21105/joss.03021},
pages = {3021}
}
# C++ libraries
@misc{openmp:2018,
author = {OpenMP},
title = {OpenMP Application Programming Interface},
year = {2018},
url = {https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf},
urldate = {2023-10-22}
}
@inproceedings{gabriel:2004:open_mpi,
author = {Edgar Gabriel and Graham E. Fagg and George Bosilca
and Thara Angskun and Jack J. Dongarra and Jeffrey
M. Squyres and Vishal Sahay and Prabhanjan Kambadur
and Brian Barrett and Andrew Lumsdaine and Ralph
H. Castain and David J. Daniel and Richard L. Graham
and Timothy S. Woodall},
title = {Open {MPI}: Goals, Concept, and Design of a Next Generation {MPI} Implementation},
booktitle = {Proceedings, 11th European PVM/MPI Users' Group Meeting},
address = {Budapest, Hungary},
pages = {97--104},
year = {2004},
month = {September}
}
# Miscellaneous things
# Profiler
@online{scalasca,
author = {M. Geimer and F. Wolf and B.J.N. Wylie and E. Abraham and D. Becker and B. Mohr},
title = {Scalasca},
url = {https://www.scalasca.org/scalasca/about/about.html},
urldate = {2023-10-24},
note = {Tool to support performance optimization of parallel programs, measuring and analyzing runtime behavior.}
}
@online{scorep,
title = {Score-P: the Scalable Performance Measurement Infrastructure for Parallel Codes},
url = {https://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/latest/html/},
urldate = {2023-10-24},
note = {Tool suite for profiling and event tracing.}
}

View File

@ -0,0 +1,92 @@
\documentclass[english,notitlepage,reprint,nofootinbib]{revtex4-1} % defines the basic parameters of the document
%
% For preview: skriv i terminal: latexmk -pdf -pvc filnavn
% If you want a single-column, remove "reprint"
% Silence warning of revtex4-1
\usepackage{silence}
\WarningFilter{revtex4-1}{Repair the float}
% Allows special characters (including æøå)
\usepackage[utf8]{inputenc}
\usepackage{fontawesome}
\usepackage{multirow}
\usepackage[table]{xcolor}
% \rowcolors{2}{gray!15}{white}
% \usepackage{tabularx}
% \usepackage[english]{babel}
%% Note that you may need to download some of these packages manually, it depends on your setup.
%% I recommend downloading TeXMaker, because it includes a large library of the most common packages.
\usepackage{physics,amssymb} % mathematical symbols (physics imports amsmath)
\usepackage{graphicx} % include graphics such as plots
\graphicspath{.images/}
\usepackage{xcolor} % set colors
\usepackage{hyperref} % automagic cross-referencing
\usepackage{listings} % display code
% \usepackage{subfigure} % imports a lot of cool and useful figure commands
\usepackage{subcaption}
% \usepackage{float}
%\usepackage[section]{placeins}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\usepackage{tikz}
% \usetikzlibrary{quantikz}
% defines the color of hyperref objects
% Blending two colors: blue!80!black = 80% blue and 20% black
\hypersetup{ % this is just my personal choice, feel free to change things
colorlinks,
linkcolor={red!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}}
% Biblio stuff
% \def\biblio{\bibliographystyle{plain}\bibliography{../references/references}}
\newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}}
\usepackage{xr}
\usepackage{subfiles}
% \externaldocument[M-]{\subfix{main}}
\begin{document}
\title{Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions} % self-explanatory
\author{Cory Alexander Balaton \& Janita Ovidie Sandtrøen Willumsen \\ \faGithub \, \url{https://github.uio.no/FYS3150-G2-2023/Project-4}} % self-explanatory
\date{\today} % self-explanatory
\noaffiliation % ignore this, but keep it.
% Abstract
% \subfile{sections/abstract}
\maketitle
% Introduction
% \subfile{sections/introduction}
% Methods
% \subfile{sections/methods}
% Results
% \subfile{sections/results}
% Conclusion
% \subfile{sections/conclusion}
\clearpage
\newpage
% Appendix
% \subfile{sections/appendices}
\clearpage
\onecolumngrid
\bibliographystyle{unsrtnat}
\bibliography{references}
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../schrodinger_simulation.tex]{subfiles}
\begin{document}
\begin{abstract}
\end{abstract}
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../schrodinger_simulation.tex]{subfiles}
\begin{document}
\appendix
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../schrodinger_simulation.tex]{subfiles}
\begin{document}
\section{Conclusion}\label{sec:conclusion}
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../schrodinger_simulation.tex]{subfiles}
\begin{document}
\section{Introduction}\label{sec:introduction}
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../schrodinger_simulation.tex]{subfiles}
\begin{document}
\section{Methods}\label{sec:methods}
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../schrodinger_simulation.tex]{subfiles}
\begin{document}
\section{Results}\label{sec:results}
\end{document}