WarpX
Loading...
Searching...
No Matches
TextMsg.H File Reference

Go to the source code of this file.

Namespaces

namespace  Utils
 
namespace  Utils::TextMsg
 

Macros

#define WARPX_ALWAYS_ASSERT_WITH_MESSAGE(EX, MSG)
 
#define WARPX_ABORT_WITH_MESSAGE(MSG)
 

Macro Definition Documentation

◆ WARPX_ABORT_WITH_MESSAGE

#define WARPX_ABORT_WITH_MESSAGE ( MSG)
Value:
ablastr::utils::TextMsg::Abort( __FILE__, __LINE__ , MSG)
void Abort(const char *file, int line, const std::string &msg)
This function is a wrapper around amrex::Abort, designed to ensure the uniform formatting of the erro...
Definition TextMsg.cpp:84

◆ WARPX_ALWAYS_ASSERT_WITH_MESSAGE

#define WARPX_ALWAYS_ASSERT_WITH_MESSAGE ( EX,
MSG )
Value:
(EX)?((void)0) : ablastr::utils::TextMsg::Assert( # EX , __FILE__, __LINE__ , MSG)
void Assert(const char *ex, const char *file, int line, const std::string &msg)
This function is a wrapper around amrex::Assert, designed to ensure the uniform formatting of the err...
Definition TextMsg.cpp:77