Created
February 8, 2022 01:19
-
-
Save bosilca/f82ffdc76e8f049e9822061e16e2cced to your computer and use it in GitHub Desktop.
Quick fix for the use of paragraph* in the MPI Datatype chapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/chap-datatypes/datatypes.tex b/chap-datatypes/datatypes.tex | |
index e37de6a1..ef781d01 100644 | |
--- a/chap-datatypes/datatypes.tex | |
+++ b/chap-datatypes/datatypes.tex | |
@@ -184,7 +184,7 @@ in \sectionref{sec:f90-problems:derived-types}. | |
\subsection{Type Constructors with Explicit Addresses} | |
\label{sec:misc-extent} | |
In Fortran, the functions | |
-\mpifunc{MPI\_TYPE\_CREATE\_HVECTOR},\flushline % force break to keep in margin | |
+\mpifunc{MPI\_TYPE\_CREATE\_HVECTOR}, | |
\mpifunc{MPI\_TYPE\_CREATE\_HINDEXED}, | |
\mpifunc{MPI\_TYPE\_CREATE\_HINDEXED\_BLOCK}, | |
\mpifunc{MPI\_TYPE\_CREATE\_STRUCT}, and \mpifunc{MPI\_GET\_ADDRESS} | |
@@ -208,7 +208,7 @@ instead of type \type{MPI\_AINT}. | |
\subsection{Datatype Constructors} | |
\label{subsec:pt2pt-datatypeconst} | |
-\paragraph*{Contiguous} | |
+\paragraph*{\textbf{Contiguous}} | |
The simplest datatype constructor is | |
\mpifunc{MPI\_TYPE\_CONTIGUOUS} which | |
@@ -271,7 +271,7 @@ entries defined by: | |
(type_{n-1} , disp_{n-1} + ex \cdot (\mpicode{count}-1)) \} . | |
\end{displaymath} | |
-\paragraph*{Vector} | |
+\paragraph*{\textbf{Vector}} | |
The function | |
\mpifunc{MPI\_TYPE\_VECTOR} is a more general constructor that | |
@@ -326,7 +326,7 @@ type, with a stride of 4 elements ($4 \cdot 16$ bytes) between the the start of | |
\label{pt2pt-exTTT} | |
\exindex{Typemap}% | |
\exindex{MPI\_TYPE\_VECTOR}% | |
-A call to \mpifunc{MPI\_TYPE\_VECTOR(3, 1, -2, oldtype, newtype)} will create | |
+Using the same \mpiarg{oldtype}, a call to \mpifunc{MPI\_TYPE\_VECTOR(3, 1, -2, oldtype, newtype)} will create | |
the datatype, | |
\begin{displaymath} | |
\{ | |
@@ -389,7 +389,7 @@ equivalent to a call to | |
\mpifunc{MPI\_TYPE\_VECTOR(1, count, n, oldtype, newtype)}, where \mpicode{n} | |
is an arbitrary integer value. | |
-\paragraph*{Hvector} | |
+\paragraph*{\textbf{Hvector}} | |
The function | |
\mpifunc{MPI\_TYPE\_CREATE\_HVECTOR} | |
@@ -466,7 +466,7 @@ ex ) , | |
\} . | |
\end{displaymath} | |
-\paragraph*{Indexed} | |
+\paragraph*{\textbf{Indexed}} | |
The function | |
\mpifunc{MPI\_TYPE\_INDEXED} allows | |
@@ -580,7 +580,7 @@ and | |
\mpiarg{B[j]} = \mpiarg{blocklength},\ j=0 ,\ldots, \mpicode{count} -1 . | |
\end{displaymath} | |
-\paragraph*{Hindexed} | |
+\paragraph*{\textbf{Hindexed}} | |
The function | |
\mpifunc{MPI\_TYPE\_CREATE\_HINDEXED} | |
@@ -657,7 +657,7 @@ $n \cdot \sum_{i=0}^{\mpicode{count}-1} | |
\} . | |
\end{displaymath} | |
-\paragraph*{Indexed\_block} | |
+\paragraph*{\textbf{Indexed\_block}} | |
This function is the same as \mpifunc{MPI\_TYPE\_INDEXED} except that the | |
blocklength is the same for all blocks. | |
@@ -689,7 +689,7 @@ displacements. | |
parameter("newtype", "DATATYPE", direction="out", desc="new datatype") | |
\end{mpi-binding} | |
-\paragraph*{Hindexed\_block} | |
+\paragraph*{\textbf{Hindexed\_block}} | |
The function \mpifunc{MPI\_TYPE\_CREATE\_HINDEXED\_BLOCK} is identical | |
to \mpifunc{MPI\_TYPE\_CREATE\_INDEXED\_BLOCK}, except that block | |
@@ -719,7 +719,7 @@ bytes, rather than in multiples of the \mpiarg{oldtype} extent. | |
parameter("newtype", "DATATYPE", direction="out", desc="new datatype") | |
\end{mpi-binding} | |
-\paragraph*{Struct} | |
+\paragraph*{\textbf{Struct}} | |
\mpifunc{MPI\_TYPE\_CREATE\_STRUCT} is the most general type constructor. | |
It further generalizes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment