FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
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 <stdio.h>
7#include <stdlib.h>
8#include "separator.h"
9void separator_memory_exit(char *var) {
10 fprintf(stderr,
11 "#### HPC-MW-VIS-E0001:There is no enough memory allocated for "
12 "variable %s\n",
13 var);
14 /* MPI_Finalize(); */
15 exit(0);
16}
17
18void separator_print_exit(char *var) {
19 fprintf(stderr, "%s\n", var);
20 /* MPI_Finalize(); */
21 exit(0);
22}
void separator_print_exit(char *var)
Definition: mem_util.c:18
void separator_memory_exit(char *var)
Definition: mem_util.c:9