NeoFOAM
WIP Prototype of a modern OpenFOAM core
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
v
w
z
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
v
z
Variables
Typedefs
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
i
k
m
n
p
r
s
t
v
Typedefs
b
c
e
f
k
l
s
v
Enumerations
Files
File List
File Members
All
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Concepts
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