%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This document is a shell for generating a SAND report from the Users Manual
% generated using a doxygen-consistent style.  It uses \includepdf from the
% pdfpages package to embed the Manual, but cannot currently preserve the
% original hyperlinking.  Therefore, it is currently restricted to report
% printing, and should not be used for electronic documents.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[ps2pdf,11pt,report,strict]{SANDreport}

\input{DakotaDefs.tex}
\usepackage[final]{pdfpages}
%\usepackage{makeidx}
%\usepackage{fancyhdr}
%\ifx\pdfoutput\undefined
%\usepackage[ps2pdf,
%            pagebackref=true,
%            colorlinks=true,
%            linkcolor=blue
%           ]{hyperref}
%\else
%\usepackage[pdftex,
%            pagebackref=true,
%            colorlinks=true,
%            linkcolor=blue
%           ]{hyperref}
%\fi

\title{Dakota, A Multilevel Parallel Object-Oriented Framework for 
Design Optimization, Parameter Estimation, Uncertainty Quantification, 
and Sensitivity Analysis: Version \DakotaVersion\space User's Manual}

%% \author{\DakotaAuthorLong}

%\date{\today}

\SANDnum{\DakotaSANDUsers}
%%%% TODO: if/else on release date \SANDprintDate{\DakotaSANDDate; updated \today}
\SANDprintDate{\DakotaSANDDate}
\SANDauthor{\DakotaAuthorUsersSAND}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\maketitle
\begin{abstract}
\DakotaAbstractShared
\DakotaAbstractUsers
\end{abstract}


\SANDmain 


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Rather than adopting the SAND report class for the entire manual, we include
% the doxygen-consistent Users Manual within a SAND report shell.  The first two
% pages of Users_Main.pdf have their own title page, such that the document can
% stand alone.  For SAND report preparation, we omit the first two pages by
% including 3-end.  The page numbering matches up since we set the page counter
% to 3 for the title page in Users_Main.tex.

\includepdf[pages=3-]{./latex-user/Users_Main.pdf}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{SANDdistribution}[NM]

  % UNIVERSITIES

  % INDUSTRY

  % LABS

  % SANDIA INTERNAL  
  %\SANDdistInternal{1}{MailStop}{Name}{Organization}
  %\SANDdistInternal{10}{1318}{B.~M.~Adams}{1441}

\end{SANDdistribution}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
