Loading [MathJax]/extensions/tex2jax.js
Plugins
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
limex_tools.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2014-2025: Goethe University Frankfurt
3 * SPDX-License-Identifier: LicenseRef-UG4-LGPL-3.0
4 *
5 * Author: Arne Naegel
6 *
7 *
8 * This file is part of UG4.
9 *
10 * UG4 is free software: you can redistribute it and/or modify it under the
11 * terms of the GNU Lesser General Public License version 3 (as published by the
12 * Free Software Foundation) with the following additional attribution
13 * requirements (according to LGPL/GPL v3 §7):
14 *
15 * (1) The following notice must be displayed in the Appropriate Legal Notices
16 * of covered and combined works: "Based on UG4 (www.ug4.org/license)".
17 *
18 * (2) The following notice must be displayed at a prominent place in the
19 * terminal output of covered works: "Based on UG4 (www.ug4.org/license)".
20 *
21 * (3) The following bibliography is recommended for citation and must be
22 * preserved in all covered files:
23 * "Reiter, S., Vogel, A., Heppner, I., Rupp, M., and Wittum, G. A massively
24 * parallel geometric multigrid solver on hierarchically distributed grids.
25 * Computing and visualization in science 16, 4 (2013), 151-164"
26 * "Vogel, A., Reiter, S., Rupp, M., Nägel, A., and Wittum, G. UG4 -- a novel
27 * flexible software system for simulating pde based models on high performance
28 * computers. Computing and visualization in science 16, 4 (2013), 165-179"
29 *
30 * This program is distributed in the hope that it will be useful,
31 * but WITHOUT ANY WARRANTY; without even the implied warranty of
32 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 * GNU Lesser General Public License for more details.
34 */
35
36#ifndef LIMEX_TOOLS_H__
37#define LIMEX_TOOLS_H__
38
39#define PROFILE_LIMEX
40#ifdef PROFILE_LIMEX
41 #define LIMEX_PROFILE_FUNC() PROFILE_FUNC_GROUP("limex")
42 #define LIMEX_PROFILE_BEGIN(name) PROFILE_BEGIN_GROUP(name, "limex")
43 #define LIMEX_PROFILE_END() PROFILE_END()
44#else
45 #define LIMEX_PROFILE_FUNC()
46 #define LIMEX_PROFILE_BEGIN(name)
47 #define LIMEX_PROFILE_END()
48#endif
49
50#include "common/debug_id.h"
51namespace ug{
52
53
55
56
57}
58
59
60#endif
DebugID LIB_LIMEX("LIB_LIMEX")
Definition limex_tools.h:54