OGS
posix/partition.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
5
6namespace MeshLib::IO
7{
8bool isFileManager()
9{
10 return true;
11}
12
13PartitionInfo getPartitionInfo(std::size_t const size, unsigned int)
14{
15 // local_offset, local_length, longest_local_length, global_number_process
16 return {0, size, size, size};
17}
18} // namespace MeshLib::IO
constexpr int size(int const displacement_dim)
Vectorized tensor size for given displacement dimension.
PartitionInfo getPartitionInfo(std::size_t const size, unsigned int const n_files)
bool isFileManager()