NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
label.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// SPDX-FileCopyrightText: 2023 NeoFOAM authors
3#pragma once
4
5#include <cstdint>
6
7namespace NeoFOAM
8{
9#ifdef NEOFOAM_DP_LABEL
10using label = int64_t;
11using localIdx = uint64_t;
12#else
13using label = int32_t;
14using localIdx = uint32_t;
15#endif
16using globalIdx = uint64_t;
17using size_t = std::size_t;
18using mpi_label_t = int;
19}
int mpi_label_t
Definition label.hpp:18
uint64_t globalIdx
Definition label.hpp:16
int32_t label
Definition label.hpp:13
uint32_t localIdx
Definition label.hpp:14
std::size_t size_t
Definition label.hpp:17