NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
include
NeoFOAM
core
primitives
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
6
namespace
NeoFOAM
7
{
8
9
template
<
typename
T>
10
T
one
()
11
{
12
const
T value;
13
return
value;
14
};
15
16
template
<
typename
T>
17
T
zero
()
18
{
19
const
T value;
20
return
value;
21
};
22
23
}
NeoFOAM
Definition
collection.hpp:14
NeoFOAM::one
T one()
Definition
traits.hpp:10
NeoFOAM::zero
T zero()
Definition
traits.hpp:17
Generated by
1.9.8