Iniital commit of thesis.tex and stuff
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
% http://www.texample.net/tikz/examples/flexible-flow-chart/
|
||||
\documentclass{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,arrows,chains}
|
||||
|
||||
\usepackage[version=4]{mhchem}
|
||||
\usepackage{upgreek}
|
||||
\begin{document}
|
||||
% -------------------------------------------------
|
||||
% Start the picture
|
||||
\begin{tikzpicture}[%
|
||||
>=triangle 60, % Nice arrows; your taste may be different
|
||||
start chain=going below, % General flow is top-to-bottom
|
||||
node distance=5mm and 55mm, % Global setup of box spacing
|
||||
every join/.style={arrow}, % Default linetype for connecting boxes
|
||||
]
|
||||
% -------------------------------------------------
|
||||
% Color definition from https://www.schemecolor.com/cute-lights.php
|
||||
\definecolor{myred}{HTML}{FF555E}
|
||||
\definecolor{myyellow}{HTML}{FFE981}
|
||||
\definecolor{myblue}{HTML}{83B2FF}
|
||||
% -------------------------------------------------
|
||||
% Debugging Layer
|
||||
% top
|
||||
\pgfdeclarelayer{marx}
|
||||
\pgfsetlayers{main,marx}
|
||||
% A macro for marking coordinates (specific to the coordinate naming
|
||||
% scheme used here). Swap the following 2 definitions to deactivate
|
||||
% marks.
|
||||
\providecommand{\cmark}[2][]{\relax}
|
||||
\providecommand{\cmark}[2][]{%
|
||||
\begin{pgfonlayer}{marx}
|
||||
\node [nmark] at (c#2#1) {#2};
|
||||
\end{pgfonlayer}{marx}
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Box styles
|
||||
\tikzset{
|
||||
base/.style={on chain, on grid, align=center, minimum height=0.7cm, text width=4cm, font=\sffamily, draw=none, outer sep=0},
|
||||
proc/.style={base, rectangle, fill=myblue},
|
||||
test/.style={base, diamond, aspect=2.5, text width=3cm, inner sep=0.2mm, fill=myyellow},
|
||||
startstop/.style={proc, minimum height=4ex, fill=myred},
|
||||
% Debug styles
|
||||
coord/.style={coordinate, on chain, on grid, node distance=6mm and 25mm},
|
||||
nmark/.style={draw, cyan, circle, font={\sffamily}},
|
||||
% Line styles
|
||||
arrow/.style={->, draw, black},
|
||||
slabel/.style={near start, xshift=1.2em, font=\sffamily},
|
||||
welabel/.style={near start, yshift=-0.8em, font=\sffamily},
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Nodes
|
||||
\node [startstop] (start) {Start};
|
||||
\node [proc, join] (injection) {$\upbeta$-injection};
|
||||
\node [proc, right=1cm of injection.east, anchor=west, join, text width=4cm,] (process) {Process 1 from PQ
|
||||
\begin{flushleft}
|
||||
$\rightarrow$ Update densities \\
|
||||
$\rightarrow$ Log at barrier \\
|
||||
$\rightarrow$ New part. to PQ \\
|
||||
\end{flushleft}
|
||||
};
|
||||
\node [test, right =1cm of process.east, anchor=west, join] (empty) {PQ empty?};
|
||||
\node [test] (target) {Target decays?};
|
||||
\node [startstop] (end) {End};
|
||||
|
||||
% -------------------------------------------------
|
||||
% Coordinate markers
|
||||
\node [coord, above=1.8 cm of empty] (c0) {}; \cmark{0}
|
||||
\node [coord, left=of target] (c1) {}; \cmark{1}
|
||||
|
||||
% -------------------------------------------------
|
||||
% North south connectors
|
||||
\path (empty.south) to node [slabel] {yes} (target);
|
||||
\draw [arrow] (empty.south) -- (target);
|
||||
\path (target.south) to node [slabel] {yes} (end);
|
||||
\draw [arrow] (target.south) -- (end);
|
||||
|
||||
% -------------------------------------------------
|
||||
% Complicated connectors
|
||||
\path (empty.north) to node [slabel] {no} (c0);
|
||||
\draw [arrow] (empty.north) -- (c0) -| (process.north);
|
||||
\path (target.west) to node [welabel] {no} (c1);
|
||||
\draw [arrow] (target.west) --(c1) -| (injection.south);
|
||||
|
||||
|
||||
% Markings
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
@@ -0,0 +1,18 @@
|
||||
% http://www.texample.net/tikz/examples/flexible-flow-chart/
|
||||
\documentclass{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,arrows,chains}
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[>=triangle 60,font=\sffamily]
|
||||
\definecolor{myblue}{HTML}{2B86C0}
|
||||
\definecolor{myred}{HTML}{C14400}
|
||||
\draw[<->, black] (0,0) -- (0,3);
|
||||
\node [anchor = east] at (0,1.5) {$A$} ;
|
||||
|
||||
\draw [dashed](0.5,0) -- (0.5,3) -- (1.3,3) -- (1.3,0) -- (0.5,0);
|
||||
\draw[myred, very thick] (0.9,0) -- (0.9,3);
|
||||
\draw[->, myblue] (0.1,1.5) -- (1.9,1.5) node[anchor= south] {$v_z$};
|
||||
\draw[<->, black] (0.5, -0.2) -- (1.3, -0.2);
|
||||
\node [anchor = north] at (0.9,-0.2) {$\mathrm{d} l$} ;
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
Binary file not shown.
@@ -0,0 +1,65 @@
|
||||
% http://www.texample.net/tikz/examples/flexible-flow-chart/
|
||||
\documentclass{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,arrows,chains}
|
||||
\begin{document}
|
||||
% -------------------------------------------------
|
||||
% Start the picture
|
||||
\begin{tikzpicture}[%
|
||||
>=triangle 60, % Nice arrows; your taste may be different
|
||||
start chain=going below, % General flow is top-to-bottom
|
||||
node distance=6mm and 60mm, % Global setup of box spacing
|
||||
every join/.style={arrow}, % Default linetype for connecting boxes
|
||||
]
|
||||
% -------------------------------------------------
|
||||
% Color definition from https://www.schemecolor.com/cute-lights.php
|
||||
\definecolor{myred}{HTML}{FF555E}
|
||||
\definecolor{myblue}{HTML}{83B2FF}
|
||||
\definecolor{myyellow}{HTML}{FFE981}
|
||||
% -------------------------------------------------
|
||||
% Debugging Layer
|
||||
% top
|
||||
\pgfdeclarelayer{marx}
|
||||
\pgfsetlayers{main,marx}
|
||||
% A macro for marking coordinates (specific to the coordinate naming
|
||||
% scheme used here). Swap the following 2 definitions to deactivate
|
||||
% marks.
|
||||
\providecommand{\cmark}[2][]{\relax}
|
||||
\providecommand{\cmark}[2][]{%
|
||||
\begin{pgfonlayer}{marx}
|
||||
\node [nmark] at (c#2#1) {#2};
|
||||
\end{pgfonlayer}{marx}
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Box styles
|
||||
\tikzset{
|
||||
base/.style={draw, on chain, on grid, align=center, minimum height=0.7cm, font=\sffamily, draw=none},
|
||||
code/.style={base, rectangle, text width=10em, fill=myred},
|
||||
pass/.style={base, rectangle, text width=10em, fill=myblue},
|
||||
% Debug styles
|
||||
coord/.style={coordinate, on chain, on grid, node distance=6mm and 25mm},
|
||||
nmark/.style={draw, cyan, circle, font={\sffamily}},
|
||||
% Line styles
|
||||
line/.style={-, draw, very thick, black},
|
||||
arrow/.style={line, ->},
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Nodes
|
||||
\node [code] (karl) {\textbf{KARL} \\
|
||||
Electron and ion distribution calculation};
|
||||
\node [code, right= 7cm of karl.north, anchor=north] (pic) {\textbf{PIC} \\
|
||||
Electric field calculation};
|
||||
|
||||
\node [coord, above=1.3 cm of karl.north] (c0) {}; \cmark{0}
|
||||
\node [coord, below=1 cm of karl.south] (c1) {}; \cmark{1}
|
||||
|
||||
\node [pass, right= 3.5cm of c0, anchor=north] (karlpass) {Electron and ion distrubtions};
|
||||
\node [pass, right= 3.5cm of c1, anchor=south] (picpass) {Electric fields};
|
||||
% Lines
|
||||
\draw [line] (karl.north) |- (karlpass.west);
|
||||
\draw [arrow] (karlpass.east) -| (pic.north);
|
||||
\draw [line] (pic.south) |- (picpass.east);
|
||||
\draw [arrow] (picpass.west) -| (karl.south);
|
||||
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
@@ -0,0 +1,92 @@
|
||||
% http://www.texample.net/tikz/examples/flexible-flow-chart/
|
||||
\documentclass{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,arrows,chains}
|
||||
\usepackage{upgreek}
|
||||
\usepackage[version=4]{mhchem}
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[%
|
||||
>=triangle 60, % Nice arrows; your taste may be different
|
||||
start chain=going below, % General flow is top-to-bottom
|
||||
node distance=6mm and 60mm, % Global setup of box spacing
|
||||
every join/.style={arrow}, % Default linetype for connecting boxes
|
||||
]
|
||||
% -------------------------------------------------
|
||||
% Color definition
|
||||
\definecolor{myblue}{HTML}{2B86C0}
|
||||
\definecolor{myred}{HTML}{C14400}
|
||||
\definecolor{myyellow}{HTML}{FFD700}
|
||||
\definecolor{mygreen}{HTML}{3F681C}
|
||||
|
||||
%https://www.schemecolor.com/cute-lights.php
|
||||
\definecolor{startstopcolor}{HTML}{FF555E}
|
||||
\definecolor{testcolor}{HTML}{FFE981}
|
||||
\definecolor{proccolor}{HTML}{83B2FF}
|
||||
% -------------------------------------------------
|
||||
% Debugging Layer
|
||||
% top
|
||||
\pgfdeclarelayer{marx}
|
||||
\pgfsetlayers{main,marx}
|
||||
% A macro for marking coordinates (specific to the coordinate naming
|
||||
% scheme used here). Swap the following 2 definitions to deactivate
|
||||
% marks.
|
||||
|
||||
\providecommand{\cmark}[2][]{\relax}
|
||||
\providecommand{\cmark}[2][]{%
|
||||
\begin{pgfonlayer}{marx}
|
||||
\node [nmark] at (c#2#1) {#2};
|
||||
\end{pgfonlayer}{marx}
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Box styles
|
||||
\tikzset{
|
||||
base/.style={draw, on chain, on grid, align=center, minimum height=4ex, font=\sffamily, draw=none},
|
||||
proc/.style={base, rectangle, text width=10em, fill=proccolor},
|
||||
test/.style={base, diamond, aspect=3, text width=5em, fill=testcolor},
|
||||
startstop/.style={proc, minimum height=6ex, fill=startstopcolor},
|
||||
%base/.style={draw, on chain, on grid, align=center, minimum height=4ex, font=\sffamily},
|
||||
%proc/.style={base, rectangle, text width=10em},
|
||||
%test/.style={base, diamond, aspect=3, text width=5em},
|
||||
%startstop/.style={proc, minimum height=6ex},
|
||||
% Debug styles
|
||||
coord/.style={coordinate, on chain, on grid, node distance=6mm and 25mm},
|
||||
nmark/.style={draw, cyan, circle, font={\sffamily}},
|
||||
% Line styles
|
||||
arrow/.style={->, draw, black},
|
||||
slabel/.style={near start, xshift=1em, font=\sffamily},
|
||||
welabel/.style={near start, yshift=-0.8em, font=\sffamily},
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Nodes
|
||||
\node [startstop] (start) {Start of Processing};
|
||||
\node [test, join] (test) {$n_\mathrm{left} \leq n_\mathrm{step} \cdot n_\mathrm{cores}$ };
|
||||
\node [proc] (sim) {Simulation of $n_\mathrm{step}$ $\upbeta$-\ce{e-} on each core};
|
||||
\node [proc, join] (avg) {Average densities among all cores};
|
||||
|
||||
\node [proc, right=of sim, xshift=-3em] (split) {Split up $n_\mathrm{left}$ among cores and simulate};
|
||||
\node [startstop, join] (end) {End of Processing};
|
||||
|
||||
|
||||
% -------------------------------------------------
|
||||
% Coordinate markers
|
||||
\node [coord, below=of avg, yshift=-0.5em] (c0) {}; \cmark{0}
|
||||
\node [coord, left= 1cm of test.west] (c1) {}; \cmark{1}
|
||||
\node [coord, right=of test] (c2) {}; \cmark{2}
|
||||
|
||||
% -------------------------------------------------
|
||||
% North south connectors
|
||||
\path (test.south) to node [slabel] {no} (sim);
|
||||
\draw [arrow] (test.south) -- (sim);
|
||||
|
||||
% % -------------------------------------------------
|
||||
% % Complicated connectors
|
||||
\draw [arrow] (avg.south) -- (c0) -| (c1) -- (test.west);
|
||||
\draw [arrow] (test.east) -| (split.north);
|
||||
\path (test.east) to node [welabel] {yes} (c2);
|
||||
|
||||
%\node [anchor=west] at (3, 0.2) {$n_\mathrm{left}$: Number $\upbeta$-decays left to target.};
|
||||
%\node [anchor=west] at (3, -0.2) {$n_\mathrm{step}$: Number $\upbeta$-decay before averaging};
|
||||
%\node [anchor=west] at (3, -0.6) {$n_\mathrm{cores}$: Number of cores used.};
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
@@ -0,0 +1,88 @@
|
||||
% http://www.texample.net/tikz/examples/flexible-flow-chart/
|
||||
\documentclass{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,arrows,chains}
|
||||
\begin{document}
|
||||
% -------------------------------------------------
|
||||
% Start the picture
|
||||
\begin{tikzpicture}[%
|
||||
>=triangle 60, % Nice arrows; your taste may be different
|
||||
start chain=going below, % General flow is top-to-bottom
|
||||
node distance=5mm and 55mm, % Global setup of box spacing
|
||||
every join/.style={arrow}, % Default linetype for connecting boxes
|
||||
]
|
||||
% -------------------------------------------------
|
||||
% Color definition from https://www.schemecolor.com/cute-lights.php
|
||||
\definecolor{myred}{HTML}{FF555E}
|
||||
\definecolor{myyellow}{HTML}{FFE981}
|
||||
\definecolor{myblue}{HTML}{83B2FF}
|
||||
% -------------------------------------------------
|
||||
% Debugging Layer
|
||||
% top
|
||||
\pgfdeclarelayer{marx}
|
||||
\pgfsetlayers{main,marx}
|
||||
% A macro for marking coordinates (specific to the coordinate naming
|
||||
% scheme used here). Swap the following 2 definitions to deactivate
|
||||
% marks.
|
||||
\providecommand{\cmark}[2][]{\relax}
|
||||
\providecommand{\cmark}[2][]{%
|
||||
\begin{pgfonlayer}{marx}
|
||||
\node [nmark] at (c#2#1) {#2};
|
||||
\end{pgfonlayer}{marx}
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Box styles
|
||||
\tikzset{
|
||||
base/.style={on chain, on grid, align=center, minimum height=0.7cm, text width=4cm, font=\sffamily, draw=none, outer sep=0},
|
||||
proc/.style={base, rectangle, fill=myblue},
|
||||
test/.style={base, diamond, aspect=2.5, text width=3cm, inner sep=0.2mm, fill=myyellow},
|
||||
startstop/.style={proc, minimum height=4ex, fill=myred},
|
||||
% Debug styles
|
||||
coord/.style={coordinate, on chain, on grid, node distance=6mm and 25mm},
|
||||
nmark/.style={draw, cyan, circle, font={\sffamily}},
|
||||
% Line styles
|
||||
arrow/.style={->, draw, black},
|
||||
slabel/.style={near start, xshift=1.2em, font=\sffamily},
|
||||
welabel/.style={near start, yshift=-0.8em, font=\sffamily},
|
||||
}
|
||||
% -------------------------------------------------
|
||||
% Nodes
|
||||
\node [startstop] (start) {Start};
|
||||
\node [proc, join] (move) {Move by MFP
|
||||
\begin{flushleft}
|
||||
$\rightarrow$ Update densities \\
|
||||
$\rightarrow$ Log at barrier \\
|
||||
\end{flushleft}
|
||||
};
|
||||
\node [test, join] (terminate1) {Termination?};
|
||||
\node [proc, right=1 cm of terminate1.east, anchor = west] (interaction) {Do Interaction
|
||||
\begin{flushleft}
|
||||
$\rightarrow$ New part. to PQ \\
|
||||
\end{flushleft}
|
||||
};
|
||||
\node [test, right=1 cm of interaction.east, anchor = west, join] (terminate2) {Termination?};
|
||||
\node [startstop] (end) {End};
|
||||
|
||||
%% -------------------------------------------------
|
||||
%% Coordinate markers
|
||||
\node [coord, right=of terminate1] (c0) {}; \cmark{0}
|
||||
\node [coord, below= of terminate1.south] (c1) {}; \cmark{1}
|
||||
\node [coord, above= of terminate2.north] (c2) {}; \cmark{2}
|
||||
%% -------------------------------------------------
|
||||
%% West east connectors
|
||||
\path (terminate1.east) to node [welabel] {no} (c0);
|
||||
\draw [arrow] (terminate1.east) -- (interaction);
|
||||
%% -------------------------------------------------
|
||||
%% -------------------------------------------------
|
||||
%% North south connectors
|
||||
\path (terminate2.south) to node [slabel] {yes} (end);
|
||||
\draw [arrow] (terminate2.south) -- (end);
|
||||
%% -------------------------------------------------
|
||||
%% Complicated connectors
|
||||
\path (terminate1.south) to node [slabel] {yes} (c1);
|
||||
\draw [arrow] (terminate1.south) -- (c1) |- (end);
|
||||
\path (terminate2.north) to node [slabel] {no} (c2);
|
||||
\draw [arrow] (terminate2.north) -- (c2) |- (move.east);
|
||||
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
@@ -0,0 +1,20 @@
|
||||
% http://www.texample.net/tikz/examples/flexible-flow-chart/
|
||||
\documentclass{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{shapes,arrows,chains, angles, quotes}
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[>=triangle 60,font=\sffamily]
|
||||
\definecolor{myblue}{HTML}{2B86C0}
|
||||
\definecolor{myred}{HTML}{C14400}
|
||||
\definecolor{myyellow}{HTML}{FFE981}
|
||||
\coordinate (a) at (0,0);
|
||||
\coordinate (b) at (3,0);
|
||||
\coordinate (c) at (2.8,2.5);
|
||||
\draw[->, black] (a) -- (b) node [anchor = north, xshift = -25, yshift = -3] {$\vec{v}_1$};;
|
||||
\draw[->, black] (c) -- (b) node [anchor = west, xshift = 0, yshift = 25] {$\vec{v}_2(\vartheta, \varphi)$};
|
||||
\draw[->, myred] (c) -- (a) node [anchor = south , xshift = 15, yshift = 25] {$\vec{v}_\mathrm{lab}$};
|
||||
\draw pic[ myblue, "$\vartheta$", draw=myblue, <-, angle eccentricity=1.2, angle radius=0.8cm]
|
||||
{angle=c--b--a} ;
|
||||
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user