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