aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/TextMsg.H
blob: d1432985031d3bbfb1480b794376695552c4c9d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright 2022 Luca Fedeli
 *
 * This file is part of WarpX.
 *
 * License: BSD-3-Clause-LBNL
 */

#ifndef WARPX_TEXT_MSG_H_
#define WARPX_TEXT_MSG_H_

#include <ablastr/utils/TextMsg.H>

#define WARPX_ALWAYS_ASSERT_WITH_MESSAGE(EX,MSG) (EX)?((void)0) : ablastr::utils::TextMsg::Assert( # EX , __FILE__, __LINE__ , MSG)

namespace Utils::TextMsg
{
    using namespace ablastr::utils::TextMsg;
} // namespace Utils::TextMsg

#endif // WARPX_TEXT_MSG_H_