NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
traits.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// SPDX-FileCopyrightText: 2023 NeoFOAM authors
3
4#pragma once
5
6namespace NeoFOAM
7{
8
9template<typename T>
10T one()
11{
12 const T value;
13 return value;
14};
15
16template<typename T>
18{
19 const T value;
20 return value;
21};
22
23}
T one()
Definition traits.hpp:10
T zero()
Definition traits.hpp:17