\section{Glob Struct Reference}
\label{structGlob}\index{Glob@{Glob}}
{\tt \#include $<$def.h$>$}

\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
int {\bf no\-Gnu}
\begin{CompactList}\small\item\em Flag: TRUE turns Gnu\-Plot animation off. \item\end{CompactList}\item 
int {\bf no\-Measurements}
\item 
int {\bf wait}
\begin{CompactList}\small\item\em Flag: TRUE for waiting after each iteration. \item\end{CompactList}\item 
int {\bf usesig}
\begin{CompactList}\small\item\em Flag: TRUE for using variances from datafile. \item\end{CompactList}\item 
int {\bf integrator}
\begin{CompactList}\small\item\em Integrator selection. \item\end{CompactList}\item 
int {\bf stiff}
\item 
int {\bf nowait}
\begin{CompactList}\small\item\em Flag: TRUE to prevent waiting after last iteration. \item\end{CompactList}\item 
int {\bf reg}
\begin{CompactList}\small\item\em Flag: TRUE for turning automatic regularisation on. \item\end{CompactList}\item 
int {\bf sim\-Init}
\begin{CompactList}\small\item\em Flag: TRUE for using simulation based data for initialisation. \item\end{CompactList}\item 
int {\bf nodamp}
\begin{CompactList}\small\item\em Flag: TRUE for suppress damping. \item\end{CompactList}\item 
long {\bf npar}
\begin{CompactList}\small\item\em Number of parameters. \item\end{CompactList}\item 
long {\bf maxit}
\begin{CompactList}\small\item\em Maximal number of iterations. \item\end{CompactList}\item 
long {\bf n\-Iter}
\begin{CompactList}\small\item\em Iteration counter. \item\end{CompactList}\item 
int {\bf nr\-Exp}
\begin{CompactList}\small\item\em Number of experiments. \item\end{CompactList}\item 
int $\ast$ {\bf do\-P}
\begin{CompactList}\small\item\em Fix and local parameters definition vector. \item\end{CompactList}\item 
double $\ast$$\ast$ {\bf covar}
\begin{CompactList}\small\item\em Covariance matrix of parameters. \item\end{CompactList}\item 
double {\bf chisq}
\begin{CompactList}\small\item\em Current chi-square. \item\end{CompactList}\item 
double {\bf eps}
\begin{CompactList}\small\item\em Integration accuracy. \item\end{CompactList}\item 
long {\bf rkqs\_\-ign}
\begin{CompactList}\small\item\em Controls the integration of the variational differential equations. \item\end{CompactList}\item 
int {\bf maxstp}
\begin{CompactList}\small\item\em Maximal number of integration steps (Runge-Kutta). \item\end{CompactList}\item 
double {\bf minimp}
\begin{CompactList}\small\item\em Minimal improvement of parameters. \item\end{CompactList}\item 
double {\bf elastic}
\begin{CompactList}\small\item\em Factor for weakening the continuity constraints. \item\end{CompactList}\item 
double {\bf epsilon}
\item 
double {\bf lambda}
\item 
double {\bf dt}
\begin{CompactList}\small\item\em Sampling for simit. \item\end{CompactList}\item 
double {\bf sig}
\begin{CompactList}\small\item\em Relative Gaussian for simulations. \item\end{CompactList}\item 
double {\bf pert}
\begin{CompactList}\small\item\em Perturbation of the simulated initial guess in \%. \item\end{CompactList}\item 
int $\ast$ {\bf y0fix}
\begin{CompactList}\small\item\em Fix initial values. \item\end{CompactList}\item 
double {\bf wquer}
\begin{CompactList}\small\item\em Controls damping. \item\end{CompactList}\item 
FILE $\ast$$\ast$ {\bf gnu\-Fp}
\begin{CompactList}\small\item\em File pointer vector for Gnu\-Plot animation. \item\end{CompactList}\item 
long {\bf ngnu}
\begin{CompactList}\small\item\em Number of Gnu\-Plot windows. \item\end{CompactList}\item 
long {\bf gnuindex}
\begin{CompactList}\small\item\em Index of the current Gnu\-Plot window. \item\end{CompactList}\item 
long {\bf fitdim}
\item 
int {\bf init\-Spline}
\begin{CompactList}\small\item\em Flag: TRUE if splines should be initialised. \item\end{CompactList}\item 
int {\bf fit\-Converged}
\begin{CompactList}\small\item\em 1 if fit is converged, 0 else \item\end{CompactList}\item 
double {\bf cond}
\item 
double {\bf Lambda}
\item 
int {\bf silent}
\item 
int {\bf strategy}
\item 
int {\bf minimiser}
\item 
int {\bf faktor\-Lexist}
\item 
double $\ast$ {\bf faktor\-L}
\end{CompactItemize}


\subsection{Detailed Description}




Definition at line 199 of file def.h.

\subsection{Member Data Documentation}
\index{Glob@{Glob}!chisq@{chisq}}
\index{chisq@{chisq}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::chisq}}\label{structGlob_0edadcee62d18266101a1b3ef93be495}


