WarpX
TextMsg.H
Go to the documentation of this file.
1 /* Copyright 2022 Luca Fedeli
2  *
3  * This file is part of WarpX.
4  *
5  * License: BSD-3-Clause-LBNL
6  */
7 
8 #ifndef WARPX_TEXT_MSG_H_
9 #define WARPX_TEXT_MSG_H_
10 
11 #include <ablastr/utils/TextMsg.H>
12 
13 #define WARPX_ALWAYS_ASSERT_WITH_MESSAGE(EX,MSG) (EX)?((void)0) : ablastr::utils::TextMsg::Assert( # EX , __FILE__, __LINE__ , MSG)
14 
15 #define WARPX_ABORT_WITH_MESSAGE(MSG) ablastr::utils::TextMsg::Abort( __FILE__, __LINE__ , MSG)
16 
17 namespace Utils::TextMsg
18 {
19  using namespace ablastr::utils::TextMsg;
20 } // namespace Utils::TextMsg
21 
22 #endif // WARPX_TEXT_MSG_H_
Definition: TextMsg.H:18
Definition: TextMsg.H:14