ci often and soon
authorhackbard <hackbard>
Thu, 23 Jun 2005 13:57:09 +0000 (13:57 +0000)
committerhackbard <hackbard>
Thu, 23 Jun 2005 13:57:09 +0000 (13:57 +0000)
nlsop/diplom/simulation.tex

index 3ab02b8..82449d8 100644 (file)
 
   \section{Ablaufschema}
 
-  Das Ablaufshema ist wie der Simulationsalgorithmus aus drei Teilen zusammengesetzt.
-  Abbildung \ref{img:flowchart1} zeigt das Ablaufshema des Amorphisierungs- und Rekristallisationvorgangs.
+  Das Ablaufshema ist aus Platzgr"unden in zwei Teile gegliedert.
+  Abbildung \ref{img:flowchart1} zeigt das Ablaufshema des Amorphisierungs- und Rekristallisationsvorgangs.
+  In Abbildung \ref{img:flowchart2} wird der Kohlenstoffeinbau sowie Diffusion und Sputtern behandelt.
 
   \begin{figure}[h]
-  \begin{pspicture}(0,0)(12,10)
-    \rput(6,10){\rnode{nlsop_start}{\psframebox{{\em NLSOP} Start}}}
-
-    \rput(6,9){\rnode{koord_wahl}{\psframebox{Zuf"allige Wahl der Koordinaten $k$, $l$ und $m$}}}
-    \ncline[]{->}{nlsop_start}{koord_wahl}
-
-    \rput(6,8){\rnode{berechnung_pca}{\psframebox{Berechnung von $p_{c \rightarrow a}(\vec{r}(k,l,m))$ und $p_{a \rightarrow c}(\vec{r}(k,l,m))$}}}
+  \begin{pspicture}(0,0)(12,18)
+
+    \rput(6,18){\rnode{start}{\psframebox{{\em NLSOP} Start}}}
+
+    \rput(6,16){\rnode{random1}{\psframebox{\parbox{7.5cm}{
+      Ausw"urfeln der Zufallszahlen:\\
+      $R_1$, $R_2$, $R_3$ entsprechend nuklearer Bremskraft\\
+      $R_4 \in [0,1[$
+    }}}}
+    \ncline[]{->}{start}{random1}
+
+    \rput(6,14){\rnode{koord_wahl}{\psframebox{\parbox{7.5cm}{
+      Bestimmung von $\vec{r}(k,l,m)$ durch Abbildung von $R_1$, $R_2$ und $R_3$ auf $k$, $l$ und $m$
+    }}}}
+    \ncline[]{->}{random1}{koord_wahl}
+
+    \rput(6,11){\rnode{berechnung_pca}{\psframebox{\parbox{12cm}{
+      Berechnung von $p_{c \rightarrow a}(\vec{r})$ und $p_{a \rightarrow c}(\vec{r})$:
+      \[
+      \begin{array}{lll}
+      p_{c \rightarrow a}(\vec r) & = & p_{b} + p_{c} \, c_{Kohlenstoff}(\vec r) + \sum_{amorphe \, Nachbarn} \frac{p_{s} \, c_{Kohlenstoff}(\vec{r'})}{(\vec r - \vec{r'})^2} \\
+      p_{a \rightarrow c}(\vec r) & = & (1 - p_{c \rightarrow a}(\vec r)) \Big(1 - \frac{\sum_{direkte \, Nachbarn} \delta (\vec{r'})}{6} \Big)
+      \end{array}
+      \]
+      \[
+      \delta (\vec r) = \left\{
+        \begin{array}{ll}
+       1 & \textrm{wenn Gebiet bei $\vec r$ amorph} \\
+       0 & \textrm{sonst} \\
+       \end{array}
+      \right.
+      \]
+    }}}}
     \ncline[]{->}{koord_wahl}{berechnung_pca}
 
-    \rput(6,7){\rnode{status}{\psframebox{Volumen $\vec{r}(k,l,m)$ amorph?}}}
+    \rput(6,8){\rnode{status}{\psframebox{Volumen $\vec{r}(k,l,m)$ amorph?}}}
     \ncline[]{->}{berechnung_pca}{status}
 
-    \rput(3,5){\rnode{cryst}{\psframebox[linestyle=solid,linecolor=blue]{Zufallszahl $\le p_{c \rightarrow a}$?}}}
-    \rput(9,5){\rnode{amorph}{\psframebox[linestyle=solid,linecolor=red]{Zufallszahl $\le p_{a \rightarrow c}$?}}}
+    \rput(3,6){\rnode{cryst}{\psframebox[linestyle=solid,linecolor=blue]{$R_4 \le p_{c \rightarrow a}$?}}}
+    \rput(9,6){\rnode{amorph}{\psframebox[linestyle=solid,linecolor=red]{$R_4 \le p_{a \rightarrow c}$?}}}
     \ncline[]{->}{status}{cryst}
     \lput*{0}{nein}
 
     \ncline[]{->}{status}{amorph}
     \lput*{0}{ja}
 
-    \rput(3,3){\rnode{do_amorph}{\psframebox[linestyle=solid,linecolor=red]{Setze Volumen amorph}}}
+    \rput(3,4){\rnode{do_amorph}{\psframebox[linestyle=solid,linecolor=red]{Setze Volumen amorph}}}
     \ncline[]{->}{cryst}{do_amorph}
     \lput*{0}{ja}
 
-    \rput(9,3){\rnode{do_cryst}{\psframebox[linestyle=solid,linecolor=blue]{Setze Volumen kristallin}}}
+    \rput(9,4){\rnode{do_cryst}{\psframebox[linestyle=solid,linecolor=blue]{Setze Volumen kristallin}}}
     \ncline[]{->}{amorph}{do_cryst}
     \lput*{0}{ja}
 
-    \rput(6,2){\rnode{check_h}{\psframebox{Anzahl der Durchl"aufe gleich Anzahl der Treffer pro Ion?}}}
+    \rput(6,3){\rnode{check_h}{\psframebox{Anzahl der Durchl"aufe gleich Anzahl der Treffer pro Ion?}}}
 
-    \rput(7,5){\pnode{h_2}}
+    \rput(6,6){\pnode{h_2}}
     \ncline[]{amorph}{h_2}
     \ncline[]{->}{h_2}{check_h}
     \lput*{0}{nein}
 
-    \rput(5,5){\pnode{h_3}}
+    \rput(6,6){\pnode{h_3}}
     \ncline[]{cryst}{h_3}
     \ncline[]{->}{h_3}{check_h}
     \lput*{0}{nein}
 
-    \rput(12,2){\pnode{h_4}}
-    \rput(12,9){\pnode{h_5}}
+    \rput(13,3){\pnode{h_4}}
+    \rput(13,16){\pnode{h_5}}
     \ncline[]{check_h}{h_4}
     \ncline[]{h_4}{h_5}
     \lput*{0}{nein}
-    \ncline[]{->}{h_5}{koord_wahl}
+    \ncline[]{->}{h_5}{random1}
 
     \ncline[]{->}{do_cryst}{check_h}
     \ncline[]{->}{do_amorph}{check_h}
 
-    \rput(12,2){\pnode{h_1}}
-    %\ncline[]{check_h}{h_1}
-
-    \rput(6,0){\rnode{weiter_1}{\psframebox{weiter mit Kohlenstoffeinbau \ldots}}}
+    \rput(6,1){\rnode{weiter_1}{\psframebox{$\bigotimes$}}}
     \ncline[]{->}{check_h}{weiter_1}
     \lput*{0}{ja}
+
   \end{pspicture}
-  \caption{{\em NLSOP} Ablaufshema des Amorphisierungs- und Rekristallisationsschritts}
+  \caption{{\em NLSOP} Ablaufshema Teil1: Amorphisierung und Rekristallisation.}
   \label{img:flowchart1}
   \end{figure}
 
-  %In Abbildung \ref{img:flowchart2} ist der Einbau des Kohlenstoffions shematisch aufgezeigt.
+  \begin{figure}[h]
+  \begin{pspicture}(0,0)(12,18)
+
+    \rput(6,18){\rnode{weiter_2}{\psframebox{$\bigotimes$}}}
+
+    \rput(6,16){\rnode{random2}{\psframebox[fillstyle=solid,fillcolor=green]{\parbox{7.5cm}{
+      Ausw"urfeln der Zufallszahlen:\\
+      $R_5$, $R_6$, $R_7$ entsprechend Reichweitenverteilung
+    }}}}
+    \ncline[]{->}{weiter_2}{random2}
+
+    \rput(2,14){\rnode{koord_wahl_i}{\psframebox[fillstyle=solid,fillcolor=green]{\parbox{6cm}{
+      Bestimmung von $\vec{r}(k,l,m)$ durch Abbildung von $R_5$, $R_6$ und $R_7$ auf $k$, $l$ und $m$
+    }}}}
+    \ncbar[angleA=180,angleB=180]{->}{random2}{koord_wahl_i}
 
+    \rput(10,14){\rnode{inc_c}{\psframebox[fillstyle=solid,fillcolor=green]{\parbox{6cm}{
+      Erh"ohung des Kohlenstoffs in Volumen $\vec{r}(k,l,m)$
+    }}}}
+    \ncline[]{->}{koord_wahl_i}{inc_c}
 
-  %Abbildung \ref{img:flowchart3} beinhaltet den Diffusions- und Sputervorgang.
+    \rput(2,0){\rnode{check_d}{\psframebox{Anzahl Durchl"aufe gleich entsprechender Dosis?}}}
+    \ncline[]{->}{check_d}{nlsop_end}
+    \lput*{0}{ja}
+
+    \rput(10,1){\rnode{check_dr}{\psframebox{Alle Volumen durchlaufen?}}}
+
+    \rput(10,3){\rnode{check_dnr}{\psframebox{Alle direkten Nachbarn durchlaufen?}}}
+    \ncline[]{->}{check_dnr}{check_dr}
+    \lput*{0}{ja}
+
+    \rput(12,4){\rnode{transfer_c}{\psframebox{Transferiere den Anteil $d_r$ des Kohlenstoffs}}}
+    \ncline[]{->}{transfer_c}{check_dnr}
+
+    \rput(10,6){\rnode{is_cryst}{\psframebox{Nachbarvolumen kristallin?}}}
+    \ncline[]{->}{d_is_cryst}{transfer_c}
+    \lput*{0}{ja}
+    \ncline[]{->}{d_is_cryst}{check_dnr}
+    \lput*{0}{nein}
+
+    \rput(10,7){\rnode{loop_dn}{\psframebox{Gehe alle/verbleibende direkte Nachbarn durch}}}
+    \ncline[]{->}{loop_dn}{d_is_cryst}
+    %\ncbar[angleA=180,angleB=180]{->}{check_dnr}{d_is_cryst}
+    %\lput*{0}{nein}
+
+    \rput(10,9){\rnode{d_is_amorph}{\psframebox{Volumen $\vec{r}(k,l,m)$ amorph?}}}
+    \ncline[]{->}{d_is_amorph}{loop_dn}
+    \lput*{0}{ja}
+
+    \rput(10,10){\rnode{loop_d}{\psframebox{Gehe alle/verbleibende Volumen durch}}}
+    \ncline[]{->}{loop_d}{d_is_amorph}
+
+    \rput(10,12){\rnode{is_d}{\psframebox{Durchlauf vielfaches von $d_v$?}}}
+    \ncline[]{->}{is_d}{loop_d}
+    \lput*{0}{ja}
+
+    \rput(2,12){\rnode{is_s}{\psframebox{Durchlauf vielfaches von $n$?}}}
+    \ncline[]{->}{is_d}{is_s}
+    \lput*{0}{nein}
+
+    \rput(10,13){\rnode{inc_c}{\psframebox{Erh"ohen des Kohlenstoffs im Volumen $\vec{r}(k,l,m)$}}}
+    \ncline[]{->}{inc_c}{is_d}
+
+    \rput(2,13){\rnode{koord_wahl_i}{\psframebox{Zuf"allige Wahl der Koordinaten $(k,l,m)$}}}
+    \ncline[]{->}{koord_wahl_i}{inc_c}
+
+  \end{pspicture}
+  \caption{{\em NLSOP} Ablaufshema Teil2: Kohlenstoffeinbau (gr"un), Diffusion (gelb) und Sputtervorgang (rot).}
+  \label{img:flowchart2}
+  \end{figure}