| kspaceFirstOrder3D-CUDA 1.1 The CUDA/C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ErrorMessagesLinux.h
Go to the documentation of this file.
1 /**
2 * @file ErrorMessagesLinux.h
3 * @author Jiri Jaros \n
4 * Faculty of Information Technology \n
5 * Brno University of Technology \n
6 * jarosjir@fit.vutbr.cz
7 *
8 * @brief The header file containing linux specific error messages.
9 *
10 * @version kspaceFirstOrder3D 3.4
11 *
12 * @date 13 July 2016, 11:26 (created) \n
13 * 21 July 2016, 13:08 (revised)
14 *
15 * @section License
16 * This file is part of the C++ extension of the k-Wave Toolbox
17 * (http://www.k-wave.org).\n Copyright (C) 2016 Jiri Jaros and Bradley Treeby.
18 *
19 * This file is part of the k-Wave. k-Wave is free software: you can redistribute it and/or modify
20 * it under the terms of the GNU Lesser General Public License as published by the Free Software
21 * Foundation, either version 3 of the License, or (at your option) any later version.
22 *
23 * k-Wave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
24 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
25 * General Public License for more details.
26 *
27 * You should have received a copy of the GNU Lesser General Public License along with k-Wave.
28 * If not, see http://www.gnu.org/licenses/.
29 */
30
31
32 #ifndef ERROR_MESSAGES_LINUX_H
33 #define ERROR_MESSAGES_LINUX_H
34
35
36 /**
37 * @typedef TErrorMessage
38 * @brief Datatype for error messages.
39 * @details Datatype for error messages.
40 */
41 typedef const std::string TErrorMessage;
42
43 /// Error message header
44 TErrorMessage ERR_FMT_HEAD =
45 "┌───────────────────────────────────────────────────────────────┐\n"
46 "│ !!! K-Wave experienced a fatal error !!! │\n"
47 "├───────────────────────────────────────────────────────────────┤\n";
48
49 /// Error message tailer
50 TErrorMessage ERR_FMT_TAIL =
51 "├───────────────────────────────────────────────────────────────┤\n"
52 "│ Execution terminated │\n"
53 "└───────────────────────────────────────────────────────────────┘\n";
54
55 #endif /* ERROR_MESSAGES_LINUX_H */
TErrorMessage
const std::string TErrorMessage
Datatype for error messages.
Definition: ErrorMessagesLinux.h:41
ERR_FMT_HEAD
TErrorMessage ERR_FMT_HEAD
Error message header.
Definition: ErrorMessagesLinux.h:44
ERR_FMT_TAIL
TErrorMessage ERR_FMT_TAIL
Error message tailer.
Definition: ErrorMessagesLinux.h:50