Current chi-square. 



Definition at line 244 of file def.h.

Referenced by damp\-It().\index{Glob@{Glob}!cond@{cond}}
\index{cond@{cond}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::cond}}\label{structGlob_35fcb423613fc2c171e8b9b1f7ea4302}


Condition number of the liniearised system to be solved 

Definition at line 296 of file def.h.\index{Glob@{Glob}!covar@{covar}}
\index{covar@{covar}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$$\ast$ {\bf Glob::covar}}\label{structGlob_bbd1a5f0a7f7c3f6111f7c4f51fca724}


Covariance matrix of parameters. 

Matrix of dimension: \[ {\bf npar} \times {\bf npar}\] 

Definition at line 242 of file def.h.

Referenced by out\-Fit().\index{Glob@{Glob}!doP@{doP}}
\index{doP@{doP}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf Glob::do\-P}}\label{structGlob_f880ba89a8ecc46f58b1a254fb26aa73}


Fix and local parameters definition vector. 

TRUE : Fit parameter\par
 FALSE : Fix parameter\par
 'L' : Local Parameter\par


Vector of dimension: \[ {\bf npar}\] 

Definition at line 237 of file def.h.

Referenced by initialise(), mex\-Function(), Norm(), parseopts(), and tabulate\-Values().\index{Glob@{Glob}!dt@{dt}}
\index{dt@{dt}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::dt}}\label{structGlob_976c6e7a32116d934a7cf2ea918fafd6}


Sampling for simit. 



Definition at line 261 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!elastic@{elastic}}
\index{elastic@{elastic}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::elastic}}\label{structGlob_eed3fcec247687f727f42f49f5c3ca8e}


Factor for weakening the continuity constraints. 

\[{\bf elastic}\in (0,1] \] 

Definition at line 257 of file def.h.

Referenced by condense(), decondense(), mex\-Function(), and parseopts().\index{Glob@{Glob}!eps@{eps}}
\index{eps@{eps}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::eps}}\label{structGlob_dbd9460274076ccb9fcb941194592c98}


Integration accuracy. 



Definition at line 246 of file def.h.

Referenced by mex\-Function(), parseopts(), and tabulate\-Values().\index{Glob@{Glob}!epsilon@{epsilon}}
\index{epsilon@{epsilon}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::epsilon}}\label{structGlob_c51020b8084e964ca6b990abb15b9d56}




Definition at line 258 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!faktorL@{faktorL}}
\index{faktorL@{faktorL}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ {\bf Glob::faktor\-L}}\label{structGlob_72a791ffddca793841827672e6600c3c}




Definition at line 312 of file def.h.

Referenced by parseopts().\index{Glob@{Glob}!faktorLexist@{faktorLexist}}
\index{faktorLexist@{faktorLexist}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::faktor\-Lexist}}\label{structGlob_57db6f4be4e2eeff11b6bc3332fc5a0a}




Definition at line 311 of file def.h.

Referenced by parseopts().\index{Glob@{Glob}!fitConverged@{fitConverged}}
\index{fitConverged@{fitConverged}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::fit\-Converged}}\label{structGlob_0206020c999ebd65c959216de1c99ec0}


1 if fit is converged, 0 else 



Definition at line 292 of file def.h.\index{Glob@{Glob}!fitdim@{fitdim}}
\index{fitdim@{fitdim}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Glob::fitdim}}\label{structGlob_ed16a21c62c2c4349c037ecc5f1fa555}


Total number of fitted variables, needed for the covariance matrix 

Definition at line 288 of file def.h.\index{Glob@{Glob}!gnuFp@{gnuFp}}
\index{gnuFp@{gnuFp}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}FILE$\ast$$\ast$ {\bf Glob::gnu\-Fp}}\label{structGlob_fec42496981f23b2c6c244ae87c73a64}


File pointer vector for Gnu\-Plot animation. 



Definition at line 280 of file def.h.

