\hypertarget{SetupGH_8cc}{
\section{/net/phurud/home/darcs/carpet-stable-2/Carpet/Carpet/src/Setup\-GH.cc File Reference}
\label{SetupGH_8cc}\index{/net/phurud/home/darcs/carpet-stable-2/Carpet/Carpet/src/SetupGH.cc@{/net/phurud/home/darcs/carpet-stable-2/Carpet/Carpet/src/SetupGH.cc}}
}
{\tt \#include $<$cassert$>$}\par
{\tt \#include $<$climits$>$}\par
{\tt \#include $<$cmath$>$}\par
{\tt \#include $<$cstdlib$>$}\par
{\tt \#include $<$cstring$>$}\par
{\tt \#include $<$iostream$>$}\par
{\tt \#include $<$sstream$>$}\par
{\tt \#include $<$stack$>$}\par
{\tt \#include $<$vector$>$}\par
{\tt \#include \char`\"{}cctk.h\char`\"{}}\par
{\tt \#include \char`\"{}cctk\_\-Parameters.h\char`\"{}}\par
{\tt \#include \char`\"{}util\_\-Error\-Codes.h\char`\"{}}\par
{\tt \#include \char`\"{}util\_\-Table.h\char`\"{}}\par
{\tt \#include \char`\"{}bbox.hh\char`\"{}}\par
{\tt \#include \char`\"{}defs.hh\char`\"{}}\par
{\tt \#include \char`\"{}dist.hh\char`\"{}}\par
{\tt \#include \char`\"{}ggf.hh\char`\"{}}\par
{\tt \#include \char`\"{}gh.hh\char`\"{}}\par
{\tt \#include \char`\"{}vect.hh\char`\"{}}\par
{\tt \#include \char`\"{}carpet.hh\char`\"{}}\par


Include dependency graph for Setup\-GH.cc:\subsection*{Namespaces}
\begin{CompactItemize}
\item 
namespace \hyperlink{namespaceCarpet}{Carpet}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
static bool \hyperlink{namespaceCarpet_a149}{Can\-Transfer\-Variable\-Type} (const c\-GH $\ast$const cgh, const int group)
\item 
static \hyperlink{operators_8hh_a5}{operator\_\-type} \hyperlink{namespaceCarpet_a150}{Get\-Transport\-Operator} (const c\-GH $\ast$const cgh, const int group)
\item 
static void \hyperlink{namespaceCarpet_a151}{initialise\_\-current\_\-position} ()
\item 
static void \hyperlink{namespaceCarpet_a152}{finalise\_\-current\_\-position} ()
\item 
static void \hyperlink{namespaceCarpet_a153}{setup\_\-multigrid\_\-info} (c\-GH $\ast$cgh, CCTK\_\-INT convergence\_\-level, CCTK\_\-INT convergence\_\-factor, CCTK\_\-INT num\_\-convergence\_\-levels)
\item 
static void \hyperlink{namespaceCarpet_a154}{setup\_\-refinement\_\-level\_\-info} (CCTK\_\-INT max\_\-refinement\_\-levels, CCTK\_\-INT refinement\_\-factor)
\item 
static void \hyperlink{namespaceCarpet_a155}{allocate\_\-map} (c\-GH $\ast$cgh, int m, CCTK\_\-INT domain\_\-from\_\-coordbase, CCTK\_\-INT convergence\_\-factor, CCTK\_\-INT refinement\_\-factor, CCTK\_\-STRING base\_\-outerbounds, CCTK\_\-STRING base\_\-extents, CCTK\_\-INT max\_\-refinement\_\-levels, CCTK\_\-INT buffer\_\-width, CCTK\_\-INT prolongation\_\-order\_\-space, \hyperlink{classvect}{ivect} \&lghosts, \hyperlink{classvect}{ivect} \&ughosts, \hyperlink{classvect}{ivect} \&npoints)
\item 
static \hyperlink{classvect}{ivect} \hyperlink{namespaceCarpet_a156}{make\_\-ghost\_\-zone\_\-vect} (CCTK\_\-INT ghost\_\-size, CCTK\_\-INT ghost\_\-size\_\-x, CCTK\_\-INT ghost\_\-size\_\-y, CCTK\_\-INT ghost\_\-size\_\-z)
\item 
static \hyperlink{classvect}{ivect} \hyperlink{namespaceCarpet_a157}{make\_\-global\_\-number\_\-of\_\-grid\_\-points} (CCTK\_\-INT global\_\-nsize, CCTK\_\-INT global\_\-nx, CCTK\_\-INT global\_\-ny, CCTK\_\-INT global\_\-nz, CCTK\_\-INT constant\_\-load\_\-per\_\-processor)
\item 
static void \hyperlink{namespaceCarpet_a158}{check\_\-time\_\-hierarchy} (const vector$<$ \hyperlink{classdh}{dh} $\ast$ $>$ \&\hyperlink{namespaceCarpet_a39}{vdd}, int m, CCTK\_\-INT max\_\-refinement\_\-levels, CCTK\_\-INT refinement\_\-factor, CCTK\_\-INT prolongation\_\-order\_\-space, const \hyperlink{classvect}{ivect} \&lghosts, const \hyperlink{classvect}{ivect} \&ughosts)
\item 
static void \hyperlink{namespaceCarpet_a159}{read\_\-explicit\_\-grid\_\-components} (CCTK\_\-STRING base\_\-extents, CCTK\_\-STRING base\_\-outerbounds, vector$<$ \hyperlink{classbbox}{ibbox} $>$ \&bbs, vector$<$ \hyperlink{classvect}{bbvect} $>$ \&obs)
\item 
static void \hyperlink{namespaceCarpet_a160}{check\_\-domain\_\-size} (const \hyperlink{namespaceCarpetInterp_a1}{rvect} \&npoints, const \hyperlink{namespaceCarpetInterp_a1}{rvect} \&real\_\-npoints, int m, CCTK\_\-INT \hyperlink{namespaceCarpet_a18}{basemglevel}, CCTK\_\-INT convergence\_\-factor)
\item 
static void \hyperlink{namespaceCarpet_a161}{Sanity\_\-check} (const \hyperlink{classvect}{ivect} \&npoints)
\item 
static void \hyperlink{namespaceCarpet_a162}{print\_\-map\_\-base\_\-grid\_\-spec} (int m, const \hyperlink{namespaceCarpetInterp_a1}{rvect} \&real\_\-npoints, \hyperlink{classvect}{ivect} \&lghosts)
\item 
static void \hyperlink{namespaceCarpet_a163}{print\_\-map\_\-coordbase\_\-boundary\_\-specs} (int m, \hyperlink{namespaceCarpet_a11}{jjvect} \&nboundaryzones, \hyperlink{namespaceCarpet_a11}{jjvect} \&is\_\-internal, \hyperlink{namespaceCarpet_a11}{jjvect} \&is\_\-staggered, \hyperlink{namespaceCarpet_a11}{jjvect} \&shiftout)
\item 
static void \hyperlink{namespaceCarpet_a164}{print\_\-map\_\-domain\_\-specs} (int m, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&physical\_\-min, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&physical\_\-max, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&interior\_\-min, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&interior\_\-max, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&exterior\_\-min, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&exterior\_\-max, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&base\_\-spacing)
\item 
static void \hyperlink{namespaceCarpet_a165}{print\_\-map\_\-adapted\_\-domain\_\-specs} (int m, CCTK\_\-INT convergence\_\-factor, CCTK\_\-INT \hyperlink{namespaceCarpet_a18}{basemglevel}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&physical\_\-min, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&physical\_\-max, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&interior\_\-min, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&interior\_\-max, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&exterior\_\-min, \hyperlink{namespaceCarpetInterp_a1}{rvect} \&exterior\_\-max, const \hyperlink{namespaceCarpetInterp_a1}{rvect} \&spacing)
\item 
static void \hyperlink{namespaceCarpet_a166}{allocate\_\-group\_\-variables} (c\-GH $\ast$cgh, int group, CCTK\_\-INT convergence\_\-factor, CCTK\_\-INT refinement\_\-factor)
\item 
static void \hyperlink{namespaceCarpet_a167}{handle\_\-group\_\-tags\_\-table} (c\-GH $\ast$cgh, int group, c\-Group \&gp, \hyperlink{namespaceCarpet_a7}{jvect} \&convpowers, \hyperlink{namespaceCarpet_a7}{jvect} \&convoffsets)
\item 
static void \hyperlink{namespaceCarpet_a168}{finish\_\-initialisation} (c\-GH $\ast$cgh)
\item 
static void \hyperlink{namespaceCarpet_a169}{print\_\-grid\_\-structure} (vector$<$ \hyperlink{classgh}{gh} $\ast$ $>$ \&\hyperlink{namespaceCarpet_a38}{vhh}, int m)
\item 
static void \hyperlink{namespaceCarpet_a170}{print\_\-some\_\-statistics} (c\-GH $\ast$cgh)
\item 
static void \hyperlink{namespaceCarpet_a171}{enable\_\-storage\_\-for\_\-all\_\-groups} (c\-GH $\ast$cgh)
\item 
static void \hyperlink{namespaceCarpet_a172}{leave\_\-all\_\-modes} (c\-GH $\ast$cgh)
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{namespaceCarpet_file_a166}{
\index{SetupGH.cc@{Setup\-GH.cc}!allocate_group_variables@{allocate\_\-group\_\-variables}}
\index{allocate_group_variables@{allocate\_\-group\_\-variables}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[allocate\_\-group\_\-variables]{\setlength{\rightskip}{0pt plus 5cm}static void Carpet::allocate\_\-group\_\-variables (c\-GH $\ast$ {\em cgh}, int {\em group}, CCTK\_\-INT {\em convergence\_\-factor}, CCTK\_\-INT {\em refinement\_\-factor})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a166}




Definition at line 822 of file Setup\-GH.cc.

References abs(), all(), any(), Carpet::arrdata, Carpet::basemglevel, Carpet::Checkpoint(), dim, floor(), Carpet::Get\-Transport\-Operator(), Carpet::groupdata, Carpet::handle\_\-group\_\-tags\_\-table(), ipow(), Carpet::maps, Carpet::mgfact, Carpet::mglevels, Carpet::Split\-Regions\_\-Along\-Dir(), Carpet::Split\-Regions\_\-Automatic(), Carpet::vdd, vertex\_\-centered, Carpet::vhh, Carpet::vtt, and xpose().

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

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a155}{
\index{SetupGH.cc@{Setup\-GH.cc}!allocate_map@{allocate\_\-map}}
\index{allocate_map@{allocate\_\-map}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[allocate\_\-map]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::allocate\_\-map (c\-GH $\ast$ {\em cgh}, int {\em m}, CCTK\_\-INT {\em domain\_\-from\_\-coordbase}, CCTK\_\-INT {\em convergence\_\-factor}, CCTK\_\-INT {\em refinement\_\-factor}, CCTK\_\-STRING {\em base\_\-outerbounds}, CCTK\_\-STRING {\em base\_\-extents}, CCTK\_\-INT {\em max\_\-refinement\_\-levels}, CCTK\_\-INT {\em buffer\_\-width}, CCTK\_\-INT {\em prolongation\_\-order\_\-space}, \hyperlink{classvect}{ivect} \& {\em lghosts}, \hyperlink{classvect}{ivect} \& {\em ughosts}, \hyperlink{classvect}{ivect} \& {\em npoints})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a155}




Definition at line 481 of file Setup\-GH.cc.

References Carpet::basemglevel, Carpet::check\_\-domain\_\-size(), Carpet::check\_\-time\_\-hierarchy(), Carpet::Check\-Regions(), dim, floor(), ipow(), Carpet::Make\-Multigrid\-Boxes(), Carpet::maxreflevelfact, Carpet::Output(), Carpet::Output\-Grid\-Structure(), Carpet::print\_\-grid\_\-structure(), Carpet::print\_\-map\_\-adapted\_\-domain\_\-specs(), Carpet::print\_\-map\_\-base\_\-grid\_\-spec(), Carpet::print\_\-map\_\-coordbase\_\-boundary\_\-specs(), Carpet::print\_\-map\_\-domain\_\-specs(), Carpet::read\_\-explicit\_\-grid\_\-components(), Carpet::Sanity\_\-check(), Carpet::Split\-Regions(), Carpet::vdd, vertex\_\-centered, Carpet::vhh, and Carpet::vtt.

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

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a149}{
\index{SetupGH.cc@{Setup\-GH.cc}!CanTransferVariableType@{CanTransferVariableType}}
\index{CanTransferVariableType@{CanTransferVariableType}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[CanTransferVariableType]{\setlength{\rightskip}{0pt plus 5cm}static bool Carpet::Can\-Transfer\-Variable\-Type (const c\-GH $\ast$const  {\em cgh}, const int {\em group})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a149}




Definition at line 34 of file Setup\-GH.cc.

Referenced by Carpet::Get\-Transport\-Operator().\hypertarget{namespaceCarpet_file_a160}{
\index{SetupGH.cc@{Setup\-GH.cc}!check_domain_size@{check\_\-domain\_\-size}}
\index{check_domain_size@{check\_\-domain\_\-size}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[check\_\-domain\_\-size]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::check\_\-domain\_\-size (const \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em npoints}, const \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em real\_\-npoints}, int {\em m}, CCTK\_\-INT {\em basemglevel}, CCTK\_\-INT {\em convergence\_\-factor})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a160}




Definition at line 732 of file Setup\-GH.cc.

References abs(), and any().

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a158}{
\index{SetupGH.cc@{Setup\-GH.cc}!check_time_hierarchy@{check\_\-time\_\-hierarchy}}
\index{check_time_hierarchy@{check\_\-time\_\-hierarchy}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[check\_\-time\_\-hierarchy]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::check\_\-time\_\-hierarchy (const vector$<$ \hyperlink{classdh}{dh} $\ast$ $>$ \& {\em vdd}, int {\em m}, CCTK\_\-INT {\em max\_\-refinement\_\-levels}, CCTK\_\-INT {\em refinement\_\-factor}, CCTK\_\-INT {\em prolongation\_\-order\_\-space}, const \hyperlink{classvect}{ivect} \& {\em lghosts}, const \hyperlink{classvect}{ivect} \& {\em ughosts})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a158}




Definition at line 752 of file Setup\-GH.cc.

References any(), and min().

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a171}{
\index{SetupGH.cc@{Setup\-GH.cc}!enable_storage_for_all_groups@{enable\_\-storage\_\-for\_\-all\_\-groups}}
\index{enable_storage_for_all_groups@{enable\_\-storage\_\-for\_\-all\_\-groups}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[enable\_\-storage\_\-for\_\-all\_\-groups]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::enable\_\-storage\_\-for\_\-all\_\-groups (c\-GH $\ast$ {\em cgh})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a171}




Definition at line 1153 of file Setup\-GH.cc.

References BEGIN\_\-MGLEVEL\_\-LOOP, BEGIN\_\-REFLEVEL\_\-LOOP, Carpet::Enable\-Group\-Storage(), END\_\-MGLEVEL\_\-LOOP, and END\_\-REFLEVEL\_\-LOOP.

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

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a152}{
\index{SetupGH.cc@{Setup\-GH.cc}!finalise_current_position@{finalise\_\-current\_\-position}}
\index{finalise_current_position@{finalise\_\-current\_\-position}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[finalise\_\-current\_\-position]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::finalise\_\-current\_\-position ()\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a152}




Definition at line 447 of file Setup\-GH.cc.

References Carpet::component, Carpet::map, Carpet::mglevel, and Carpet::reflevel.

Referenced by Carpet::Setup\-GH().\hypertarget{namespaceCarpet_file_a168}{
\index{SetupGH.cc@{Setup\-GH.cc}!finish_initialisation@{finish\_\-initialisation}}
\index{finish_initialisation@{finish\_\-initialisation}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[finish\_\-initialisation]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::finish\_\-initialisation (c\-GH $\ast$ {\em cgh})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a168}




Definition at line 454 of file Setup\-GH.cc.

References dim, and Carpet::mglevelfact.

Referenced by Carpet::Setup\-GH().\hypertarget{namespaceCarpet_file_a150}{
\index{SetupGH.cc@{Setup\-GH.cc}!GetTransportOperator@{GetTransportOperator}}
\index{GetTransportOperator@{GetTransportOperator}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[GetTransportOperator]{\setlength{\rightskip}{0pt plus 5cm}static \hyperlink{operators_8hh_a5}{operator\_\-type} Carpet::Get\-Transport\-Operator (const c\-GH $\ast$const  {\em cgh}, const int {\em group})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a150}




Definition at line 138 of file Setup\-GH.cc.

References Carpet::Can\-Transfer\-Variable\-Type(), op\_\-ENO, op\_\-error, op\_\-Lagrange, op\_\-none, and op\_\-TVD.

Referenced by Carpet::allocate\_\-group\_\-variables().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a167}{
\index{SetupGH.cc@{Setup\-GH.cc}!handle_group_tags_table@{handle\_\-group\_\-tags\_\-table}}
\index{handle_group_tags_table@{handle\_\-group\_\-tags\_\-table}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[handle\_\-group\_\-tags\_\-table]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::handle\_\-group\_\-tags\_\-table (c\-GH $\ast$ {\em cgh}, int {\em group}, c\-Group \& {\em gp}, \hyperlink{namespaceCarpet_a7}{jvect} \& {\em convpowers}, \hyperlink{namespaceCarpet_a7}{jvect} \& {\em convoffsets})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a167}




Definition at line 1067 of file Setup\-GH.cc.

References all().

Referenced by Carpet::allocate\_\-group\_\-variables().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a151}{
\index{SetupGH.cc@{Setup\-GH.cc}!initialise_current_position@{initialise\_\-current\_\-position}}
\index{initialise_current_position@{initialise\_\-current\_\-position}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[initialise\_\-current\_\-position]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::initialise\_\-current\_\-position ()\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a151}




Definition at line 440 of file Setup\-GH.cc.

References Carpet::component, Carpet::map, Carpet::mglevel, and Carpet::reflevel.

Referenced by Carpet::Setup\-GH().\hypertarget{namespaceCarpet_file_a172}{
\index{SetupGH.cc@{Setup\-GH.cc}!leave_all_modes@{leave\_\-all\_\-modes}}
\index{leave_all_modes@{leave\_\-all\_\-modes}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[leave\_\-all\_\-modes]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::leave\_\-all\_\-modes (c\-GH $\ast$ {\em cgh})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a172}




Definition at line 1165 of file Setup\-GH.cc.

References Carpet::leave\_\-global\_\-mode(), Carpet::leave\_\-level\_\-mode(), Carpet::leave\_\-local\_\-mode(), and Carpet::leave\_\-singlemap\_\-mode().

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

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a156}{
\index{SetupGH.cc@{Setup\-GH.cc}!make_ghost_zone_vect@{make\_\-ghost\_\-zone\_\-vect}}
\index{make_ghost_zone_vect@{make\_\-ghost\_\-zone\_\-vect}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[make\_\-ghost\_\-zone\_\-vect]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classvect}{ivect} Carpet::make\_\-ghost\_\-zone\_\-vect (CCTK\_\-INT {\em ghost\_\-size}, CCTK\_\-INT {\em ghost\_\-size\_\-x}, CCTK\_\-INT {\em ghost\_\-size\_\-y}, CCTK\_\-INT {\em ghost\_\-size\_\-z})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a156}




Definition at line 667 of file Setup\-GH.cc.

Referenced by Carpet::Setup\-GH().\hypertarget{namespaceCarpet_file_a157}{
\index{SetupGH.cc@{Setup\-GH.cc}!make_global_number_of_grid_points@{make\_\-global\_\-number\_\-of\_\-grid\_\-points}}
\index{make_global_number_of_grid_points@{make\_\-global\_\-number\_\-of\_\-grid\_\-points}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[make\_\-global\_\-number\_\-of\_\-grid\_\-points]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classvect}{ivect} Carpet::make\_\-global\_\-number\_\-of\_\-grid\_\-points (CCTK\_\-INT {\em global\_\-nsize}, CCTK\_\-INT {\em global\_\-nx}, CCTK\_\-INT {\em global\_\-ny}, CCTK\_\-INT {\em global\_\-nz}, CCTK\_\-INT {\em constant\_\-load\_\-per\_\-processor})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a157}




Definition at line 630 of file Setup\-GH.cc.

References minloc(), and dist::size().

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

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a169}{
\index{SetupGH.cc@{Setup\-GH.cc}!print_grid_structure@{print\_\-grid\_\-structure}}
\index{print_grid_structure@{print\_\-grid\_\-structure}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[print\_\-grid\_\-structure]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::print\_\-grid\_\-structure (vector$<$ \hyperlink{classgh}{gh} $\ast$ $>$ \& {\em vhh}, int {\em m})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a169}




Definition at line 801 of file Setup\-GH.cc.

References all(), ipow(), Carpet::maxreflevelfact, Carpet::mgfact, and Carpet::mglevels.

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a165}{
\index{SetupGH.cc@{Setup\-GH.cc}!print_map_adapted_domain_specs@{print\_\-map\_\-adapted\_\-domain\_\-specs}}
\index{print_map_adapted_domain_specs@{print\_\-map\_\-adapted\_\-domain\_\-specs}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[print\_\-map\_\-adapted\_\-domain\_\-specs]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::print\_\-map\_\-adapted\_\-domain\_\-specs (int {\em m}, CCTK\_\-INT {\em convergence\_\-factor}, CCTK\_\-INT {\em basemglevel}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em physical\_\-min}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em physical\_\-max}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em interior\_\-min}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em interior\_\-max}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em exterior\_\-min}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em exterior\_\-max}, const \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em spacing})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a165}




Definition at line 712 of file Setup\-GH.cc.

References Carpet::Output().

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a162}{
\index{SetupGH.cc@{Setup\-GH.cc}!print_map_base_grid_spec@{print\_\-map\_\-base\_\-grid\_\-spec}}
\index{print_map_base_grid_spec@{print\_\-map\_\-base\_\-grid\_\-spec}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[print\_\-map\_\-base\_\-grid\_\-spec]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::print\_\-map\_\-base\_\-grid\_\-spec (int {\em m}, const \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em real\_\-npoints}, \hyperlink{classvect}{ivect} \& {\em lghosts})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a162}




Definition at line 675 of file Setup\-GH.cc.

References Carpet::Output().

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a163}{
\index{SetupGH.cc@{Setup\-GH.cc}!print_map_coordbase_boundary_specs@{print\_\-map\_\-coordbase\_\-boundary\_\-specs}}
\index{print_map_coordbase_boundary_specs@{print\_\-map\_\-coordbase\_\-boundary\_\-specs}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[print\_\-map\_\-coordbase\_\-boundary\_\-specs]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::print\_\-map\_\-coordbase\_\-boundary\_\-specs (int {\em m}, \hyperlink{namespaceCarpet_a11}{jjvect} \& {\em nboundaryzones}, \hyperlink{namespaceCarpet_a11}{jjvect} \& {\em is\_\-internal}, \hyperlink{namespaceCarpet_a11}{jjvect} \& {\em is\_\-staggered}, \hyperlink{namespaceCarpet_a11}{jjvect} \& {\em shiftout})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a163}




Definition at line 684 of file Setup\-GH.cc.

References Carpet::Output().

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a164}{
\index{SetupGH.cc@{Setup\-GH.cc}!print_map_domain_specs@{print\_\-map\_\-domain\_\-specs}}
\index{print_map_domain_specs@{print\_\-map\_\-domain\_\-specs}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[print\_\-map\_\-domain\_\-specs]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::print\_\-map\_\-domain\_\-specs (int {\em m}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em physical\_\-min}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em physical\_\-max}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em interior\_\-min}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em interior\_\-max}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em exterior\_\-min}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em exterior\_\-max}, \hyperlink{namespaceCarpetInterp_a1}{rvect} \& {\em base\_\-spacing})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a164}




Definition at line 695 of file Setup\-GH.cc.

References Carpet::Output().

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a170}{
\index{SetupGH.cc@{Setup\-GH.cc}!print_some_statistics@{print\_\-some\_\-statistics}}
\index{print_some_statistics@{print\_\-some\_\-statistics}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[print\_\-some\_\-statistics]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::print\_\-some\_\-statistics (c\-GH $\ast$ {\em cgh})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a170}




Definition at line 1107 of file Setup\-GH.cc.

References dim.

Referenced by Carpet::Setup\-GH().\hypertarget{namespaceCarpet_file_a159}{
\index{SetupGH.cc@{Setup\-GH.cc}!read_explicit_grid_components@{read\_\-explicit\_\-grid\_\-components}}
\index{read_explicit_grid_components@{read\_\-explicit\_\-grid\_\-components}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[read\_\-explicit\_\-grid\_\-components]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::read\_\-explicit\_\-grid\_\-components (CCTK\_\-STRING {\em base\_\-extents}, CCTK\_\-STRING {\em base\_\-outerbounds}, vector$<$ \hyperlink{classbbox}{ibbox} $>$ \& {\em bbs}, vector$<$ \hyperlink{classvect}{bbvect} $>$ \& {\em obs})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a159}




Definition at line 775 of file Setup\-GH.cc.

Referenced by Carpet::allocate\_\-map().\hypertarget{namespaceCarpet_file_a161}{
\index{SetupGH.cc@{Setup\-GH.cc}!Sanity_check@{Sanity\_\-check}}
\index{Sanity_check@{Sanity\_\-check}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[Sanity\_\-check]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::Sanity\_\-check (const \hyperlink{classvect}{ivect} \& {\em npoints})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a161}




Definition at line 743 of file Setup\-GH.cc.

References all(), dim, and max().

Referenced by Carpet::allocate\_\-map().

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a153}{
\index{SetupGH.cc@{Setup\-GH.cc}!setup_multigrid_info@{setup\_\-multigrid\_\-info}}
\index{setup_multigrid_info@{setup\_\-multigrid\_\-info}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[setup\_\-multigrid\_\-info]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::setup\_\-multigrid\_\-info (c\-GH $\ast$ {\em cgh}, CCTK\_\-INT {\em convergence\_\-level}, CCTK\_\-INT {\em convergence\_\-factor}, CCTK\_\-INT {\em num\_\-convergence\_\-levels})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a153}




Definition at line 464 of file Setup\-GH.cc.

References Carpet::basemglevel, ipow(), Carpet::maxmglevelfact, Carpet::mgfact, and Carpet::mglevels.

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

Here is the call graph for this function:\hypertarget{namespaceCarpet_file_a154}{
\index{SetupGH.cc@{Setup\-GH.cc}!setup_refinement_level_info@{setup\_\-refinement\_\-level\_\-info}}
\index{setup_refinement_level_info@{setup\_\-refinement\_\-level\_\-info}!SetupGH.cc@{Setup\-GH.cc}}
\subsubsection[setup\_\-refinement\_\-level\_\-info]{\setlength{\rightskip}{0pt plus 5cm}void Carpet::setup\_\-refinement\_\-level\_\-info (CCTK\_\-INT {\em max\_\-refinement\_\-levels}, CCTK\_\-INT {\em refinement\_\-factor})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{namespaceCarpet_file_a154}




Definition at line 474 of file Setup\-GH.cc.

References ipow(), Carpet::maxreflevelfact, Carpet::maxreflevels, and Carpet::reffact.

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

Here is the call graph for this function: