next up previous contents
Next: Finite Differencing Up: ADMMacros Previous: Abstract   Contents

Purpose

This thorn provides various macros which can be used to calculate quantities, such as the Christoffel Symbol or Riemann Tensor components, using the basic variables of thorn ADMBase (and StaticConformal if required). The macros can be used in both Fortran and C code. The macros work pointwise to calculate quantities at the grid point $(\texttt{i},\texttt{j},\texttt{k})$; it's up to you to loop over all the grid points where you want computations done. The macros are written in such a way that within any single loop, quantities which have already been calculated are automagically reused as needed in later calculations.



Subsections