* Input and output arrays may be the same.
*/
template <typename T, unsigned int N>
- inline
void sum (const T (&values)[N],
const MPI_Comm &mpi_communicator,
T (&sums)[N]);
* Input and output vectors may be the same.
*/
template <typename T>
- inline
void sum (const std::vector<T> &values,
const MPI_Comm &mpi_communicator,
std::vector<T> &sums);
* Input and output vectors may be the same.
*/
template <typename T>
- inline
void sum (const Vector<T> &values,
const MPI_Comm &mpi_communicator,
Vector<T> &sums);
* @relates SymmetricTensor
*/
template <int rank, int dim, typename Number>
- inline
SymmetricTensor<rank,dim,Number>
sum (const SymmetricTensor<rank,dim,Number> &local,
const MPI_Comm &mpi_communicator);
* @relates Tensor
*/
template <int rank, int dim, typename Number>
- inline
Tensor<rank,dim,Number>
sum (const Tensor<rank,dim,Number> &local,
const MPI_Comm &mpi_communicator);
* Input and output arrays may be the same.
*/
template <typename T, unsigned int N>
- inline
void max (const T (&values)[N],
const MPI_Comm &mpi_communicator,
T (&maxima)[N]);
* Input and output vectors may be the same.
*/
template <typename T>
- inline
void max (const std::vector<T> &values,
const MPI_Comm &mpi_communicator,
std::vector<T> &maxima);
* Input and output arrays may be the same.
*/
template <typename T, unsigned int N>
- inline
void min (const T (&values)[N],
const MPI_Comm &mpi_communicator,
T (&minima)[N]);
* Input and output vectors may be the same.
*/
template <typename T>
- inline
void min (const std::vector<T> &values,
const MPI_Comm &mpi_communicator,
std::vector<T> &minima);