[Commits] [svn:einsteintoolkit] Workshop_Summer_2013/ (Rev. 25)
rhaas at tapir.caltech.edu
rhaas at tapir.caltech.edu
Fri Jul 26 12:04:35 CDT 2013
User: rhaas
Date: 2013/07/26 12:04 PM
Modified:
/et_intro_details/
et_intro_details.tex
/handson_analysis/
handson_analysis.tex
Log:
save state on et_intro and handson_analysis
File Changes:
Directory: /et_intro_details/
=============================
File [modified]: et_intro_details.tex
Delta lines: +1 -1
===================================================================
--- et_intro_details/et_intro_details.tex 2013-07-26 17:04:29 UTC (rev 24)
+++ et_intro_details/et_intro_details.tex 2013-07-26 17:04:35 UTC (rev 25)
@@ -171,7 +171,7 @@
\item assemble directory structure
\item simplify update of modules
\item show local changes in all thorns
-\item operates on \texttt{thornlist} describing collection of thorns
+\item operates on \texttt{ThornList} describing collection of thorns
\end{itemize}
\end{frame}
Directory: /handson_analysis/
=============================
File [modified]: handson_analysis.tex
Delta lines: +16 -40
===================================================================
--- handson_analysis/handson_analysis.tex 2013-07-26 17:04:29 UTC (rev 24)
+++ handson_analysis/handson_analysis.tex 2013-07-26 17:04:35 UTC (rev 25)
@@ -5,7 +5,7 @@
\newcommand{\Heaviside}{\operatorname{\Theta}}
\subtitle[Analysis hands-on]{{\large Einstein Toolkit
-Workshop}\\*[0.3em]Hands-on exercise: tracking stars}
+Workshop}\\*[0.3em]Hands-on exercise: center of mass}
\author{Roland Haas}
\date{Jul 26 2013}
@@ -32,59 +32,35 @@
\begin{frame}
\frametitle{Problem description}
-\begin{block}{Requirements}
- \begin{itemize}
- \item be able to pick out a single neutron star, among several
- \item roughly track the neutron star centre
- \item be reasonably fast
- \item be easy to use
- \end{itemize}
-\end{block}
\begin{block}{Ansatz}
- \begin{itemize}
- \item compute centre of mass $X^i = \int \rho(x^i)\,x^i\,d^3x / \int \rho(x^i)\,d^3x$
- \item use distance from last known location to distinguish between
- stars
- \item use density to limit centre of mass to central region to remove
- influence of outflowing tails
- \end{itemize}
+ Compute centre of mass
+\begin{equation}
+X^i = \int \rho(x^i)\,x^i\,d^3x / \int \rho(x^i)\,d^3x
+\end{equation}
\end{block}
-\end{frame}
-
-\begin{frame}[containsverbatim]
-\frametitle{Recipe in formulae}
\begin{block}{What to compute}
\begin{align*}
- M &= \int \Heaviside(\rho - \rho_{\text{min}})
- \Heaviside(R_{\text{max}} - |x^i - x^i_{\text{old}}|)
- \rho\,d^3x \\
- X^i&= \left(
- \int \Heaviside(\rho - \rho_{\text{min}})
- \Heaviside(|x^i - x^i_{\text{old}}| - R_{\text{max}})
- \rho\,x^i\,d^3x \right) / M
+ M &= \int \rho\,d^3x \\
+ X^i&= \left(\rho\,x^i\,d^3x \right) / M
\end{align*}
\end{block}
\begin{block}{Does this fit into code?}
- Certainly.
- \begin{itemize}
- \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}
+ Certainly.\\
+ $\int$ $\rightarrow$
+ \parbox{.75\linewidth}{
+ \begin{alltt}
+ comIntegrandX[idx] = \ldots;\\
+ \vdots\\
+ CCTK\_Reduce(\ldots,handle\_sum,\ldots,varindex,\ldots);
+ \end{alltt}}
\end{block}
\end{frame}
\begin{frame}
\frametitle{Entities to define}
\begin{itemize}
- \item<1-> \texttt{param.ccl}
+ \item<1-> \texttt{interface.ccl}
\begin{alltt}\color{blue}
- CCTK\_REAL density\_threshold\\
- CCTK\_REAL core\_radius\\
- CCTK\_REAL inital\_core\_\{x,y,z\}
- \end{alltt}
- \item<2-> \texttt{interface.ccl}
- \begin{alltt}\color{blue}
CCTK\_REAL core\_density\_gf type=gf\\
\hspace{1cm}core\_density\_\{x,y,z\}\\
\hspace{1cm}core\_density\\
More information about the Commits
mailing list