Skip to content
Snippets Groups Projects
Commit 505d38e6 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Provided appropriate way of dealing with k_\perp becoming zero in BornAgain (documentation)

parent 2e2cf9ce
No related branches found
No related tags found
No related merge requests found
...@@ -427,14 +427,17 @@ The general solution of (\ref{Ewavez}) will be a linear function of $z$: ...@@ -427,14 +427,17 @@ The general solution of (\ref{Ewavez}) will be a linear function of $z$:
\begin{equation} \begin{equation}
\phi_{\il}(z) = A^0_{\il} + A^1_{\il}z. \phi_{\il}(z) = A^0_{\il} + A^1_{\il}z.
\end{equation} \end{equation}
In \BornAgain, In \BornAgain, such a linear wavefunction amplitude can not be handled by the form factors,
such total reflection is imposed if $|f_{\il}|$ falls below a very small value which are only defined in terms of plain waves with complex wavevector components.
(currently $10^{-20}$). The following cases are treated seperately:
However, except for the top vacuum layer \begin{itemize}
this ought to be inconsequential \item The top layer has $f_0=0$: regardless of whether or not the top layer is the only layer present,
because the index of refraction should always the solution will consist of a simple constant wavefunction amplitude ($\phi_0(z) = A^0_0$).
have an absorptive component that prevents $f_{\il}$ from becoming zero. Since this does not cause any problem with form factor calculations, nothing needs to be done.
\item $f_{\il}=0$ for a layer with $\il>0$: In this case $f_{\il}$ will be given a very small imaginary value,
representing a slight absorption. However, this should be inconsequential because the index of refraction
of non-vacuum layer always contains an absorptive component.
\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \newpage % TEMPORARY % \newpage % TEMPORARY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment