GADGET-4
allreduce_sparse_double_sum.cc File Reference

implementation of a reduction operation for sparsely populated data 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 allreduce_sparse_double_sum (double *loc, double *glob, int N, MPI_Comm Communicator)
 

Detailed Description

implementation of a reduction operation for sparsely populated data

Definition in file allreduce_sparse_double_sum.cc.

Function Documentation

◆ allreduce_sparse_double_sum()

void allreduce_sparse_double_sum ( double *  loc,
double *  glob,
int  N,
MPI_Comm  Communicator 
)

Definition at line 25 of file allreduce_sparse_double_sum.cc.