FrontISTR  5.7.1
Large-scale structural analysis program with finit element method
hecmw_couple_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 <stdlib.h>
7 
8 #include "hecmw_msgno.h"
9 
10 #include "hecmw_couple_define.h"
11 #include "hecmw_couple_init.h"
12 #include "hecmw_couple_info.h"
13 #include "hecmw_couple_finalize.h"
14 
15 extern int HECMW_couple_finalize(char *boundary_id) {
16  if (boundary_id == NULL) {
18  "HECMW_couple_finalize(): 'boundary_id' is NULL");
19  return -1;
20  }
21 
22  HECMW_couple_free_init(boundary_id);
24 
25  return 0;
26 }
#define HECMWCPL_E_INVALID_ARG
int HECMW_couple_finalize(char *boundary_id)
void HECMW_couple_free_couple_info(void)
void HECMW_couple_free_init(const char *boundary_id)
int HECMW_set_error(int errorno, const char *fmt,...)
Definition: hecmw_error.c:37
#define NULL