OGS
partition.cpp
Go to the documentation of this file.
1
12
13namespace MeshLib::IO
14{
15bool isFileManager()
16{
17 return true;
18}
19
20PartitionInfo getPartitionInfo(std::size_t const size, unsigned int)
21{
22 // local_offset, local_length, longest_local_length, global_number_process
23 return {0, size, size, size};
24}
25} // 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)
Definition partition.cpp:33
bool isFileManager()
Definition partition.cpp:26
Dispatches functions specific to execution platform (w/o MPI)