FrontISTR  5.9.0
Large-scale structural analysis program with finit element method
hecmw_dlb_mem_util.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_repart.h"
7 #include <stdlib.h>
8 void HECMW_dlb_memory_exit(char *var) {
9  fprintf(stderr,
10  "#### HEC-MW-VIS-E0001:There is no enough memory allocated for "
11  "variable %s\n",
12  var);
14  exit(EXIT_FAILURE);
15 }
16 
17 void HECMW_dlb_print_exit(char *var) {
18  fprintf(stderr, "%s\n", var);
20  exit(EXIT_FAILURE);
21 }
#define HECMW_Finalize
void HECMW_dlb_print_exit(char *var)
void HECMW_dlb_memory_exit(char *var)