Referenced by free\-Mem(), mex\-Function(), and parseopts().\index{Glob@{Glob}!gnuindex@{gnuindex}}
\index{gnuindex@{gnuindex}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Glob::gnuindex}}\label{structGlob_95bda7eb7f57d6ff8c70f5a5aa3c8fed}


Index of the current Gnu\-Plot window. 



Definition at line 284 of file def.h.\index{Glob@{Glob}!initSpline@{initSpline}}
\index{initSpline@{initSpline}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::init\-Spline}}\label{structGlob_ee895e31240a4dfa7b9210cbaab34e91}


Flag: TRUE if splines should be initialised. 



Definition at line 290 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!integrator@{integrator}}
\index{integrator@{integrator}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::integrator}}\label{structGlob_efb5cd402b0b93711193d7fde6c36720}


Integrator selection. 



Definition at line 210 of file def.h.

Referenced by mex\-Function(), parseopts(), and tabulate\-Values().\index{Glob@{Glob}!Lambda@{Lambda}}
\index{Lambda@{Lambda}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::Lambda}}\label{structGlob_b2d38362e2bc39233e0d588ce562b19a}


Actual damping parameter (not to be confused with lambda) 

Definition at line 300 of file def.h.\index{Glob@{Glob}!lambda@{lambda}}
\index{lambda@{lambda}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::lambda}}\label{structGlob_ae485e7057d3c107852d33abef0c678a}




Definition at line 259 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!maxit@{maxit}}
\index{maxit@{maxit}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Glob::maxit}}\label{structGlob_f8ddc7b828ff60d5bbb6f8d0ca305fb3}


Maximal number of iterations. 



Definition at line 224 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!maxstp@{maxstp}}
\index{maxstp@{maxstp}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::maxstp}}\label{structGlob_0f6d5e798c49c537e1219e12725c3f98}


Maximal number of integration steps (Runge-Kutta). 



Definition at line 250 of file def.h.

Referenced by integrate\-RK(), mex\-Function(), parseopts(), and tabulate\-Values().\index{Glob@{Glob}!minimiser@{minimiser}}
\index{minimiser@{minimiser}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::minimiser}}\label{structGlob_db534b766592fc671a86a303a60c0111}




Definition at line 309 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!minimp@{minimp}}
\index{minimp@{minimp}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::minimp}}\label{structGlob_a4398f8f57432206966c9db59fce45ab}


Minimal improvement of parameters. 



Definition at line 252 of file def.h.

Referenced by fit\-It(), mex\-Function(), and parseopts().\index{Glob@{Glob}!ngnu@{ngnu}}
\index{ngnu@{ngnu}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Glob::ngnu}}\label{structGlob_3dcd7224182039d0f5f68c23c92f79fc}


Number of Gnu\-Plot windows. 



Definition at line 282 of file def.h.\index{Glob@{Glob}!nIter@{nIter}}
\index{nIter@{nIter}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Glob::n\-Iter}}\label{structGlob_4589537f05daf2bfdb0cc1e63fcae25a}


Iteration counter. 



Definition at line 226 of file def.h.

Referenced by glob\-Opt().\index{Glob@{Glob}!nodamp@{nodamp}}
\index{nodamp@{nodamp}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::nodamp}}\label{structGlob_74ceead804c06433a5de44b66f64126f}


Flag: TRUE for suppress damping. 



Definition at line 219 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!noGnu@{noGnu}}
\index{noGnu@{noGnu}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::no\-Gnu}}\label{structGlob_76bf62ed4007c54eb759e23b6a4fd529}


Flag: TRUE turns Gnu\-Plot animation off. 



Definition at line 203 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!noMeasurements@{noMeasurements}}
\index{noMeasurements@{noMeasurements}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::no\-Measurements}}\label{structGlob_4be71d1a45ae8785c56bbf26cc445ed4}




Definition at line 204 of file def.h.

Referenced by mex\-Function(), parseopts(), and set\-Mesh().\index{Glob@{Glob}!nowait@{nowait}}
\index{nowait@{nowait}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::nowait}}\label{structGlob_8d2117083334bb18de230accf3b0cac8}


Flag: TRUE to prevent waiting after last iteration. 



Definition at line 213 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!npar@{npar}}
\index{npar@{npar}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Glob::npar}}\label{structGlob_1597bb79daa92360eb5af904e11627b4}


Number of parameters. 



Definition at line 222 of file def.h.

