
\section{Schedule} 


\parskip = 0pt


\noindent This section lists all the variables which are assigned storage by thorn CactusNumerical/SphericalSurface.  Storage can either last for the duration of the run ({\bf Always} means that if this thorn is activated storage will be assigned, {\bf Conditional} means that if this thorn is activated storage will be assigned for the duration of the run if some condition is met), or can be turned on for the duration of a schedule function.


\subsection*{Storage}

\hspace{5mm}

 \begin{tabular*}{160mm}{ll} 

{\bf Always:}&  ~ \\ 
 sf\_active & ~\\ 
 sf\_valid & ~\\ 
 sf\_info & ~\\ 
 sf\_radius sf\_origin & ~\\ 
 sf\_coordinate\_descriptors & ~\\ 
 sf\_coordinate\_estimators & ~\\ 
 sf\_shape\_descriptors & ~\\ 
 sf\_minreflevel & ~\\ 
 sf\_maxreflevel & ~\\ 
~ & ~\\ 
\end{tabular*} 


\subsection*{Scheduled Functions}
\vspace{5mm}

\noindent {\bf CCTK\_BASEGRID} 

\hspace{5mm} sphericalsurface\_setupres 

\hspace{5mm}{\it set surface resolution automatically } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & After:  & spatialcoordinates \\ 
~& ~ &correctcoordinates\\ 
~ & Before:  & sphericalsurface\_setup \\ 
~ & Language:  & c \\ 
~ & Options:  & global \\ 
~& ~ &loop-local\\ 
~ & Type:  & function \\ 
~ & Writes:  & sphericalsurface::sf\_coordinate\_estimators(everywhere) \\ 
~& ~ &sphericalsurface::sf\_minreflevel(everywhere)\\ 
~& ~ &sphericalsurface::sf\_maxreflevel(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_BASEGRID} 

\hspace{5mm} sphericalsurface\_setup 

\hspace{5mm}{\it calculate surface coordinate descriptors } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Options:  & global \\ 
~ & Reads:  & sphericalsurface::sf\_coordinate\_estimators \\ 
~& ~ &sphericalsurface::sf\_minreflevel\\ 
~& ~ &sphericalsurface::sf\_maxreflevel\\ 
~ & Type:  & function \\ 
~ & Writes:  & sphericalsurface::sf\_shape\_descriptors(everywhere) \\ 
~& ~ &sphericalsurface::sf\_coordinate\_descriptors(everywhere)\\ 
~& ~ &sphericalsurface::sf\_active(everywhere)\\ 
~& ~ &sphericalsurface::sf\_valid(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_BASEGRID} 

\hspace{5mm} sphericalsurface\_set 

\hspace{5mm}{\it set surface radii to be used for initial setup in other thorns } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Before:  & sphericalsurface\_hasbeenset \\ 
~ & Language:  & c \\ 
~ & Options:  & global \\ 
~ & Reads:  & sphericalsurface::sf\_shape\_descriptors \\ 
~& ~ &sphericalsurface::sf\_coordinate\_descriptors\\ 
~ & Type:  & function \\ 
~ & Writes:  & sphericalsurface::sf\_active(everywhere) \\ 
~& ~ &sphericalsurface::sf\_valid(everywhere)\\ 
~& ~ &sphericalsurface::sf\_info(everywhere)\\ 
~& ~ &sphericalsurface::sf\_origin(everywhere)\\ 
~& ~ &sphericalsurface::sf\_radius(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_BASEGRID} 

\hspace{5mm} sphericalsurface\_hasbeenset 

\hspace{5mm}{\it set the spherical surfaces before this group, and use it afterwards } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Type:  & group \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_POSTSTEP} 

\hspace{5mm} sphericalsurface\_set 

\hspace{5mm}{\it set surface radii } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Before:  & sphericalsurface\_hasbeenset \\ 
~ & Language:  & c \\ 
~ & Options:  & global \\ 
~ & Type:  & function \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_POSTSTEP} 

\hspace{5mm} sphericalsurface\_hasbeenset 

\hspace{5mm}{\it set the spherical surfaces before this group, and use it afterwards } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Type:  & group \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf SphericalSurface\_HasBeenSet} 

\hspace{5mm} sphericalsurface\_checkstate 

\hspace{5mm}{\it test the state of the spherical surfaces } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Options:  & global \\ 
~ & Reads:  & sphericalsurface::sf\_valid \\ 
~& ~ &sphericalsurface::sf\_active\\ 
~ & Type:  & function \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_PARAMCHECK} 

\hspace{5mm} sphericalsurface\_paramcheck 

\hspace{5mm}{\it check that all surface names are unique } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Options:  & global \\ 
~ & Type:  & function \\ 
\end{tabular*} 



\vspace{5mm}\parskip = 10pt 
