[Commits] [svn:einsteintoolkit] Workshop_Spring_2012/handson_analysis/ (Rev. 27)
roland.haas at physics.gatech.edu
roland.haas at physics.gatech.edu
Tue Apr 3 13:06:07 CDT 2012
User: rhaas
Date: 2012/04/03 01:06 PM
Modified:
/handson_analysis/
handson_analysis.tex
Log:
add prototype of CCTK_Reduce (from UserGuide) to analysis_handson
File Changes:
Directory: /handson_analysis/
=============================
File [modified]: handson_analysis.tex
Delta lines: +20 -1
===================================================================
--- handson_analysis/handson_analysis.tex 2012-04-02 21:39:51 UTC (rev 26)
+++ handson_analysis/handson_analysis.tex 2012-04-03 18:06:07 UTC (rev 27)
@@ -67,7 +67,8 @@
\begin{block}{Does this fit into code?}
Certainly.
\begin{itemize}
- \item $\int$ $\rightarrow$ $\sum_{i,j,k} \text{grid-points}$
+ \item $\int$ $\rightarrow$
+ \parbox{.75\linewidth}{\begin{alltt}core\_density\_x[idx] = \ldots;\\\vdots\\CCTK\_Reduce(\ldots,handle\_sum,\ldots,core\_density\_x,\ldots);\end{alltt}}
\item $\Heaviside$ $\rightarrow$ \verb|if(...)|
\end{itemize}
\end{block}
@@ -118,4 +119,22 @@
\end{alltt}
\end{itemize}
\end{frame}
+
+\begin{frame}[fragile]
+ \frametitle{Useful functions}
+ \begin{itemize}
+ \item Section C1.7.4 of User Guide \url{http://einsteintoolkit.org/documentation/UsersGuide/UsersGuidech9.html#x13-116000C1.7.4}
+ \item[]
+ \begin{alltt}\color{blue}
+int CCTK\_Reduce(const cGH *GH,
+ int proc,
+ int operation\_handle,
+ int num\_out\_vals,
+ int type\_out\_vals,
+ void *out\_vals,
+ int num\_in\_fields,
+ ...);
+ \end{alltt}
+ \end{itemize}
+\end{frame}
\end{document}
More information about the Commits
mailing list