diff --git a/config.tex b/config.tex index f03b194..439a7a4 100644 --- a/config.tex +++ b/config.tex @@ -22,9 +22,9 @@ \setlength {\marginparwidth }{2cm} % add new (non-SI) units -\usepackage{siunitx} +\usepackage[binary-units]{siunitx} \DeclareSIUnit{\parsec}{pc} -\DeclareSIUnit{\year}{y} +\DeclareSIUnit{\year}{yr} % use special tikz libraries and overwrite the default arrow head \usepackage{tikz} diff --git a/constants.tex b/constants.tex index 1c4ccb8..c01e5b3 100644 --- a/constants.tex +++ b/constants.tex @@ -1,18 +1,18 @@ -\def\dateKickoffPhaseOne{25.10.2023} -\def\dateDeadlinePhaseZero{02.11.2023} -\def\dateKickoffPhaseTwo{27.11.2023} -\def\dateDeadlinePhaseOne{04.12.2023} -\def\dateDeadlinePhaseTwo{29.01.2024} -\def\dateFinal{TBA} +\def\dateKickoffPhaseOne{18.04.2024} +\def\dateDeadlinePhaseZero{29.04.2024} +\def\dateKickoffPhaseTwo{30.05.2024} +\def\dateDeadlinePhaseOne{03.06.2024} +\def\dateDeadlinePhaseTwo{01.07.2024} +\def\dateFinal{18.07.2024} -\def\urlIliasCourse{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_3426920.html} -\def\urlIliasForumGeneral{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_frm_3451473.html} -\def\urlIliasForumGroups{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_frm_3451472.html} -\def\urlIliasData{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_fold_3451475.html} -\def\urlIliasSubmissionPhaseZero{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3451474.html} -\def\urlIliasSubmissionPhaseOne{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3451474.html} -\def\urlIliasSubmissionPhaseTwo{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3451474.html} -\def\urlIliasSubmissionFinal{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3451474.html} +\def\urlIliasCourse{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_3622852.html} +\def\urlIliasForumGeneral{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_frm_3638992.html} +\def\urlIliasForumGroups{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_frm_3638991.html} +\def\urlIliasData{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_fold_3638994.html} +\def\urlIliasSubmissionPhaseZero{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3638993.html} +\def\urlIliasSubmissionPhaseOne{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3638993.html} +\def\urlIliasSubmissionPhaseTwo{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3638993.html} +\def\urlIliasSubmissionFinal{https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_exc_3638993.html} \def\semester{Summerterm 2024} diff --git a/content/slides.tex b/content/slides.tex index f46c3d8..a8aceb3 100644 --- a/content/slides.tex +++ b/content/slides.tex @@ -186,6 +186,8 @@ sudo apt install openjdk-18-jdk openjdk-18-jre maven \end{minted} \end{itemize} + \vfill + In your code, \textbf{only} the respective standard libraries (everything in \texttt{std} in \texttt{C++}, except C standard header and their \texttt{C++} counterparts (e.g., \mintinline{c++}{} is allowed, \mintinline{c++}{} or \mintinline{c++}{} is \textbf{not} allowed), and everything in \texttt{java.*} in \texttt{Java}) may be used! \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -241,31 +243,6 @@ \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[fragile] - \frametitle{Phase 1.1: Naive implementation of an n-body simulation} - Each particle $i$ with mass $m_i$ and position vector $\vec{r}_i$ experiences the force $\vec{a}_i$ from all other particles according to Newton's law of universal gravitation: - \begin{equation*} - \vec{a}_i = \sum\limits_{i \neq j} G m_j \frac{\vec{r}_j - \vec{r}_i}{(\norm{\vec{r}_j - \vec{r}_i}_2^2 + \epsilon^2)^\frac{3}{2}} - \end{equation*} - \pause - \begin{itemize} - \item Gravitational constant: $G = \num{6.67430e-11}\frac{\text{m}^3}{\text{kg} \cdot \text{s}^2}$ - \item Units do not match the given datasets: - \begin{itemize} - \item Mass in solar masses: $M_\odot = \SI{1.988435e30}{\kilo\gram}$ - \item Distance in parsecs: $\SI{1}{\parsec} = \SI{3.08567758129e16}{\meter}$ - \item Time in years: $\SI{1}{\year} = \num{365.25} \cdot \SI{86400}{\second}$ - \end{itemize} - \item Note: the correct scaling of $G$ should be calculated in the program! - \item Softening factor: $\epsilon = 0.1$ to avoid collisions between particles - \item $\norm{}_2^2$: squared Euclidean distance - \end{itemize} -\end{frame} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[fragile] \frametitle{Phase 0: Formation of groups} @@ -1049,6 +1026,8 @@ \end{minted} }% \vspace*{-1.75em} + \item If only an IPv6 address is available on the bwCloud, use \texttt{mvn -Djava.net.preferIPv6Addresses=true package} to build your Java programs. + \item In the Barnes-Hut algorithm, pay attention that the large black hole isn't located at the intersection point of all eight quadrants. \item MIT insider tip: \link{https://missing.csail.mit.edu/}{\enquote{The Missing Semester of Your CS Education}} \end{itemize} \end{frame} @@ -1060,9 +1039,9 @@ \frametitle{Important Dates} \begin{description} \item[\dateKickoffPhaseOne] Kick-off - \item[\dateDeadlinePhaseTwo] Group formation deadline + \item[\dateDeadlinePhaseZero] Group formation deadline \item[\dateKickoffPhaseTwo] Kick-off Phase 2 - \item[\dateDeadlinePhaseTwo] Phase 1 deadline + \item[\dateDeadlinePhaseOne] Phase 1 deadline \item[\dateDeadlinePhaseTwo] Phase 2 deadline \item[\dateFinal] Final presentations% (possibly multiple dates) \end{description} diff --git a/main.tex b/main.tex index e35d018..c090377 100644 --- a/main.tex +++ b/main.tex @@ -22,7 +22,7 @@ \department[logo=.logos/logo_scientific_comp.pdf, url=https://www.ipvs.uni-stuttgart.de/departments/sc/]{Scientific Computing}{SC} -\title{Programming\\ Project\\ Galaxy-Crash} +\title{Programming\\ Project\\ Galaxy-Crash\\ \textcolor{red}{(preliminary)}} \author[Van Craen, Breyer, Prof. Pflüger]{Alexander Van Craen,\\Marcel Breyer,\\Prof. Dr. Dirk Pflüger} \date{\semester}