#include #include #include #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static CCTK_REAL min (CCTK_REAL const x, CCTK_REAL const y) { return x < y ? x : y; } static CCTK_REAL max (CCTK_REAL const x, CCTK_REAL const y) { return x > y ? x : y; } void SphericalSurface_Set (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_REAL const pi = 3.1415926535897932384626433832795028841971693993751; int n; int i, j; for (n=0; n