Flow123d
JS_before_hm-1804-gf2ad740aa
|
#include <mpi.h>
#include "system/global_defs.h"
#include "system/exc_common.hh"
#include <stdio.h>
#include <string>
#include "system/exceptions.hh"
#include "system/fmt/posix.h"
Go to the source code of this file.
Classes | |
struct | SystemInfo |
System structure for various global variables. More... | |
Macros | |
#define | _BSD_SOURCE |
#define | strcmpi strcasecmp |
#define | DIR_DELIMITER '/' |
#define | OPERATOR_NEW_THROW_EXCEPTION |
Typedefs | |
typedef enum MessageType | MessageType |
Identifiers for various output messages. More... | |
typedef struct SystemInfo | SystemInfo |
System structure for various global variables. More... | |
Enumerations | |
enum | MessageType { Msg = 0, MsgDbg, MsgLog, MsgVerb, Warn, UsrErr, Err, PrgErr } |
Identifiers for various output messages. More... | |
Functions | |
void | chkerr (unsigned int ierr) |
Replacement of new/delete operator in the spirit of xmalloc. More... | |
void | chkerr_assert (unsigned int ierr) |
Variables | |
SystemInfo | sys_info |
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file system.hh.
typedef enum MessageType MessageType |
Identifiers for various output messages.
typedef struct SystemInfo SystemInfo |
System structure for various global variables.
enum MessageType |
|
inline |
Replacement of new/delete operator in the spirit of xmalloc.
Up to my knowledge overloading of original new/delete is the only clean. Possibly disadvantage is that all 'new' calls in system and other templates become also overloaded.
Operations on files and directories Wrapper to check return codes of C functions. In particular PETSC calls.
|
inline |
SystemInfo sys_info |