OGS
partition.cpp
Go to the documentation of this file.
1
11
#include "
MeshLib/IO/XDMF/partition.h
"
12
13
namespace
MeshLib::IO
14
{
15
bool
isFileManager
()
16
{
17
return
true
;
18
}
19
20
PartitionInfo
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
MathLib::VectorizedTensor::size
constexpr int size(int const displacement_dim)
Vectorized tensor size for given displacement dimension.
Definition
VectorizedTensor.h:25
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
partition.h
Dispatches functions specific to execution platform (w/o MPI)
MeshLib
IO
XDMF
posix
partition.cpp
Generated by
1.10.0