Added TikZ options and figure in presentation.

This commit is contained in:
Paul Romano 2011-09-27 23:47:34 -04:00
parent 4f863bbc30
commit 46f484ffac
3 changed files with 115 additions and 13 deletions

View file

@ -0,0 +1,47 @@
\tikzstyle{sNormalBlockStyle} =
[
draw,
rectangle,
rounded corners = 0.1cm,
fill = blue!20,
minimum height = 3em,
minimum width = 6em,
]
\tikzstyle{RectBlue} =
[
draw,
rectangle,
fill = blue!20,
minimum height = 2em,
minimum width = 2em,
]
\tikzstyle{RectGreen} =
[
draw,
rectangle,
fill = green!20,
minimum height = 2em,
minimum width = 2em,
]
\tikzstyle{RectWhite} =
[
draw,
rectangle,
minimum height = 2em,
minimum width = 2em,
]
\tikzstyle{sTextBlockStyle} =
[
draw,
rectangle,
drop shadow,
rounded corners = 0.1cm,
fill = blue!10,
thick,
inner xsep = 0.2cm, % minimum distance between text and borders along x dimension
inner ysep = 0.2cm % minimum distance between text and borders along y dimension
]

View file

@ -7,6 +7,11 @@
\usepackage{amsmath,amssymb,enumerate,epsfig,bbm,calc,color,ifthen,capt-of}
% TikZ packages
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.pathmorphing,decorations.footprints,fadings,calc,trees,mindmap,shadows,decorations.text,patterns,positioning,shapes,matrix,fit}
\usetheme{Berlin}
\usecolortheme{mit}
@ -24,6 +29,9 @@
\end{frame}
}
\beamerdefaultoverlayspecification{<+->}
\include{graphical_settings}
% -----------------------------------------------------------------------------
\begin{document}
% -----------------------------------------------------------------------------
@ -69,31 +77,33 @@
\begin{frame}{Geometry}
\begin{itemize}
\item All geometry is described as constructive solid geometry (unions and
\item<1-> All geometry is described as constructive solid geometry (unions and
intersections of second-order surfaces)
\item e.g. to construct an annulus
\item<1-> e.g. to construct an annulus
\end{itemize}
% Picture of annulus
\end{frame}
\begin{frame}{Cross-Sections}
\begin{itemize}
\item No need to reinvent the wheel
\item ACE (A Compact ENDF) Format
\item<1-> No need to reinvent the wheel
\item<1-> ACE (A Compact ENDF) Format
\begin{itemize}
\item MCNP
\item SERPENT
\item<1-> MCNP
\item<1-> SERPENT
\end{itemize}
\item Three arrays: NXS, JXS, XSS
\item Parse arrays into internal derived types
\item<1-> Three arrays: NXS, JXS, XSS
\item<1-> Parse arrays into internal derived types
\end{itemize}
\end{frame}
\begin{frame}{Union Energy Grid}
\begin{itemize}
\item Each nuclide has cross-sections tabulated at different energy points
\item To determine collision type, need $\Sigma$ for each collision
\item<1-> Each nuclide has cross-sections tabulated at different energy points
\item<1-> To determine collision type, need $\Sigma$ for each collision
\end{itemize}
% Insert picture of pointer method
\include{union_energy_grid}
\end{frame}
\begin{frame}{Tallies}
@ -128,8 +138,8 @@
\begin{frame}{Questions?}
References:
\begin{itemize}
\item Github \url{http://github.com/paulromano/openmc}.
\item Documentation \url{http://paulromano.github.com/openmc/}.
\item<1-> Github: \url{http://github.com/paulromano/openmc}.
\item<1-> Documentation: \url{http://paulromano.github.com/openmc/}.
\end{itemize}
\end{frame}
% -----------------------------------------------------------------------------

View file

@ -0,0 +1,45 @@
\begin{figure}
\begin{center}
\begin{tikzpicture}
[
transform canvas = {scale=0.7},
xshift = -5.0cm,
yshift = 1.0cm
]
\node (LabelOne) [sTextBlockStyle] {Union Energy Grid};
\node (EOne) [RectBlue, right of = LabelOne, node distance = 3cm] {$E_1$};
\node (ETwo) [RectBlue, right of = EOne] {$E_2$};
\node (EThree) [RectBlue, right of = ETwo] {$E_3$};
\node (EFour) [RectBlue, right of = EThree] {$E_4$};
\node (EFive) [RectBlue, right of = EFour] {$E_5$};
\node (ESix) [RectBlue, right of = EFive] {$E_6$};
\node (ESeven) [RectBlue, right of = ESix] {$E_7$};
\node (EEight) [RectBlue, right of = ESeven] {$E_8$};
\node (POne) [RectWhite, below of = EOne, node distance = 1.5cm] {0};
\node (PTwo) [RectWhite, below of = ETwo, node distance = 1.5cm] {0};
\node (PThree) [RectWhite, below of = EThree, node distance = 1.5cm] {1};
\node (PFour) [RectWhite, below of = EFour, node distance = 1.5cm] {1};
\node (PFive) [RectWhite, below of = EFive, node distance = 1.5cm] {1};
\node (PSix) [RectWhite, below of = ESix, node distance = 1.5cm] {2};
\node (PSeven) [RectWhite, below of = ESeven, node distance = 1.5cm] {3};
\node (PEight) [RectWhite, below of = EEight, node distance = 1.5cm] {3};
\node (ENucOne) [RectGreen, below of = PThree, node distance = 1.5cm] {$E_1$};
\node (ENucTwo) [RectGreen, below of = PSix, node distance = 1.5cm] {$E_2$};
\node (ENucThree) [RectGreen, below of = PSeven, node distance = 1.5cm] {$E_3$};
\draw [-triangle 45, thick] (EOne) -- (POne);
\draw [-triangle 45, thick] (ETwo) -- (PTwo);
\draw [-triangle 45, thick] (EThree) -- (PThree);
\draw [-triangle 45, thick] (EFour) -- (PFour);
\draw [-triangle 45, thick] (EFive) -- (PFive);
\draw [-triangle 45, thick] (ESix) -- (PSix);
\draw [-triangle 45, thick] (ESeven) -- (PSeven);
\draw [-triangle 45, thick] (EEight) -- (PEight);
\end{tikzpicture}
\end{center}
\end{figure}