NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
include
NeoFOAM
core
info.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// SPDX-FileCopyrightText: 2023 NeoFOAM authors
3
4
#pragma once
5
11
#if defined(NF_DEBUG) || defined(NF_DEBUG_INFO)
12
#define NF_DEBUG_MESSAGING
13
#endif
14
20
#define NF_INFO(message) std::cout << message << std::endl
21
28
#ifdef NF_DEBUG_MESSAGING
29
#define NF_DINFO(message) \
30
std::cout << std::endl << "[NF][" << __FILE__ << "::" << __LINE__ << "]: "; \
31
NF_INFO(message)
32
#else
33
#define NF_DINFO(message) ((void)0)
34
#endif
35
40
#ifdef NF_DEBUG
41
#define NF_PING() NF_DINFO("PING")
42
#endif
Generated by
1.9.8