diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/SetGrid.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; } |