diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-10 12:41:43 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-10 12:41:43 +0000 |
commit | 1fc2af492cf759c9ba6f1c434cd6ffbf74247bc9 (patch) | |
tree | d3b827b60a233eb77a92645fbd5b99d3782d9e73 /src/main/CactusDefaultShutdown.c | |
parent | 192282a2d7877bc1b022980f7b7f9559566dbcff (diff) |
Traverse through all routines registered at CCTK_TERMINATE.
This is down right before traversing CCTK_SHUTDOWN.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1641 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CactusDefaultShutdown.c')
-rw-r--r-- | src/main/CactusDefaultShutdown.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/CactusDefaultShutdown.c b/src/main/CactusDefaultShutdown.c index 95f26d8a..2569bd8e 100644 --- a/src/main/CactusDefaultShutdown.c +++ b/src/main/CactusDefaultShutdown.c @@ -60,6 +60,12 @@ int CactusDefaultShutdown(tFleshConfig *config) { int myproc,conv_level; + /* Execute termination for all convergence levels */ + for(conv_level = 0 ; conv_level < config->nGHs; conv_level++) + { + CCTK_Traverse(config->GH[conv_level], "CCTK_TERMINATE"); + } + /* Execute shutdown for all convergence levels */ for(conv_level = 0 ; conv_level < config->nGHs; conv_level++) { |