\hypertarget{Recover_8cc}{
\section{/net/phurud/home/darcs/carpet-stable-2/Carpet/Carpet\-IOHDF5/src/Recover.cc File Reference}
\label{Recover_8cc}\index{/net/phurud/home/darcs/carpet-stable-2/Carpet/CarpetIOHDF5/src/Recover.cc@{/net/phurud/home/darcs/carpet-stable-2/Carpet/CarpetIOHDF5/src/Recover.cc}}
}
{\tt \#include $<$assert.h$>$}\par
{\tt \#include $<$limits.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$sys/stat.h$>$}\par
{\tt \#include $<$sys/types.h$>$}\par
{\tt \#include $<$algorithm$>$}\par
{\tt \#include $<$fstream$>$}\par
{\tt \#include $<$sstream$>$}\par
{\tt \#include $<$string$>$}\par
{\tt \#include $<$vector$>$}\par
{\tt \#include $<$hdf5.h$>$}\par
{\tt \#include \char`\"{}cctk.h\char`\"{}}\par
{\tt \#include \char`\"{}cctk\_\-Parameters.h\char`\"{}}\par
{\tt \#include \char`\"{}cctk\_\-Version.h\char`\"{}}\par
{\tt \#include \char`\"{}Cactus\-Base/IOUtil/src/io\-GH.h\char`\"{}}\par
{\tt \#include \char`\"{}Cactus\-Base/IOUtil/src/ioutil\_\-Checkpoint\-Recovery.h\char`\"{}}\par
{\tt \#include \char`\"{}Carpet\-IOHDF5.hh\char`\"{}}\par


Include dependency graph for Recover.cc:\subsection*{Namespaces}
\begin{CompactItemize}
\item 
namespace \hyperlink{namespaceCarpet}{Carpet}
\item 
namespace \hyperlink{namespaceCarpetIOHDF5}{Carpet\-IOHDF5}
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{Recover_8cc_a0}{METADATA\_\-GROUP}~\char`\"{}Parameters and Global Attributes\char`\"{}
\item 
\#define \hyperlink{Recover_8cc_a1}{ALL\_\-PARAMETERS}~\char`\"{}All Parameters\char`\"{}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a45}{Open\-File} (const char $\ast$basefilename, file\_\-t $\ast$file, int called\_\-from)
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a46}{Recover\-Variables} (c\-GH $\ast$cctk\-GH, file\_\-t $\ast$file)
\item 
static herr\_\-t \hyperlink{namespaceCarpetIOHDF5_a47}{Read\-Metadata} (hid\_\-t group, const char $\ast$objectname, void $\ast$arg)
\item 
static void \hyperlink{namespaceCarpetIOHDF5_a48}{Set\-Flag} (int vindex, const char $\ast$optstring, void $\ast$arg)
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a49}{Input\-Var\-As} (const c\-GH $\ast$const cctk\-GH, const int vindex, const char $\ast$const alias)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
static file\_\-t \hyperlink{namespaceCarpetIOHDF5_a3}{infile}
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{Recover_8cc_a1}{
\index{Recover.cc@{Recover.cc}!ALL_PARAMETERS@{ALL\_\-PARAMETERS}}
\index{ALL_PARAMETERS@{ALL\_\-PARAMETERS}!Recover.cc@{Recover.cc}}
\subsubsection[ALL\_\-PARAMETERS]{\setlength{\rightskip}{0pt plus 5cm}\#define ALL\_\-PARAMETERS~\char`\"{}All Parameters\char`\"{}}}
\label{Recover_8cc_a1}




Definition at line 28 of file Recover.cc.\hypertarget{Recover_8cc_a0}{
\index{Recover.cc@{Recover.cc}!METADATA_GROUP@{METADATA\_\-GROUP}}
\index{METADATA_GROUP@{METADATA\_\-GROUP}!Recover.cc@{Recover.cc}}
\subsubsection[METADATA\_\-GROUP]{\setlength{\rightskip}{0pt plus 5cm}\#define METADATA\_\-GROUP~\char`\"{}Parameters and Global Attributes\char`\"{}}}
\label{Recover_8cc_a0}




Definition at line 27 of file Recover.cc.

\subsection{Function Documentation}
\hypertarget{namespaceCarpetIOHDF5_file_a49}{
\index{Recover.cc@{Recover.cc}!InputVarAs@{InputVarAs}}
\index{InputVarAs@{InputVarAs}!Recover.cc@{Recover.cc}}
\subsubsection[InputVarAs]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Input\-Var\-As (const c\-GH $\ast$const  {\em cctk\-GH}, const int {\em vindex}, const char $\ast$const  {\em alias})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a49}




Definition at line 646 of file Recover.cc.

References Carpet::arrdata, dh::boxes, dist::comm, Carpet\-IOHDF5::Get\-Dataset\-Name(), Carpet\-IOHDF5::Getn\-Datasets(), HDF5\_\-ERROR, Carpet::maps, Carpet::mglevel, Carpet\-IOHDF5::Read\-Attribute(), Carpet\-IOHDF5::Read\-Var(), Carpet::reflevel, and dist::size().

Referenced by Carpet\-IOHDF5::Carpet\-IOHDF5\_\-Read\-Data().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a45}{
\index{Recover.cc@{Recover.cc}!OpenFile@{OpenFile}}
\index{OpenFile@{OpenFile}!Recover.cc@{Recover.cc}}
\subsubsection[OpenFile]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Open\-File (const char $\ast$ {\em basefilename}, file\_\-t $\ast$ {\em file}, int {\em called\_\-from})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a45}




Definition at line 135 of file Recover.cc.

References ALL\_\-PARAMETERS, Carpet\-IOHDF5::file\_\-t::cctk\_\-iteration, Carpet\-IOHDF5::dataset\_\-t::datasetname, Carpet\-IOHDF5::file\_\-t::datasets, Carpet\-IOHDF5::file\_\-t::delta\_\-time, Carpet\-IOHDF5::file\_\-t::file, Carpet\-IOHDF5::file\_\-t::filename, Carpet\-IOHDF5::file\_\-t::global\_\-time, HDF5\_\-ERROR, i, Carpet\-IOHDF5::dataset\_\-t::iorigin, j, Carpet\-IOHDF5::file\_\-t::main\_\-loop\_\-index, METADATA\_\-GROUP, Carpet\-IOHDF5::dataset\_\-t::mglevel, Carpet\-IOHDF5::file\_\-t::mgleveltimes, Carpet\-IOHDF5::file\_\-t::num\_\-datasets, Carpet\-IOHDF5::file\_\-t::num\_\-ints, Carpet\-IOHDF5::file\_\-t::num\_\-mglevels, Carpet\-IOHDF5::file\_\-t::num\_\-reflevels, Carpet\-IOHDF5::file\_\-t::parameter\_\-len, Carpet\-IOHDF5::dataset\_\-t::rank, dist::rank(), Carpet\-IOHDF5::Read\-Attribute(), Carpet\-IOHDF5::Read\-Metadata(), Carpet\-IOHDF5::dataset\_\-t::reflevel, Carpet\-IOHDF5::dataset\_\-t::shape, Carpet\-IOHDF5::dataset\_\-t::timelevel, and Carpet\-IOHDF5::dataset\_\-t::vindex.

Referenced by Carpet\-IOHDF5::Recover().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a47}{
\index{Recover.cc@{Recover.cc}!ReadMetadata@{ReadMetadata}}
\index{ReadMetadata@{ReadMetadata}!Recover.cc@{Recover.cc}}
\subsubsection[ReadMetadata]{\setlength{\rightskip}{0pt plus 5cm}static herr\_\-t Carpet\-IOHDF5::Read\-Metadata (hid\_\-t {\em group}, const char $\ast$ {\em objectname}, void $\ast$ {\em arg})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a47}




Definition at line 820 of file Recover.cc.

References Carpet\-IOHDF5::dataset\_\-t::datasetname, Carpet\-IOHDF5::file\_\-t::datasets, HDF5\_\-ERROR, i, Carpet\-IOHDF5::dataset\_\-t::iorigin, Carpet\-IOHDF5::dataset\_\-t::mglevel, Carpet\-IOHDF5::file\_\-t::num\_\-ints, Carpet\-IOHDF5::dataset\_\-t::rank, Carpet\-IOHDF5::Read\-Attribute(), Carpet\-IOHDF5::dataset\_\-t::reflevel, Carpet\-IOHDF5::dataset\_\-t::shape, Carpet\-IOHDF5::dataset\_\-t::timelevel, and Carpet\-IOHDF5::dataset\_\-t::vindex.

Referenced by Carpet\-IOHDF5::Open\-File().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a46}{
\index{Recover.cc@{Recover.cc}!RecoverVariables@{RecoverVariables}}
\index{RecoverVariables@{RecoverVariables}!Recover.cc@{Recover.cc}}
\subsubsection[RecoverVariables]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Recover\-Variables (c\-GH $\ast$ {\em cctk\-GH}, file\_\-t $\ast$ {\em file})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a46}




Definition at line 869 of file Recover.cc.

References dist::comm, Carpet\-IOHDF5::file\_\-t::datasets, Carpet\-IOHDF5::file\_\-t::file, HDF5\_\-ERROR, Carpet::maps, Carpet::mglevel, Carpet\-IOHDF5::file\_\-t::num\_\-reflevels, Carpet\-IOHDF5::Read\-Var(), and Carpet::reflevel.

Referenced by Carpet\-IOHDF5::Recover().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a48}{
\index{Recover.cc@{Recover.cc}!SetFlag@{SetFlag}}
\index{SetFlag@{SetFlag}!Recover.cc@{Recover.cc}}
\subsubsection[SetFlag]{\setlength{\rightskip}{0pt plus 5cm}static void Carpet\-IOHDF5::Set\-Flag (int {\em vindex}, const char $\ast$ {\em optstring}, void $\ast$ {\em arg})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a48}




Definition at line 957 of file Recover.cc.

Referenced by Carpet\-IOHDF5::Carpet\-IOHDF5\_\-Read\-Data().

\subsection{Variable Documentation}
\hypertarget{namespaceCarpetIOHDF5_file_a3}{
\index{Recover.cc@{Recover.cc}!infile@{infile}}
\index{infile@{infile}!Recover.cc@{Recover.cc}}
\subsubsection[infile]{\setlength{\rightskip}{0pt plus 5cm}file\_\-t \hyperlink{namespaceCarpetIOHDF5_a3}{Carpet\-IOHDF5::infile}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a3}


{\bf Initial value:}

\footnotesize\begin{verbatim} {0, 0, 0, 0, 0, 0, 0, NULL, NULL, -1, -1,
                        list<dataset_t> (), 0}
\end{verbatim}\normalsize 


Definition at line 75 of file Recover.cc.

Referenced by Carpet\-IOHDF5::Carpet\-IOHDF5\_\-Close\-File(), main(), and Carpet\-IOHDF5::Recover().