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-1... + \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}
commits@lists.einsteintoolkit.org