User: rhaas Date: 2012/04/05 01:53 PM
Modified: /handson_analysis/ handson_analysis.pdf, handson_analysis.tex
Log: describe CoreTracker versions avaiable
File Changes:
Directory: /handson_analysis/ =============================
File [modified]: handson_analysis.pdf Delta lines: +0 -0 =================================================================== (Binary files differ)
File [modified]: handson_analysis.tex Delta lines: +38 -2 =================================================================== --- handson_analysis/handson_analysis.tex 2012-04-05 18:46:42 UTC (rev 78) +++ handson_analysis/handson_analysis.tex 2012-04-05 18:53:03 UTC (rev 79) @@ -56,7 +56,7 @@ \begin{block}{What to compute} \begin{align*} M &= \int \Heaviside(\rho - \rho_{\text{min}}) - \Heaviside(R_{\text{max}} - |x^i - x^i_{\teut{old}}|) + \Heaviside(R_{\text{max}} - |x^i - x^i_{\text{old}}|) \rho,d^3x \ X^i&= \left( \int \Heaviside(\rho - \rho_{\text{min}}) @@ -103,7 +103,7 @@ \end{alltt} \item<2-> \texttt{MoL_PseudoEvolution} evaluate integrand on current time-slice \begin{alltt}\color{blue} -if(distance2 < SQR(core_radius) +if(distance2 < SQR(core_radius) && rho[idx] >= threshold_density) { core_density_x[idx] = x[idx] * rho[idx]; core_density[idx] = rho[idx]; @@ -155,4 +155,40 @@ \item controlled by a parameter \texttt{add_moving_blobs}. Check \texttt{param.ccl} for possible options and \texttt{src/moving_blobs.c} for the code. \end{itemize} \end{frame} + +\begin{frame}[fragile] + \frametitle{Sample implementation} + We provide a sample implementation in the workshop repostiory. The simplest way to download it is using GetComponents + \begin{center} + \begin{alltt} +cd $HOME +./GetComponents -a https://svn.einsteintoolkit.org/%5Ctextbackslash + documents/Workshop_Spring_2012/\textbackslash + handson_analysis/Cactus/misc/\textbackslash + CoreTracker.th + \end{alltt} + \end{center} + This will provide you with the final version of the code in + \texttt{arrangements/Introduction/CoreTracker} which you may + add to your thorn list in \texttt{Cactus/configs/sim/ThornList}. + There are also ``halfway'' versions of the code in \texttt{arrangements/Introduction/CoreTracker_stages}. +\end{frame} + +\begin{frame}[fragile] + \frametitle{Sample implementation stages} +\begin{tabular}{cc} +Version & adds \ +\hline\hline +\texttt{v0} & just after \texttt{make newthorn} \ +\texttt{v1} & adds \texttt{param.ccl}\ +\texttt{v2} & adds skeleton source file \texttt{src/coretracker.c}\ +\texttt{v3} & adds \texttt{interface.ccl}\ +\texttt{v4} & adds \texttt{schedule.ccl} \ +\texttt{v5} & adds initialization and evolution routines\ +\texttt{v6} & adds reduction routine\ +\texttt{v7} & adds routine to provide known data\ +\texttt{v8} & adds test case +\end{tabular} +\end{frame} + \end{document}