]> https://gitweb.dealii.org/ - release-papers.git/commitdiff
improve readability of tables
authorMatthias Maier <tamiko@43-1.org>
Fri, 24 Jun 2022 16:31:27 +0000 (11:31 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 24 Jun 2022 16:31:27 +0000 (11:31 -0500)
9.4/paper.tex

index f88ed4b76494d3f78b9f4800cdcb97e2627c6c6d..058428e0cb2f0da9ad3eeaa8115ad9395bc9b207 100644 (file)
@@ -21,6 +21,8 @@
 
 \usepackage{multirow}
 
+\usepackage{booktabs}
+
 %\renewcommand{\baselinestretch}{2.0}
 
 \graphicspath{{svg/}}
@@ -863,17 +865,15 @@ Because the particle IDs are already sorted in the intended order at this time,
 \begin{table}
   \caption{\it Timing of various particle operations for tutorial program \texttt{step-68} (particle advection in a 2D, Cartesian box) using 400,000 particles on a single process.}
   \label{tab:particle_timing}
-
   \centering
-  \begin{tabular}{|c|c|c|c|}
-    \hline
-   Particle Operation & \dealii 9.3 & \dealii 9.4 & Speedup \\
-   \hline
-   Generation & 444 ms & 235 ms & 1.9$\times$ \\
-   Iteration & 4.18 ms & 0.638 ms & 6.6$\times$ \\
-   Advection & 37.8 ms & 33.9 ms & 1.15$\times$ \\
-   Sorting & 21.9 ms & 9.27 ms & 2.4$\times$ \\
-   \hline
+  \begin{tabular}{lccc}
+    \toprule
+    Particle Operation & \dealii 9.3 & \dealii 9.4 & Speedup      \\[0.3em]
+    Generation         & 444 ms      & 235 ms      & 1.9$\times$  \\
+    Iteration          & 4.18 ms     & 0.638 ms    & 6.6$\times$  \\
+    Advection          & 37.8 ms     & 33.9 ms     & 1.15$\times$ \\
+    Sorting            & 21.9 ms     & 9.27 ms     & 2.4$\times$  \\
+    \bottomrule
   \end{tabular}
   \end{table}
 
@@ -930,14 +930,12 @@ much faster in \dealii 9.4 than in version 9.3. In particular, operations that d
 
   \centering
 
-  \begin{tabular}{|c|c|c|c|}
-  \hline
-Version       & MPI routine used            & 1 file, striping 16 & 16 files, no striping \\
-\hline
-\dealii{} 9.3 & \texttt{MPI\_File\_write\_ordered()} & 3 GB/s              & 15 GB/s              \\
-\dealii{} 9.4 & \texttt{MPI\_File\_write\_at\_all()} & 17 GB/s             & 21 GB/s
-\\
-\hline
+  \begin{tabular}{llcc}
+    \toprule
+    Version       & MPI routine used                     & 1 file, striping 16 & 16 files, no striping \\[0.3em]
+    \dealii{} 9.3 & \texttt{MPI\_File\_write\_ordered()} & 3 GB/s              & 15 GB/s               \\
+    \dealii{} 9.4 & \texttt{MPI\_File\_write\_at\_all()} & 17 GB/s             & 21 GB/s               \\
+    \bottomrule
 \end{tabular}
 
   \end{table}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.