FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
hecmw_finalize.c
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright (c) 2019 FrontISTR Commons
3 * This software is released under the MIT License, see LICENSE.txt
4 *****************************************************************************/
5
6#include "hecmw_finalize.h"
7#include "hecmw_util.h"
8
9int HECMW_finalize(void) {
10 HECMW_log(HECMW_LOG_DEBUG, "Finalizing...");
11
13
14#ifndef HECMW_SERIAL
15 MPI_Finalize();
16
17 HECMW_log(HECMW_LOG_DEBUG, "MPI finalized");
18#endif
19
20 return 0;
21}
int HECMW_ctrl_finalize(void)
int HECMW_finalize(void)
Definition: hecmw_finalize.c:9
int HECMW_log(int loglv, const char *fmt,...)
Definition: hecmw_log.c:260
#define HECMW_LOG_DEBUG
Definition: hecmw_log.h:21