diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-06-22 21:22:25 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-06-22 21:22:25 +0000 |
commit | e957ca01e5cba4e948c5f0603dec2d81842df9e2 (patch) | |
tree | 939e0296af538b89cd79de159d581cc2086b1b56 /src/main/CactusDefaultShutdown.c | |
parent | b519a745b94b7b3786062ab95f95667a03d25cf1 (diff) |
Use CCTK_MyProc before traversing termination routines
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1691 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CactusDefaultShutdown.c')
-rw-r--r-- | src/main/CactusDefaultShutdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/CactusDefaultShutdown.c b/src/main/CactusDefaultShutdown.c index 2569bd8e..3522d5e3 100644 --- a/src/main/CactusDefaultShutdown.c +++ b/src/main/CactusDefaultShutdown.c @@ -60,6 +60,8 @@ int CactusDefaultShutdown(tFleshConfig *config) { int myproc,conv_level; + myproc = CCTK_MyProc(config->GH[0]); + /* Execute termination for all convergence levels */ for(conv_level = 0 ; conv_level < config->nGHs; conv_level++) { @@ -72,8 +74,6 @@ int CactusDefaultShutdown(tFleshConfig *config) CCTK_Traverse(config->GH[conv_level], "CCTK_SHUTDOWN"); } - myproc = CCTK_MyProc(config->GH[0]); - #ifdef MPI if(MPI_Active) { |