OGS
partition.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include <utility>
7
8
namespace
MeshLib::IO
9
{
10
struct
PartitionInfo
11
{
12
std::size_t
local_offset
;
13
std::size_t
local_length
;
14
std::size_t
longest_local_length
;
15
std::size_t
global_length
;
16
};
17
18
PartitionInfo
getPartitionInfo
(std::size_t
const
size,
19
unsigned
int
const
n_files);
20
bool
isFileManager
();
21
}
// namespace MeshLib::IO
MeshLib::IO
Definition
MeshIO.cpp:262
MeshLib::IO::getPartitionInfo
PartitionInfo getPartitionInfo(std::size_t const size, unsigned int const n_files)
Definition
mpi/partition.cpp:25
MeshLib::IO::isFileManager
bool isFileManager()
Definition
mpi/partition.cpp:18
MeshLib::IO::PartitionInfo
Definition
partition.h:11
MeshLib::IO::PartitionInfo::global_length
std::size_t global_length
Definition
partition.h:15
MeshLib::IO::PartitionInfo::local_offset
std::size_t local_offset
Definition
partition.h:12
MeshLib::IO::PartitionInfo::local_length
std::size_t local_length
Definition
partition.h:13
MeshLib::IO::PartitionInfo::longest_local_length
std::size_t longest_local_length
Definition
partition.h:14
MeshLib
IO
XDMF
partition.h
Generated by
1.14.0