NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
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
6namespace NeoFOAM
7{
8#ifdef NEOFOAM_DP_SCALAR
9typedef double scalar;
10#else
11typedef float scalar;
12#endif
13
14constexpr scalar ROOTVSMALL = 1e-18;
15
16} // namespace NeoFOAM
float scalar
Definition scalar.hpp:11
constexpr scalar ROOTVSMALL
Definition scalar.hpp:14