Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use standard spacing between functions. #13360

Merged
merged 1 commit into from
Feb 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions include/deal.II/base/mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,7 @@ namespace Utilities
std::set<T>
compute_set_union(const std::set<T> &set, const MPI_Comm &comm);


#ifndef DOXYGEN
// declaration for an internal function that lives in mpi.templates.h
namespace internal
Expand All @@ -1290,6 +1291,8 @@ namespace Utilities
const ArrayView<T> & output);
}



// Since these depend on N they must live in the header file
template <typename T, unsigned int N>
void
Expand All @@ -1301,6 +1304,8 @@ namespace Utilities
ArrayView<T>(sums, N));
}



template <typename T, unsigned int N>
void
max(const T (&values)[N], const MPI_Comm &mpi_communicator, T (&maxima)[N])
Expand All @@ -1311,6 +1316,8 @@ namespace Utilities
ArrayView<T>(maxima, N));
}



template <typename T, unsigned int N>
void
min(const T (&values)[N], const MPI_Comm &mpi_communicator, T (&minima)[N])
Expand All @@ -1321,6 +1328,8 @@ namespace Utilities
ArrayView<T>(minima, N));
}



template <typename T, unsigned int N>
void
logical_or(const T (&values)[N],
Expand All @@ -1336,6 +1345,8 @@ namespace Utilities
ArrayView<T>(results, N));
}



template <typename T>
std::map<unsigned int, T>
some_to_some(const MPI_Comm & comm,
Expand Down Expand Up @@ -1513,6 +1524,8 @@ namespace Utilities
# endif
}



template <typename T>
std::vector<T>
gather(const MPI_Comm & comm,
Expand Down