
\section{Interfaces} 


\parskip = 0pt

\vspace{3mm} \subsection*{General}

\noindent {\bf Implements}: 

carpetregrid2
\vspace{2mm}
\subsection*{Grid Variables}
\vspace{5mm}\subsubsection{PRIVATE GROUPS}

\vspace{5mm}

\begin{tabular*}{150mm}{|c|c@{\extracolsep{\fill}}|rl|} \hline 
~ {\bf Group Names} ~ & ~ {\bf Variable Names} ~  &{\bf Details} ~ & ~\\ 
\hline 
last\_iteration & last\_iteration & compact & 0 \\ 
 &  & description & Last iteration at which there was a regridding \\ 
 &  & dimensions & 0 \\ 
 &  & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & variable type & INT \\ 
\hline 
last\_map & last\_map & compact & 0 \\ 
 &  & description & Last map at which there was a regridding at last\_iteration \\ 
 &  & dimensions & 0 \\ 
 &  & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & variable type & INT \\ 
\hline 
old\_active & old\_active & compact & 0 \\ 
 &  & description & Old whether this centre is active \\ 
 &  & dimensions & 0 \\ 
 &  & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & INT \\ 
\hline 
old\_num\_levels & old\_num\_levels & compact & 0 \\ 
 &  & description & Old number of refinement levels \\ 
 &  & dimensions & 0 \\ 
 &  & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & INT \\ 
\hline 
old\_positions &  & compact & 0 \\ 
 & old\_position\_x & description & Old positions of refined regions \\ 
 & old\_position\_y & dimensions & 0 \\ 
 & old\_position\_z & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & REAL \\ 
\hline 
old\_radiixyz &  & compact & 0 \\ 
 & old\_radius\_x & description & Old radii of refined regions for each level \\ 
 & old\_radius\_y & dimensions & 1 \\ 
 & old\_radius\_z & distribution & CONSTANT \\ 
 &  & group type & ARRAY \\ 
 &  & size & 30 \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & REAL \\ 
\hline 
\end{tabular*} 


\vspace{5mm}\subsubsection{PUBLIC GROUPS}

\vspace{5mm}

\begin{tabular*}{150mm}{|c|c@{\extracolsep{\fill}}|rl|} \hline 
~ {\bf Group Names} ~ & ~ {\bf Variable Names} ~  &{\bf Details} ~ & ~\\ 
\hline 
active & active & compact & 0 \\ 
 &  & description & Whether this centre is active \\ 
 &  & dimensions & 0 \\ 
 &  & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & INT \\ 
\hline 
num\_levels & num\_levels & compact & 0 \\ 
 &  & description & Number of refinement levels \\ 
 &  & dimensions & 0 \\ 
 &  & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & INT \\ 
\hline 
positions &  & compact & 0 \\ 
 & position\_x & description & Positions of refined regions \\ 
 & position\_y & dimensions & 0 \\ 
 & position\_z & distribution & CONSTANT \\ 
 &  & group type & SCALAR \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & REAL \\ 
\hline 
radii &  & compact & 0 \\ 
 & radius & description & Radii of refined regions for each level \\ 
 &  & dimensions & 1 \\ 
 &  & distribution & CONSTANT \\ 
 &  & group type & ARRAY \\ 
 &  & size & 30 \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & REAL \\ 
\hline 
radiixyz &  & compact & 0 \\ 
 & radius\_x & description & Radii of refined regions for each level \\ 
 & radius\_y & dimensions & 1 \\ 
 & radius\_z & distribution & CONSTANT \\ 
 &  & group type & ARRAY \\ 
 &  & size & 30 \\ 
 &  & timelevels & 1 \\ 
 &  & vararray\_size & 10 \\ 
 &  & variable type & REAL \\ 
\hline 
level\_mask & level\_mask & compact & 0 \\ 
 &  & description & Requested refinement level for this grid point \\ 
 &  & dimensions & 3 \\ 
 &  & distribution & DEFAULT \\ 
 &  & group type & GF \\ 
 &  & tags & checkpoint="no" prolongation="none" \\ 
 &  & timelevels & 1 \\ 
 &  & variable type & REAL \\ 
\hline 
\end{tabular*} 



\vspace{5mm}

\noindent {\bf Uses header}: 

Timer.hh

bbox.hh

bboxset.hh

defs.hh

dh.hh

gh.hh

mpi\_string.hh

region.hh

vect.hh

carpet.hh
\vspace{2mm}

\noindent {\bf Provides}: 



Carpet\_Regrid to 

Carpet\_RegridMaps to 
\vspace{2mm}\parskip = 10pt 
