NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
include
NeoFOAM
core
primitives
scalar.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// SPDX-FileCopyrightText: 2023 NeoFOAM authors
3
#pragma once
4
5
// TODO this needs to be implemented in the corresponding cmake file
6
namespace
NeoFOAM
7
{
8
#ifdef NEOFOAM_DP_SCALAR
9
typedef
double
scalar
;
10
#else
11
typedef
float
scalar
;
12
#endif
13
14
constexpr
scalar
ROOTVSMALL
= 1e-18;
15
16
}
// namespace NeoFOAM
NeoFOAM
Definition
collection.hpp:14
NeoFOAM::scalar
float scalar
Definition
scalar.hpp:11
NeoFOAM::ROOTVSMALL
constexpr scalar ROOTVSMALL
Definition
scalar.hpp:14
Generated by
1.9.8