
\section{Schedule} 


\parskip = 0pt


\noindent This section lists all the variables which are assigned storage by thorn EinsteinBase/HydroBase.  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:}& {\bf Conditional:} \\ 
 rho[timelevels] &  press[timelevels]\\ 
 eps[timelevels] &  temperature[timelevels]\\ 
 vel[timelevels] &  entropy[timelevels]\\ 
 w\_lorentz[timelevels] &  hydro\_excision\_mask\\ 
~ &  Y\_e[timelevels]\\ 
~ &  Abar[timelevels]\\ 
~ &  Bvec[timelevels]\\ 
~ &  Avec[timelevels]\\ 
~ &  Aphi[timelevels]\\ 
~ & ~\\ 
\end{tabular*} 


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

\noindent {\bf CCTK\_INITIAL}   (conditional) 

\hspace{5mm} hydrobase\_initial 

\hspace{5mm}{\it hydrobase initial data group } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & After:  & admbase\_initialdata \\ 
~& ~ &admbase\_initialgauge\\ 
~& ~ &ioutil\_recoveridfromdatafiles\\ 
~ & Before:  & admbase\_postinitial \\ 
~& ~ &settmunu\\ 
~ & Type:  & group \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_STARTUP}   (conditional) 

\hspace{5mm} hydrobase\_startup 

\hspace{5mm}{\it startup banner } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf CCTK\_INITIAL}   (conditional) 

\hspace{5mm} hydrobase\_prim2coninitial 

\hspace{5mm}{\it recover the conservative variables from the primitive variables } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & After:  & hydrobase\_initial \\ 
~ & Before:  & settmunu \\ 
~ & Type:  & group \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_Initial}   (conditional) 

\hspace{5mm} hydrobase\_zero 

\hspace{5mm}{\it set up vacuum hydro initial data } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Type:  & function \\ 
~ & Writes:  & hydrobase::rho(everywhere) \\ 
~& ~ &rho\_p(everywhere)\\ 
~& ~ &rho\_p\_p(everywhere)\\ 
~& ~ &hydrobase::vel(everywhere)\\ 
~& ~ &vel\_p(everywhere)\\ 
~& ~ &vel\_p\_p(everywhere)\\ 
~& ~ &hydrobase::w\_lorentz(everywhere)\\ 
~& ~ &w\_lorentz\_p(everywhere)\\ 
~& ~ &w\_lorentz\_p\_p(everywhere)\\ 
~& ~ &hydrobase::eps(everywhere)\\ 
~& ~ &eps\_p(everywhere)\\ 
~& ~ &eps\_p\_p(everywhere)\\ 
~& ~ &hydrobase::abar(everywhere)\\ 
~& ~ &abar\_p(everywhere)\\ 
~& ~ &abar\_p\_p(everywhere)\\ 
~& ~ &hydrobase::temperature(everywhere)\\ 
~& ~ &temperature\_p(everywhere)\\ 
~& ~ &temperature\_p\_p(everywhere)\\ 
~& ~ &hydrobase::entropy(everywhere)\\ 
~& ~ &entropy\_p(everywhere)\\ 
~& ~ &entropy\_p\_p(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_Initial}   (conditional) 

\hspace{5mm} hydrobase\_y\_e\_one 

\hspace{5mm}{\it set electron fraction to 1 } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Type:  & function \\ 
~ & Writes:  & hydrobase::y\_e(everywhere) \\ 
~& ~ &y\_e\_p(everywhere)\\ 
~& ~ &y\_e\_p\_p(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_Initial}   (conditional) 

\hspace{5mm} hydrobase\_bvec\_zero 

\hspace{5mm}{\it set magnetic field to 0 } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Type:  & function \\ 
~ & Writes:  & hydrobase::bvec(everywhere) \\ 
~& ~ &bvec\_p(everywhere)\\ 
~& ~ &bvec\_p\_p(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_Initial}   (conditional) 

\hspace{5mm} hydrobase\_avec\_zero 

\hspace{5mm}{\it set vector potential to 0 } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Type:  & function \\ 
~ & Writes:  & hydrobase::avec(everywhere) \\ 
~& ~ &avec\_p(everywhere)\\ 
~& ~ &avec\_p\_p(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_Initial}   (conditional) 

