From fb5116cc3db4181e4b9e2d5789f22bd4afc0a34f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 28 May 2020 13:40:23 -0600 Subject: [PATCH] Inline a figure. --- 9.2/paper.tex | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/9.2/paper.tex b/9.2/paper.tex index 91e1e68..5d11adb 100644 --- a/9.2/paper.tex +++ b/9.2/paper.tex @@ -16,6 +16,8 @@ \usepackage{siunitx} +\usepackage{floatflt} + %\renewcommand{\baselinestretch}{2.0} \usepackage[normalem]{ulem} @@ -858,15 +860,6 @@ to the matrix-vector product to increase data locality. \subsection{Python interfaces} \label{subsec:python} -\begin{figure} -\centering -\includegraphics[scale=0.5]{python_mesh.png} -\caption{\it The mesh generated by the Python code shown in the main - text. Cells are colored by material id.} -\label{fig:pymesh} -\end{figure} - - Initial support for Python has existed in \dealii{} since version 9.0. The present release significantly extends the Python interface. Specifically, a large number of methods from classes such @@ -898,6 +891,16 @@ triangulation.execute_coarsening_and_refinement() \end{python} The mesh that results from this code is shown in Fig.~\ref{fig:pymesh}. +\begin{floatingfigure}[r]{0.3\textwidth} + \centering + \vspace*{-1.4cm} + \includegraphics[width=0.3\textwidth]{python_mesh.png} + \vspace*{-5mm} + \caption{\it The mesh generated by the Python code shown in the main + text. Cells are colored by material id.} + \vspace*{0.2cm} +\label{fig:pymesh} +\end{floatingfigure} All triangulations created from within Python are serial. However, once the mesh is designed, the triangulation can be serialized along with the auxiliary information about possible refinement, boundaries, -- 2.39.5