OGS
getCommunicator.h
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
#pragma once
5
6
#include <mpi.h>
7
8
#include <filesystem>
9
10
namespace
MeshLib::IO
11
{
12
struct
FileCommunicator
final
13
{
14
MPI_Comm
mpi_communicator
;
15
int
color
;
16
std::filesystem::path
output_filename
;
17
};
18
FileCommunicator
getCommunicator
(
unsigned
int
n_files);
19
}
// namespace MeshLib::IO
MeshLib::IO
Definition
MeshIO.cpp:262
MeshLib::IO::getCommunicator
FileCommunicator getCommunicator(unsigned int const n_files)
Definition
getCommunicator.cpp:32
MeshLib::IO::FileCommunicator
Definition
getCommunicator.h:13
MeshLib::IO::FileCommunicator::output_filename
std::filesystem::path output_filename
Definition
getCommunicator.h:16
MeshLib::IO::FileCommunicator::color
int color
Definition
getCommunicator.h:15
MeshLib::IO::FileCommunicator::mpi_communicator
MPI_Comm mpi_communicator
Definition
getCommunicator.h:14
MeshLib
IO
XDMF
mpi
getCommunicator.h
Generated by
1.14.0