\hypertarget{Output_8cc}{
\section{/net/phurud/home/darcs/carpet-stable-2/Carpet/Carpet\-IOHDF5/src/Output.cc File Reference}
\label{Output_8cc}\index{/net/phurud/home/darcs/carpet-stable-2/Carpet/CarpetIOHDF5/src/Output.cc@{/net/phurud/home/darcs/carpet-stable-2/Carpet/CarpetIOHDF5/src/Output.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 $<$unistd.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 $<$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`\"{}util\_\-String.h\char`\"{}}\par
{\tt \#include \char`\"{}util\_\-Table.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`\"{}bbox.hh\char`\"{}}\par
{\tt \#include \char`\"{}data.hh\char`\"{}}\par
{\tt \#include \char`\"{}gdata.hh\char`\"{}}\par
{\tt \#include \char`\"{}ggf.hh\char`\"{}}\par
{\tt \#include \char`\"{}vect.hh\char`\"{}}\par
{\tt \#include \char`\"{}carpet.hh\char`\"{}}\par
{\tt \#include \char`\"{}Carpet\-IOHDF5.hh\char`\"{}}\par


Include dependency graph for Output.cc:\subsection*{Namespaces}
\begin{CompactItemize}
\item 
namespace \hyperlink{namespaceCarpetIOHDF5}{Carpet\-IOHDF5}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static void $\ast$ \hyperlink{namespaceCarpetIOHDF5_a36}{Setup\-GH} (t\-Flesh\-Config $\ast$const fleshconfig, const int conv\-Level, c\-GH $\ast$const cctk\-GH)
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a37}{Output\-GH} (const c\-GH $\ast$const cctk\-GH)
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a38}{Output\-Var\-As} (const c\-GH $\ast$const cctk\-GH, const char $\ast$const varname, const char $\ast$const alias)
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a39}{Time\-To\-Output} (const c\-GH $\ast$const cctk\-GH, const int vindex)
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a40}{Trigger\-Output} (const c\-GH $\ast$const cctk\-GH, const int vindex)
\item 
static void \hyperlink{namespaceCarpetIOHDF5_a41}{Add\-Attributes} (const c\-GH $\ast$const cctk\-GH, const char $\ast$fullname, int vdim, int refinementlevel, const io\-Request $\ast$request, \hyperlink{classbboxset_w0}{ibset::const\_\-iterator} \hyperlink{classbbox}{bbox}, hid\_\-t dataset)
\item 
static void \hyperlink{namespaceCarpetIOHDF5_a42}{Get\-Var\-Index} (int vindex, const char $\ast$optstring, void $\ast$arg)
\item 
static void \hyperlink{namespaceCarpetIOHDF5_a43}{Check\-Steerable\-Parameters} (const c\-GH $\ast$const cctk\-GH, \hyperlink{structCarpetIOHDF5GH}{Carpet\-IOHDF5GH} $\ast$my\-GH)
\item 
static int \hyperlink{namespaceCarpetIOHDF5_a44}{Warn\-About\-Deprecated\-Parameters} (void)
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{namespaceCarpetIOHDF5_file_a41}{
\index{Output.cc@{Output.cc}!AddAttributes@{AddAttributes}}
\index{AddAttributes@{AddAttributes}!Output.cc@{Output.cc}}
\subsubsection[AddAttributes]{\setlength{\rightskip}{0pt plus 5cm}static void Carpet\-IOHDF5::Add\-Attributes (const c\-GH $\ast$const  {\em cctk\-GH}, const char $\ast$ {\em fullname}, int {\em vdim}, int {\em refinementlevel}, const io\-Request $\ast$ {\em request}, \hyperlink{classbboxset_w0}{ibset::const\_\-iterator} {\em bbox}, hid\_\-t {\em dataset})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a41}




Definition at line 826 of file Output.cc.

References CARPET\_\-VERSION, dim, bbox$<$ T, D $>$::lower(), Carpet::map, Carpet::mglevel, Carpet::reflevel, Carpet::vdd, and Carpet\-IOHDF5::Write\-Attribute().

Referenced by Carpet\-IOHDF5::Write\-Var().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a43}{
\index{Output.cc@{Output.cc}!CheckSteerableParameters@{CheckSteerableParameters}}
\index{CheckSteerableParameters@{CheckSteerableParameters}!Output.cc@{Output.cc}}
\subsubsection[CheckSteerableParameters]{\setlength{\rightskip}{0pt plus 5cm}static void Carpet\-IOHDF5::Check\-Steerable\-Parameters (const c\-GH $\ast$const  {\em cctk\-GH}, \hyperlink{structCarpetIOHDF5GH}{Carpet\-IOHDF5GH} $\ast$ {\em my\-GH})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a43}




Definition at line 493 of file Output.cc.

References i, Carpet\-IOHDF5GH::out\_\-vars, Carpet\-IOScalar::out\_\-vars, Carpet\-IOHDF5GH::requests, and Carpet\-IOHDF5GH::stop\_\-on\_\-parse\_\-errors.

Referenced by Carpet\-IOHDF5::Setup\-GH(), and Carpet\-IOHDF5::Time\-To\-Output().\hypertarget{namespaceCarpetIOHDF5_file_a42}{
\index{Output.cc@{Output.cc}!GetVarIndex@{GetVarIndex}}
\index{GetVarIndex@{GetVarIndex}!Output.cc@{Output.cc}}
\subsubsection[GetVarIndex]{\setlength{\rightskip}{0pt plus 5cm}static void Carpet\-IOHDF5::Get\-Var\-Index (int {\em vindex}, const char $\ast$ {\em optstring}, void $\ast$ {\em arg})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a42}




Definition at line 711 of file Output.cc.

Referenced by Carpet\-IOHDF5::Output\-Var\-As().\hypertarget{namespaceCarpetIOHDF5_file_a37}{
\index{Output.cc@{Output.cc}!OutputGH@{OutputGH}}
\index{OutputGH@{OutputGH}!Output.cc@{Output.cc}}
\subsubsection[OutputGH]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Output\-GH (const c\-GH $\ast$const  {\em cctk\-GH})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a37}




Definition at line 540 of file Output.cc.

References Carpet\-IOHDF5::Time\-To\-Output(), Carpet\-IOHDF5::Trigger\-Output(), and Carpet\-IOHDF5::Warn\-About\-Deprecated\-Parameters().

Referenced by Carpet\-IOHDF5::Setup\-GH().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a38}{
\index{Output.cc@{Output.cc}!OutputVarAs@{OutputVarAs}}
\index{OutputVarAs@{OutputVarAs}!Output.cc@{Output.cc}}
\subsubsection[OutputVarAs]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Output\-Var\-As (const c\-GH $\ast$const  {\em cctk\-GH}, const char $\ast$const  {\em varname}, const char $\ast$const  {\em alias})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a38}




Definition at line 726 of file Output.cc.

References Carpet::arrdata, Carpet::do\_\-global\_\-mode, Carpet\-IOHDF5::do\_\-truncate, Carpet\-IOHDF5::Get\-Var\-Index(), HDF5\_\-ERROR, Carpet::mglevel, Carpet\-IOHDF5GH::out\_\-dir, Carpet::reflevel, dist::size(), and Carpet\-IOHDF5::Write\-Var().

Referenced by Carpet\-IOHDF5::Setup\-GH(), Carpet\-IOHDF5::Trigger\-Output(), and Carpet\-IOASCII::IOASCII$<$ outdim $>$::Trigger\-Output().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a36}{
\index{Output.cc@{Output.cc}!SetupGH@{SetupGH}}
\index{SetupGH@{SetupGH}!Output.cc@{Output.cc}}
\subsubsection[SetupGH]{\setlength{\rightskip}{0pt plus 5cm}static void $\ast$ Carpet\-IOHDF5::Setup\-GH (t\-Flesh\-Config $\ast$const  {\em fleshconfig}, const int {\em conv\-Level}, c\-GH $\ast$const  {\em cctk\-GH})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a36}




Definition at line 87 of file Output.cc.

References abs(), Carpet\-IOHDF5::Check\-Steerable\-Parameters(), Carpet\-IOHDF5GH::cp\_\-filename\_\-index, Carpet\-IOHDF5GH::cp\_\-filename\_\-list, Carpet\-IOHDF5::do\_\-truncate, Carpet\-IOHDF5GH::HDF5\_\-COMPLEX, Carpet\-IOHDF5GH::HDF5\_\-COMPLEX16, Carpet\-IOHDF5GH::HDF5\_\-COMPLEX32, Carpet\-IOHDF5GH::HDF5\_\-COMPLEX8, HDF5\_\-ERROR, i, Carpet\-IOHDF5::last\_\-output, Carpet::maxreflevels, Carpet::mglevels, Carpet\-IOHDF5GH::out\_\-dir, Carpet\-IOHDF5GH::out\_\-every\_\-default, Carpet\-IOHDF5GH::out\_\-last, Carpet\-IOHDF5GH::out\_\-vars, Carpet\-IOHDF5::Output\-GH(), Carpet\-IOHDF5::Output\-Var\-As(), Carpet\-IOHDF5::Recover(), Carpet\-IOHDF5GH::requests, Carpet\-IOHDF5GH::stop\_\-on\_\-parse\_\-errors, Carpet\-IOHDF5::Time\-To\-Output(), and Carpet\-IOHDF5::Trigger\-Output().

Referenced by Carpet\-IOHDF5::Carpet\-IOHDF5\_\-Startup().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a39}{
\index{Output.cc@{Output.cc}!TimeToOutput@{TimeToOutput}}
\index{TimeToOutput@{TimeToOutput}!Output.cc@{Output.cc}}
\subsubsection[TimeToOutput]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Time\-To\-Output (const c\-GH $\ast$const  {\em cctk\-GH}, const int {\em vindex})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a39}




Definition at line 577 of file Output.cc.

References Carpet\-IOHDF5::Check\-Steerable\-Parameters(), Carpet::do\_\-global\_\-mode, Carpet\-IOHDF5::last\_\-output, Carpet::mglevel, Carpet::reflevel, and Carpet\-IOHDF5GH::requests.

Referenced by Carpet\-IOHDF5::Output\-GH(), Carpet\-IOASCII::IOASCII$<$ outdim $>$::Output\-GH(), and Carpet\-IOHDF5::Setup\-GH().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a40}{
\index{Output.cc@{Output.cc}!TriggerOutput@{TriggerOutput}}
\index{TriggerOutput@{TriggerOutput}!Output.cc@{Output.cc}}
\subsubsection[TriggerOutput]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Trigger\-Output (const c\-GH $\ast$const  {\em cctk\-GH}, const int {\em vindex})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a40}




Definition at line 698 of file Output.cc.

References Carpet\-IOHDF5::last\_\-output, Carpet::mglevel, Carpet\-IOHDF5::Output\-Var\-As(), and Carpet::reflevel.

Referenced by Carpet\-IOHDF5::Output\-GH(), Carpet\-IOASCII::IOASCII$<$ outdim $>$::Output\-GH(), and Carpet\-IOHDF5::Setup\-GH().

Here is the call graph for this function:\hypertarget{namespaceCarpetIOHDF5_file_a44}{
\index{Output.cc@{Output.cc}!WarnAboutDeprecatedParameters@{WarnAboutDeprecatedParameters}}
\index{WarnAboutDeprecatedParameters@{WarnAboutDeprecatedParameters}!Output.cc@{Output.cc}}
\subsubsection[WarnAboutDeprecatedParameters]{\setlength{\rightskip}{0pt plus 5cm}static int Carpet\-IOHDF5::Warn\-About\-Deprecated\-Parameters (void)\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpetIOHDF5_file_a44}




Definition at line 889 of file Output.cc.

Referenced by Carpet\-IOHDF5::Output\-GH().