diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Startup.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c index cd13d88..0c86f64 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -66,9 +66,25 @@ int RegisterCartGrid3DCoords(void) int handle; handle=CCTK_CoordRegister(1,"grid::x","x"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate x"); + } handle=CCTK_CoordRegister(2,"grid::y","y"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate y"); + } handle=CCTK_CoordRegister(3,"grid::z","z"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate z"); + } handle=CCTK_CoordRegister(0,"grid::r","r"); + if (handle<0) + { + CCTK_WARN(1,"Problem with registering coordinate r"); + } return 0; } |