MIDAPACK - MIcrowave Data Analysis PACKage  1.1b
Parallel software tools for high performance CMB DA analysis
 All Data Structures Files Functions Variables Typedefs Groups Pages
ring.h File Reference

Declaration of routines for ring-like communication scheme. More...

Go to the source code of this file.

Functions

int ring_init (int *indices, int count, int **R, int *nR, int **S, int *nS, int steps, MPI_Comm comm)
 Initialize tables for ring-like communication scheme.
int ring_reduce (int **R, int *nR, int nRmax, int **S, int *nS, int nSmax, double *val, double *res_val, int steps, MPI_Comm comm)
 Perform a sparse sum reduction (or mapped reduction) using a ring-like communication scheme.
int ring_nonblocking_reduce (int **R, int *nR, int **S, int *nS, double *val, double *res_val, int steps, MPI_Comm comm)
 Perform a sparse sum reduction (or mapped reduction) using a ring-like non-blocking communication scheme.
int ring_noniempty_reduce (int **R, int *nR, int nneR, int **S, int *nS, int nneS, double *val, double *res_val, int steps, MPI_Comm comm)

Detailed Description

Declaration of routines for ring-like communication scheme.

Note:
Copyright (C) 2010 APC CNRS Université Paris Diderot program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/gpl.html
Author:
Pierre Cargemel
Date:
April 2012

Definition in file ring.h.


Function Documentation

int ring_noniempty_reduce ( int **  R,
int *  nR,
int  nneR,
int **  S,
int *  nS,
int  nneS,
double *  val,
double *  res_val,
int  steps,
MPI_Comm  comm 
)