diff options
author | schnetter <schnetter@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2008-01-16 15:04:27 +0000 |
---|---|---|
committer | schnetter <schnetter@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2008-01-16 15:04:27 +0000 |
commit | 157ef4044e7244c92ead4349464f90a74959674c (patch) | |
tree | 2db7d5796ba6e22b4e479a9714cf3433a266136b | |
parent | c2cd724c82c0db1fa6f71c57998138b731d23034 (diff) |
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
-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; } |