From 157ef4044e7244c92ead4349464f90a74959674c Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 16 Jan 2008 15:04:27 +0000 Subject: Don't adapt the grid size automatically -- this doesn't work. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@101 eec4d7dc-71c2-46d6-addf-10296150bf52 --- src/SetGrid.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/SetGrid.c b/src/SetGrid.c index 510023c..954d301 100644 --- a/src/SetGrid.c +++ b/src/SetGrid.c @@ -32,7 +32,7 @@ CCTK_FILEVERSION(BetaThorns_Cartoon2D_SetGrid_c); ***************** Scheduled Routine Prototypes ********************* ********************************************************************/ -void Cartoon2D_SetGrid(void); +int Cartoon2D_SetGrid(void); /******************************************************************** ********************* Other Routine Prototypes ********************* @@ -76,7 +76,7 @@ void Cartoon2D_SetGrid(void); it is still possible to modify non-steerable parameters. @enddesc @@*/ -void Cartoon2D_SetGrid(void) +int Cartoon2D_SetGrid(void) { DECLARE_CCTK_PARAMETERS @@ -89,6 +89,8 @@ void Cartoon2D_SetGrid(void) const char *domain, *plane; + CCTK_WARN (0, "Erik Schnetter, 2006-05-11: This routine does not work. The schedule bin RECOVER_PARAMETERS is special; not all routines in this bin are executed."); + /* * Determine the y ghostzone size. */ @@ -262,4 +264,6 @@ void Cartoon2D_SetGrid(void) CCTK_WARN(0,"Error setting parameter"); } } + + return 0; } -- cgit v1.2.3