Referenced by call\_\-odessa(), compute\-Right(), condense(), decondense(), free\-Mem(), initialise(), int\-ODE(), mex\-Function(), Norm(), out\-Fit(), parseopts(), solv\-Lin(), sub\-It(), and tabulate\-Values().\index{Glob@{Glob}!nrExp@{nrExp}}
\index{nrExp@{nrExp}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::nr\-Exp}}\label{structGlob_01a2909e1bbc7c09623c45b1cbf385f7}


Number of experiments. 



Definition at line 228 of file def.h.

Referenced by condense(), decondense(), fit\-It(), fitness(), free\-Mem(), glob\-Opt(), initialise(), main(), mex\-Function(), Norm(), out\-Fit(), parseopts(), setup\-Gnu\-Fp(), solv\-Lin(), and sub\-It().\index{Glob@{Glob}!pert@{pert}}
\index{pert@{pert}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::pert}}\label{structGlob_ff14736c492a0b404f5b2700db4a3a6b}


Perturbation of the simulated initial guess in \%. 



Definition at line 265 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!reg@{reg}}
\index{reg@{reg}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::reg}}\label{structGlob_0f4f3a0278810f63a7acd89b28eaa2d1}


Flag: TRUE for turning automatic regularisation on. 



Definition at line 215 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!rkqs_ign@{rkqs\_\-ign}}
\index{rkqs_ign@{rkqs\_\-ign}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long {\bf Glob::rkqs\_\-ign}}\label{structGlob_919ba9c8292249f8262ec6b7c45adb3a}


Controls the integration of the variational differential equations. 



Definition at line 248 of file def.h.

Referenced by tabulate\-Values().\index{Glob@{Glob}!sig@{sig}}
\index{sig@{sig}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::sig}}\label{structGlob_be65d56bb7fd03d5f5062bff6e41466d}


Relative Gaussian for simulations. 



Definition at line 263 of file def.h.

Referenced by mex\-Function(), out\-Simit(), and parseopts().\index{Glob@{Glob}!silent@{silent}}
\index{silent@{silent}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::silent}}\label{structGlob_ed463a372fb10ecc4805f10811c7d14a}


Relaxiation Parameter 

Definition at line 303 of file def.h.

Referenced by damp\-It(), mex\-Function(), and parseopts().\index{Glob@{Glob}!simInit@{simInit}}
\index{simInit@{simInit}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::sim\-Init}}\label{structGlob_1f3c038ce9988d06bef350a115e84230}


Flag: TRUE for using simulation based data for initialisation. 



Definition at line 217 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!stiff@{stiff}}
\index{stiff@{stiff}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::stiff}}\label{structGlob_7e04194ca88a9145631d19afaa67ecf8}




Definition at line 211 of file def.h.

Referenced by mex\-Function(), parseopts(), and tabulate\-Values().\index{Glob@{Glob}!strategy@{strategy}}
\index{strategy@{strategy}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::strategy}}\label{structGlob_bd8de9b63d0738cda1bf0d2f275b3640}


if silent=1 no shell output is printed 

Definition at line 307 of file def.h.

Referenced by out\-Fit(), and parseopts().\index{Glob@{Glob}!usesig@{usesig}}
\index{usesig@{usesig}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::usesig}}\label{structGlob_f85d2906c2670ab7f5cec224a5577a9e}


Flag: TRUE for using variances from datafile. 



Definition at line 208 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!wait@{wait}}
\index{wait@{wait}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Glob::wait}}\label{structGlob_232741b3fd0cd4403d193fbde3fe0e34}


Flag: TRUE for waiting after each iteration. 



Definition at line 206 of file def.h.

Referenced by mex\-Function(), and parseopts().\index{Glob@{Glob}!wquer@{wquer}}
\index{wquer@{wquer}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double {\bf Glob::wquer}}\label{structGlob_845985e4bae752d867ac16f174e9789c}


Controls damping. 



Definition at line 276 of file def.h.

Referenced by damp\-It(), mex\-Function(), and parseopts().\index{Glob@{Glob}!y0fix@{y0fix}}
\index{y0fix@{y0fix}!Glob@{Glob}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int$\ast$ {\bf Glob::y0fix}}\label{structGlob_7228de2542313c8be38554e21af2f39c}


Fix initial values. 

TRUE : Fit initial value\par
 FALSE : Fix initial value\par


Vector of dimension: \[ {\bf nvar}\] 

Definition at line 273 of file def.h.

Referenced by decondense(), fitness(), out\-Fit(), parseopts(), and solv\-Lin().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
/home/peifer/diffit/{\bf def.h}\end{CompactItemize}
