GADGET-4
sums_and_minmax.cc File Reference

some simple extensions of MPI-collectives More...

#include "gadgetconfig.h"
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../data/allvars.h"
#include "../data/dtypes.h"
#include "../data/mymalloc.h"
#include "../mpi_utils/mpi_utils.h"

Go to the source code of this file.

Functions

void minimum_large_ints (int n, long long *src, long long *res, MPI_Comm comm)
 
void sumup_large_ints (int n, int *src, long long *res, MPI_Comm comm)
 
void sumup_longs (int n, long long *src, long long *res, MPI_Comm comm)
 

Detailed Description

some simple extensions of MPI-collectives

Definition in file sums_and_minmax.cc.

Function Documentation

◆ minimum_large_ints()

void minimum_large_ints ( int  n,
long long *  src,
long long *  res,
MPI_Comm  comm 
)

Definition at line 25 of file sums_and_minmax.cc.

◆ sumup_large_ints()

void sumup_large_ints ( int  n,
int *  src,
long long *  res,
MPI_Comm  comm 
)

Definition at line 33 of file sums_and_minmax.cc.

◆ sumup_longs()

void sumup_longs ( int  n,
long long *  src,
long long *  res,
MPI_Comm  comm 
)

Definition at line 44 of file sums_and_minmax.cc.