OGS
getCommunicator.h
Go to the documentation of this file.
1
15
#pragma once
16
17
#include <mpi.h>
18
19
#include <filesystem>
20
21
namespace
MeshLib::IO
22
{
23
struct
FileCommunicator
final
24
{
25
MPI_Comm
mpi_communicator
;
26
int
color
;
27
std::filesystem::path
output_filename
;
28
};
29
FileCommunicator
getCommunicator
(
unsigned
int
n_files);
30
}
// namespace MeshLib::IO
MeshLib::IO
Definition
MeshIO.cpp:273
MeshLib::IO::getCommunicator
FileCommunicator getCommunicator(unsigned int const n_files)
Definition
getCommunicator.cpp:41
MeshLib::IO::FileCommunicator
Definition
getCommunicator.h:24
MeshLib::IO::FileCommunicator::output_filename
std::filesystem::path output_filename
Definition
getCommunicator.h:27
MeshLib::IO::FileCommunicator::color
int color
Definition
getCommunicator.h:26
MeshLib::IO::FileCommunicator::mpi_communicator
MPI_Comm mpi_communicator
Definition
getCommunicator.h:25
MeshLib
IO
XDMF
mpi
getCommunicator.h
Generated by
1.12.0