OGS
partition.h
Go to the documentation of this file.
1
13
#pragma once
14
15
#include <utility>
16
17
namespace
MeshLib::IO
18
{
19
struct
PartitionInfo
20
{
21
std::size_t
local_offset
;
22
std::size_t
local_length
;
23
std::size_t
longest_local_length
;
24
std::size_t
global_length
;
25
};
26
27
PartitionInfo
getPartitionInfo
(std::size_t
const
size,
28
unsigned
int
const
n_files);
29
bool
isFileManager
();
30
}
// namespace MeshLib::IO
MeshLib::IO
Definition
MeshIO.cpp:273
MeshLib::IO::getPartitionInfo
PartitionInfo getPartitionInfo(std::size_t const size, unsigned int const n_files)
Definition
partition.cpp:33
MeshLib::IO::isFileManager
bool isFileManager()
Definition
partition.cpp:26
MeshLib::IO::PartitionInfo
Definition
partition.h:20
MeshLib::IO::PartitionInfo::global_length
std::size_t global_length
Definition
partition.h:24
MeshLib::IO::PartitionInfo::local_offset
std::size_t local_offset
Definition
partition.h:21
MeshLib::IO::PartitionInfo::local_length
std::size_t local_length
Definition
partition.h:22
MeshLib::IO::PartitionInfo::longest_local_length
std::size_t longest_local_length
Definition
partition.h:23
MeshLib
IO
XDMF
partition.h
Generated by
1.12.0