Index: dam engine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.pdf =================================================================== diff -u -r756 -r802 Binary files differ Index: dam engine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.tex =================================================================== diff -u -r756 -r802 --- dam engine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.tex (.../DAM Engine - Technical Design.tex) (revision 756) +++ dam engine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.tex (.../DAM Engine - Technical Design.tex) (revision 802) @@ -499,14 +499,18 @@ \item RegisterAbortCheck() \end{itemize} +Next to that, each wrapper can have properties that hold data that are specific to the failure mechanism.\newline +Example: +D-Geostability needs parameters specifying the grid, tangent lines et. These can be passed as properties to the wrapper directly.\newline + \subsubsection{Prepare} \label{sec:Prepare} -The purpose of this method is to fill a dataobject that implements the IKernelDataInput interface. This dataobject will be needed for the other methods in this interface. \newline +The purpose of this method is to fill a dataobject that implements the IKernelDataInput interface. This dataobject will be needed for the other methods in this interface. The kernel input will be based on the general dam kernel input, the possible addiotional kernel properties and when required calculations in order to determine certain input. Furthermore it initializes the kernel data output (IKernelDataOutput). \newline \texttt{ /// \newline - /// Prepares the failure mechanism input based on general dam kernel input. \newline + /// Prepares the failure mechanism input based on general dam kernel input and failure mechanism specific properties. \newline /// \newline - /// The dam kernel input. \newline + /// The general dam kernel input. \newline /// The kernel data input. \newline /// The kernel data output. \newline /// \newline @@ -548,7 +552,7 @@ The purpose of this method is to validate the data that will be used as input for the failure mechanism.\newline It returns an integer:\newline 0: no errors. A calculation is possible. It is possible that there are warning messages. \newline -> 0: number of error messages that prevent a calculation.\newline +> 0: number of error messages that prevent a calculation. In this case, the calculation result (as part of the IKernelDataOutput) will be set to reflect this.\newline This method has the following parameters: \begin{itemize} \item \texttt{IKernelDataInput kernelDataInput}: kernel input data.