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
4
#include "
MeshLib/IO/XDMF/partition.h
"
5
6
namespace
MeshLib::IO
7
{
8
bool
isFileManager
()
9
{
10
return
true
;
11
}
12
13
PartitionInfo
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
MathLib::VectorizedTensor::size
constexpr int size(int const displacement_dim)
Vectorized tensor size for given displacement dimension.
Definition
VectorizedTensor.h:19
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
partition.h
MeshLib::IO::PartitionInfo
Definition
partition.h:11
MeshLib
IO
XDMF
posix
partition.cpp
Generated by
1.14.0