From 206020670ebb9ff695a10c0c0a1f6c21326b16ce Mon Sep 17 00:00:00 2001 From: Janita Willumsen Date: Fri, 8 Dec 2023 13:35:39 +0100 Subject: [PATCH] Set up latex structure, and change filename in make file --- latex/Makefile | 2 +- latex/references.bib | 96 ++++++++++++++++++++++++++++++++ latex/schrodinger_simulation.tex | 92 ++++++++++++++++++++++++++++++ latex/sections/abstract.tex | 7 +++ latex/sections/appendices.tex | 7 +++ latex/sections/conclusion.tex | 7 +++ latex/sections/introduction.tex | 7 +++ latex/sections/methods.tex | 7 +++ latex/sections/results.tex | 7 +++ 9 files changed, 231 insertions(+), 1 deletion(-) create mode 100644 latex/references.bib create mode 100644 latex/sections/abstract.tex create mode 100644 latex/sections/appendices.tex create mode 100644 latex/sections/conclusion.tex create mode 100644 latex/sections/introduction.tex create mode 100644 latex/sections/methods.tex create mode 100644 latex/sections/results.tex diff --git a/latex/Makefile b/latex/Makefile index 77f8d57..e17d9df 100644 --- a/latex/Makefile +++ b/latex/Makefile @@ -1,4 +1,4 @@ -SRC=ising_model +SRC=schrodinger_simulation PDFLATEX=pdflatex BIBTEX=bibtex diff --git a/latex/references.bib b/latex/references.bib new file mode 100644 index 0000000..a8cc3b3 --- /dev/null +++ b/latex/references.bib @@ -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.} +} + diff --git a/latex/schrodinger_simulation.tex b/latex/schrodinger_simulation.tex index e69de29..445d00f 100644 --- a/latex/schrodinger_simulation.tex +++ b/latex/schrodinger_simulation.tex @@ -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} + + diff --git a/latex/sections/abstract.tex b/latex/sections/abstract.tex new file mode 100644 index 0000000..8013794 --- /dev/null +++ b/latex/sections/abstract.tex @@ -0,0 +1,7 @@ +\documentclass[../schrodinger_simulation.tex]{subfiles} + +\begin{document} +\begin{abstract} + +\end{abstract} +\end{document} diff --git a/latex/sections/appendices.tex b/latex/sections/appendices.tex new file mode 100644 index 0000000..db71d54 --- /dev/null +++ b/latex/sections/appendices.tex @@ -0,0 +1,7 @@ +\documentclass[../schrodinger_simulation.tex]{subfiles} + +\begin{document} +\appendix + + +\end{document} diff --git a/latex/sections/conclusion.tex b/latex/sections/conclusion.tex new file mode 100644 index 0000000..34c3edd --- /dev/null +++ b/latex/sections/conclusion.tex @@ -0,0 +1,7 @@ +\documentclass[../schrodinger_simulation.tex]{subfiles} + +\begin{document} +\section{Conclusion}\label{sec:conclusion} + + +\end{document} diff --git a/latex/sections/introduction.tex b/latex/sections/introduction.tex new file mode 100644 index 0000000..1f9346e --- /dev/null +++ b/latex/sections/introduction.tex @@ -0,0 +1,7 @@ +\documentclass[../schrodinger_simulation.tex]{subfiles} + +\begin{document} +\section{Introduction}\label{sec:introduction} + + +\end{document} diff --git a/latex/sections/methods.tex b/latex/sections/methods.tex new file mode 100644 index 0000000..43bab2b --- /dev/null +++ b/latex/sections/methods.tex @@ -0,0 +1,7 @@ +\documentclass[../schrodinger_simulation.tex]{subfiles} + +\begin{document} +\section{Methods}\label{sec:methods} + + +\end{document} diff --git a/latex/sections/results.tex b/latex/sections/results.tex new file mode 100644 index 0000000..c0c702d --- /dev/null +++ b/latex/sections/results.tex @@ -0,0 +1,7 @@ +\documentclass[../schrodinger_simulation.tex]{subfiles} + +\begin{document} +\section{Results}\label{sec:results} + + +\end{document} -- 2.20.1