MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
maiamacro.h
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7// Copyright (C) 2024 The m-AIA AUTHORS
8//
9// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
10//
11// SPDX-License-Identifier: LGPL-3.0-only
12
13// Copyright (C) 2024 The m-AIA AUTHORS
14//
15// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
16//
17// SPDX-License-Identifier: LGPL-3.0-only
18
19
20// Copyright (C) 2024 The m-AIA AUTHORS
21//
22// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
23//
24// SPDX-License-Identifier: LGPL-3.0-only
25
26
27// Copyright (C) 2024 The m-AIA AUTHORS
28//
29// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
30//
31// SPDX-License-Identifier: LGPL-3.0-only
32
33
34// Copyright (C) 2019 The m-AIA AUTHORS
35//
36// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
37//
38// SPDX-License-Identifier: LGPL-3.0-only
39
40
41#ifndef MACRO_H_
42#define MACRO_H_
43
44#include <string>
45
53
54
60#define STRINGIFY(s) #s
61#define XSTRINGIFY(s) STRINGIFY(s)
62
64#define LOC_ __FILE__ ":" XSTRINGIFY(__LINE__)
65
66
68#ifdef PVPLUGIN
69#ifndef FUN_
70#define FUN_ __PRETTY_FUNCTION__
71#endif
72#endif
73
82#define AT_ std::string(FUN_) + " (" + LOC_ + ")"
83
91#define NotUsed(a)
92
93#endif // ifndef MACRO_H_