From 74c6b568ba97992d5500fd1f969588cc0481a0ca Mon Sep 17 00:00:00 2001 From: knarf Date: Wed, 21 Apr 2010 13:43:36 +0000 Subject: replace CactusEinstein/ADMBase by EinsteinBase/ADMBase git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@104 b1d164ef-f17a-46e7-89d4-021c7118ef4e --- doc/documentation.tex | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/documentation.tex b/doc/documentation.tex index 4ad3974..aa85ed4 100644 --- a/doc/documentation.tex +++ b/doc/documentation.tex @@ -178,10 +178,10 @@ i36dxy, i36dxz, i36dyz To use the macros, first find the name of the macro from the table in Section~\ref{admmacros:macros} and put the include files in the correct place following the instructions above. Note that all ADMMacro -include files are in the directory \texttt{CactusEinstein/ADMMacros/src/macro/}, +include files are in the directory \texttt{EinsteinBase/ADMMacros/src/macro/}, so you include the macros with lines such as \begin{verbatim} -#include "CactusEinstein/ADMMacros/src/macro/_.h" +#include "EinsteinBase/ADMMacros/src/macro/_.h" \end{verbatim} (Recall that Cactus uses a C-style preprocessor for Fortran as well as C/\Cplusplus{} code; you use the same \texttt{\#include}s for all these @@ -240,21 +240,21 @@ calculations which use these values). \subsection{Fortran} -This example comes from thorn \texttt{CactusEinstein/Maximal} and uses +This example comes from thorn \texttt{CactusArchive/Maximal} and uses the $trK$ macro to calculate the trace of the extrinsic curvature. \newpage % we'd like the entire example to fit on a single page \begin{verbatim} c Declarations for macros. -#include "CactusEinstein/ADMMacros/src/macro/TRK_declare.h" +#include "EinsteinBase/ADMMacros/src/macro/TRK_declare.h" c we're not taking any derivatives here, but if we were, c we would also need the following line: -#include "CactusEinstein/ADMMacros/src/macro/ADM_Spacing_declare.h" +#include "EinsteinBase/ADMMacros/src/macro/ADM_Spacing_declare.h" c we're not taking any derivatives here, but if we were, c we would also need the following line: -#include "CactusEinstein/ADMMacros/src/macro/ADM_Spacing.h" +#include "EinsteinBase/ADMMacros/src/macro/ADM_Spacing.h" @@ -263,12 +263,12 @@ c Add the shift term: N = B^i D_i(trK). do k=1,nz do j=1,ny do i=1,nx -#include "CactusEinstein/ADMMacros/src/macro/TRK_guts.h" +#include "EinsteinBase/ADMMacros/src/macro/TRK_guts.h" K_temp(i,j,k) = TRK_TRK end do end do end do -#include "CactusEinstein/ADMMacros/src/macro/TRK_undefine.h" +#include "EinsteinBase/ADMMacros/src/macro/TRK_undefine.h" \end{verbatim} \subsection{C} @@ -311,8 +311,8 @@ const int dj = cctk_lsh[0]; const int dk = cctk_lsh[0]*cctk_lsh[1]; /* declare the ADMMacros variables for $g^{ij}$ and $\Gamma^k_{ij}$ */ -#include "CactusEinstein/ADMMacros/src/macro/UPPERMET_declare.h" -#include "CactusEinstein/ADMMacros/src/macro/CHR2_declare.h" +#include "EinsteinBase/ADMMacros/src/macro/UPPERMET_declare.h" +#include "EinsteinBase/ADMMacros/src/macro/CHR2_declare.h" for (k = 1 ; k < cctk_lsh[2]-1 ; ++k) { @@ -324,8 +324,8 @@ const int dk = cctk_lsh[0]*cctk_lsh[1]; /* (must be assigned inside the i,j,k loops) */ /* compute the ADMMacros $g^{ij}$ and $\Gamma^k_{ij}$ variables at the (i,j,k) grid point */ - #include "CactusEinstein/ADMMacros/src/macro/UPPERMET_guts.h" - #include "CactusEinstein/ADMMacros/src/macro/CHR2_guts.h" + #include "EinsteinBase/ADMMacros/src/macro/UPPERMET_guts.h" + #include "EinsteinBase/ADMMacros/src/macro/CHR2_guts.h" /* compute the contracted Christoffel symbols $\Gamma^k = g^{ij} \Gamma^k_{ij}$ */ Gamma_u_x = @@ -351,8 +351,8 @@ const int dk = cctk_lsh[0]*cctk_lsh[1]; } } -#include "CactusEinstein/ADMMacros/src/macro/UPPERMET_undefine.h" -#include "CactusEinstein/ADMMacros/src/macro/CHR2_undefine.h" +#include "EinsteinBase/ADMMacros/src/macro/UPPERMET_undefine.h" +#include "EinsteinBase/ADMMacros/src/macro/CHR2_undefine.h" } \end{verbatim} \endgroup -- cgit v1.2.3