FrontISTR
5.7.0
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
) {
17
HECMW_set_error
(
HECMWCPL_E_INVALID_ARG
,
18
"HECMW_couple_finalize(): 'boundary_id' is NULL"
);
19
return
-1;
20
}
21
22
HECMW_couple_free_init
(boundary_id);
23
HECMW_couple_free_couple_info
();
24
25
return
0;
26
}
HECMW_couple_finalize
int HECMW_couple_finalize(char *boundary_id)
Definition:
hecmw_couple_finalize.c:15
hecmw_couple_init.h
hecmw_msgno.h
HECMW_couple_free_init
void HECMW_couple_free_init(const char *boundary_id)
Definition:
hecmw_couple_init.c:224
hecmw_couple_finalize.h
hecmw_couple_info.h
HECMW_set_error
int HECMW_set_error(int errorno, const char *fmt,...)
Definition:
hecmw_error.c:37
NULL
#define NULL
Definition:
hecmw_io_nastran.c:30
HECMWCPL_E_INVALID_ARG
#define HECMWCPL_E_INVALID_ARG
Definition:
hecmw_couple_define.h:91
HECMW_couple_free_couple_info
void HECMW_couple_free_couple_info(void)
Definition:
hecmw_couple_info.c:140
hecmw_couple_define.h
hecmw1
src
couple
hecmw_couple_finalize.c
Generated by
1.8.17