\hspace{5mm} hydrobase\_aphi\_zero 

\hspace{5mm}{\it set vector potential phi to 0 } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Type:  & function \\ 
~ & Writes:  & hydrobase::aphi(everywhere) \\ 
~& ~ &aphi\_p(everywhere)\\ 
~& ~ &aphi\_p\_p(everywhere)\\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_Initial}   (conditional) 

\hspace{5mm} hydrobase\_excisionmasksetup 

\hspace{5mm}{\it set up hydro excision mask } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf CCTK\_POSTREGRIDINITIAL}   (conditional) 

\hspace{5mm} hydrobase\_excisionmasksetup 

\hspace{5mm}{\it set up hydro excision mask } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf CCTK\_POSTREGRID}   (conditional) 

\hspace{5mm} hydrobase\_excisionmasksetup 

\hspace{5mm}{\it set up hydro excision mask } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf CCTK\_POST\_RECOVER\_VARIABLES}   (conditional) 

\hspace{5mm} hydrobase\_excisionmasksetup 

\hspace{5mm}{\it set up hydro excision mask } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf CCTK\_PARAMCHECK}   (conditional) 

\hspace{5mm} hydrobase\_paramcheck 

\hspace{5mm}{\it check that hydrobase parameters are consistent } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf HydroBase\_ExcisionMaskSetup}   (conditional) 

\hspace{5mm} hydrobase\_initexcisionmask 

\hspace{5mm}{\it initialize hydro excision mask to 'no excision everywhere' } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & Language:  & c \\ 
~ & Type:  & function \\ 
~ & Writes:  & hydrobase::hydro\_excision\_mask(everywhere) \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf CCTK\_POSTSTEP}   (conditional) 

\hspace{5mm} hydrobase\_excisionhasbeenset 

\hspace{5mm}{\it group to schedule thorns changing the mask before and thorns using the mask after } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf MoL\_CalcRHS}   (conditional) 

\hspace{5mm} hydrobase\_rhs 

\hspace{5mm}{\it groups for scheduling tasks for calculating rhs of hydro variables } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf MoL\_PostStep}   (conditional) 

\hspace{5mm} hydrobase\_poststep 

\hspace{5mm}{\it post step tasks for hydro thorns } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & After:  & admbase\_setadmvars \\ 
~ & Before:  & settmunu \\ 
~ & Type:  & group \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_PostStep}   (conditional) 

\hspace{5mm} hydrobase\_boundaries 

\hspace{5mm}{\it hydrobase-internal boundary conditions group } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf HydroBase\_Boundaries}   (conditional) 

\hspace{5mm} hydrobase\_select\_boundaries 

\hspace{5mm}{\it group to schedule the boundary condition functions } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf HydroBase\_Boundaries}   (conditional) 

\hspace{5mm} applybcs 

\hspace{5mm}{\it apply the boundary conditions of hydrobase } 


\hspace{5mm}

 \begin{tabular*}{160mm}{cll} 
~ & After:  & hydrobase\_select\_boundaries \\ 
~ & Type:  & group \\ 
\end{tabular*} 


\vspace{5mm}

\noindent {\bf HydroBase\_PostStep}   (conditional) 

\hspace{5mm} hydrobase\_con2prim 

\hspace{5mm}{\it convert from conservative to primitive variables } 


\hspace{5mm}

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


\vspace{5mm}

\noindent {\bf CCTK\_POSTPOSTINITIAL}   (conditional) 

\hspace{5mm} hydrobase\_con2prim 

\hspace{5mm}{\it convert from conservative to primitive variables (might be redundant) } 


\hspace{5mm}

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


\subsection*{Aliased Functions}

\hspace{5mm}

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

{\bf Alias Name:} ~~~~~~~ & {\bf Function Name:} \\ 
ApplyBCs & HydroBase\_ApplyBCs \\ 
HydroBase\_Con2Prim & Con2Prim \\ 
\end{tabular*} 



\vspace{5mm}\parskip = 10pt 
